Changeset 10504
- Timestamp:
- 07/29/08 22:43:33 (4 months ago)
- Files:
-
- branches/1.1/test/functional/cacheTest.php (modified) (1 diff)
- branches/1.1/test/unit/cache/sfSQLiteCacheTest.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/test/functional/cacheTest.php
r7729 r10504 405 405 406 406 // test with sfSQLiteCache class 407 sfConfig::set('sf_factory_view_cache', 'sfSQLiteCache'); 408 sfConfig::set('sf_factory_view_cache_parameters', array('database' => sfConfig::get('sf_template_cache_dir').DIRECTORY_SEPARATOR.'cache.db')); 409 $b->launch(); 407 if (extension_loaded('SQLite')) 408 { 409 sfConfig::set('sf_factory_view_cache', 'sfSQLiteCache'); 410 sfConfig::set('sf_factory_view_cache_parameters', array('database' => sfConfig::get('sf_template_cache_dir').DIRECTORY_SEPARATOR.'cache.db')); 411 $b->launch(); 412 } 413 branches/1.1/test/unit/cache/sfSQLiteCacheTest.php
r6362 r10504 14 14 $plan = 121; 15 15 $t = new lime_test($plan, new lime_output_color()); 16 17 if (!extension_loaded('SQLite')) 18 { 19 $t->skip('SQLite extension not loaded, skipping tests', $plan); 20 exit(0); 21 } 16 22 17 23 try