From 1c6f1f79d011579a158e87459040075331b636b7 Mon Sep 17 00:00:00 2001 From: wei <> Date: Mon, 12 Jun 2006 03:10:47 +0000 Subject: Minor updates. --- tests/unit/SQLMap/CacheTest.php | 2 +- tests/unit/SQLMap/TAdodbConnectionTestCase.php | 7 ++++--- tests/unit/SQLMap/resources/sqlmap.xml | 2 +- tests/unit/SQLMap/resources/test.db | Bin 5120 -> 5120 bytes tests/unit/SQLMap/sqlite.xml | 2 +- tests/unit/SQLMap/sqlite/tests.db | Bin 32768 -> 32768 bytes 6 files changed, 7 insertions(+), 6 deletions(-) (limited to 'tests/unit/SQLMap') diff --git a/tests/unit/SQLMap/CacheTest.php b/tests/unit/SQLMap/CacheTest.php index 11c250a8..4fd69916 100644 --- a/tests/unit/SQLMap/CacheTest.php +++ b/tests/unit/SQLMap/CacheTest.php @@ -96,7 +96,7 @@ class CacheTest extends BaseTest protected function getCacheModel() { $cache = new TSqlMapCacheModel(); - $cache->setFlushInterval(5*60); + // $cache->setFlushInterval(5*60); $cache->setImplementation('LRU'); $cache->initialize($this->sqlmap); return $cache; diff --git a/tests/unit/SQLMap/TAdodbConnectionTestCase.php b/tests/unit/SQLMap/TAdodbConnectionTestCase.php index c0d99867..1ba0ec04 100644 --- a/tests/unit/SQLMap/TAdodbConnectionTestCase.php +++ b/tests/unit/SQLMap/TAdodbConnectionTestCase.php @@ -1,11 +1,13 @@ db_file = dirname(__FILE__).'/resources/test.db'; copy($file,$this->db_file); $provider = new TAdodb(); - $provider->importAdodbLibrary(); } function getDsn() diff --git a/tests/unit/SQLMap/resources/sqlmap.xml b/tests/unit/SQLMap/resources/sqlmap.xml index b15e9862..3d20321d 100644 --- a/tests/unit/SQLMap/resources/sqlmap.xml +++ b/tests/unit/SQLMap/resources/sqlmap.xml @@ -1,7 +1,7 @@ - + diff --git a/tests/unit/SQLMap/resources/test.db b/tests/unit/SQLMap/resources/test.db index f939682e..b8c158cc 100644 Binary files a/tests/unit/SQLMap/resources/test.db and b/tests/unit/SQLMap/resources/test.db differ diff --git a/tests/unit/SQLMap/sqlite.xml b/tests/unit/SQLMap/sqlite.xml index 62ab2aa3..27febdcb 100644 --- a/tests/unit/SQLMap/sqlite.xml +++ b/tests/unit/SQLMap/sqlite.xml @@ -9,7 +9,7 @@ - + diff --git a/tests/unit/SQLMap/sqlite/tests.db b/tests/unit/SQLMap/sqlite/tests.db index 380ef8fa..fa66b2cc 100644 Binary files a/tests/unit/SQLMap/sqlite/tests.db and b/tests/unit/SQLMap/sqlite/tests.db differ -- cgit v1.2.3