예제 #1
0
파일: MemcacheTest.php 프로젝트: seytar/psx
 protected function setUp()
 {
     parent::setUp();
     if (!function_exists('memcache_connect')) {
         $this->markTestSkipped('Memcache extension is not available');
     }
 }
예제 #2
0
파일: SqlTest.php 프로젝트: seytar/psx
 protected function setUp()
 {
     parent::setUp();
     if (!Environment::hasConnection()) {
         $this->markTestSkipped('Database connection not available');
     }
     $this->connection = Environment::getService('connection');
 }