Symfony\Bundle\SecurityBundle\Tests\Functional\WebTestCase::setUp PHP Method

setUp() protected method

protected setUp ( )
    protected function setUp()
    {
        if (!class_exists('Twig_Environment')) {
            $this->markTestSkipped('Twig is not available.');
        }

        parent::setUp();
    }

Usage Example

コード例 #1
0
ファイル: SetAclCommandTest.php プロジェクト: aoll/Framework
 protected function setUp()
 {
     if (!class_exists('PDO') || !in_array('sqlite', \PDO::getAvailableDrivers())) {
         self::markTestSkipped('This test requires SQLite support in your environment');
     }
     parent::setUp();
     $this->deleteTmpDir('Acl');
 }
All Usage Examples Of Symfony\Bundle\SecurityBundle\Tests\Functional\WebTestCase::setUp