/** * {@inheritdoc} * @see PHPUnit_Framework_TestCase::tearDown() */ protected function tearDown() { $this->env = null; $this->user = null; error_reporting($this->errorLevel); parent::tearDown(); }
public static function tearDownAfterClass() { parent::tearDownAfterClass(); self::deleteTestVariables(); }
/** * {@inheritdoc} * @see Scalr\Tests.TestCase::getFixturesDirectory() */ public function getFixturesDirectory() { return parent::getFixturesDirectory() . '/Service/Aws'; }
/** * {@inheritdoc} * @see Scalr\Tests.TestCase::getFixturesDirectory() */ public function getFixturesDirectory() { return parent::getFixturesDirectory() . '/System/Config'; }
/** * {@inheritdoc} * @see \Scalr\Tests\TestCase::getFixturesDirectory() */ public function getFixturesDirectory() { return parent::getFixturesDirectory() . '/Model/Entity'; }
/** * {@inheritdoc} * @see Scalr\Tests.TestCase::getFixturesDirectory() */ public function getFixturesDirectory() { return parent::getFixturesDirectory() . '/Service/OpenStack'; }
/** * {@inheritdoc} * @see Scalr\Tests.TestCase::getFixturesDirectory() */ public function getFixturesDirectory() { return parent::getFixturesDirectory() . '/Util'; }
/** * {@inheritdoc} * @see Scalr\Tests.TestCase::tearDown() */ protected function tearDown() { parent::tearDown(); }
/** * Tears down the fixture - unset Azure instance. * * This method is called after a test is executed. */ protected function tearDown() { unset($this->azure, $this->testEnv); parent::tearDown(); }
/** * {@inheritdoc} * @see Scalr\Tests.WebTestCase::setUp() */ protected function setUp() { parent::setUp(); if (static::isSkippedFunctionalTest()) { $this->markTestSkipped(); } if (!\Scalr::getContainer()->config('scalr.system.api.enabled')) { $this->markTestSkipped('API is not enabled. See scalr.system.api.enabled'); } }
/** * {@inheritdoc} * @see \Scalr\Tests\TestCase::getFixturesDirectory() */ public function getFixturesDirectory() { return parent::getFixturesDirectory() . '/DataType/Iterator'; }