Example #1
0
 public function setUp()
 {
     parent::setUp();
     if (!class_exists('Doctrine\\Common\\Cache\\ChainCache')) {
         $this->markTestSkipped('The ' . __CLASS__ . ' requires the use of ChainCache available in doctrine/cache since 1.4');
     }
 }
 /**
  * {@inheritDoc}
  */
 protected function setUp()
 {
     parent::setUp();
     if (!extension_loaded('memcached')) {
         $this->markTestSkipped('The ' . __CLASS__ . ' requires the use of memcached');
     }
     if (@fsockopen('localhost', 11211) === false) {
         $this->markTestSkipped('The ' . __CLASS__ . ' cannot connect to memcached');
     }
 }
 /**
  * {@inheritDoc}
  */
 protected function setUp()
 {
     parent::setUp();
     if (!extension_loaded('sqlite3')) {
         $this->markTestSkipped('The ' . __CLASS__ . ' requires the use of sqlite3');
     }
     if (!class_exists('Doctrine\\Common\\Cache\\SQLite3Cache')) {
         $this->markTestSkipped('The ' . __CLASS__ . ' requires the use of SQLite3Cache available in doctrine/cache since 1.4');
     }
 }
Example #4
0
 /**
  * {@inheritDoc}
  */
 protected function setUp()
 {
     parent::setUp();
     if (!extension_loaded('mongo')) {
         $this->markTestSkipped('The ' . __CLASS__ . ' requires the use of mongo >= 1.3.0');
     }
     if (@fsockopen('localhost', 27017) === false) {
         $this->markTestSkipped('The ' . __CLASS__ . ' cannot connect to mongo');
     }
 }