protected function tearDown() { if (\Seitenbau\Registry::getConfig()->screens->activ != false && \Seitenbau\Registry::getConfig()->screens->activ != "no") { $screenshotWebsiteDir = \Seitenbau\Registry::getConfig()->screens->directory . DIRECTORY_SEPARATOR . $this->websiteId . DIRECTORY_SEPARATOR; $this->removeDir($screenshotWebsiteDir); } parent::tearDown(); }
protected function tearDown() { // Verzeichnisse wieder loeschen if (is_dir($this->screenOutput)) { $this->removeDir($this->screenOutput); } // Parent aufrufen parent::tearDown(); }
protected function setUp() { // Parent aufrufen parent::setUp(); $this->config = ConfigHelper::getWritableConfig(Registry::getConfig()->screens); $this->config->activ = 'yes'; $this->config->type = 'Phpimagegrabwindow'; $this->screenshotTypeHandler = new Screenshot\Type\Phpimagegrabwindow($this->config->toArray()); }
protected function setUp() { // Parent aufrufen parent::setUp(); $this->screenConfig = ConfigHelper::getWritableConfig(Registry::getConfig()->screens); $this->screenConfig->activ = 'yes'; // positiv Test mit gueltiger Konfiguration $validBase = new Screenshot\Base($this->screenConfig->toArray()); $this->assertInstanceOf('Seitenbau\\Screenshot\\Base', $validBase); }
protected function tearDown() { // Reset Test Data ExternalrukzukserviceMock::clearTestData(); // Verzeichnisse wieder loeschen if (is_dir($this->screenOutput)) { $this->removeDir($this->screenOutput); } // Parent aufrufen parent::tearDown(); }
protected function tearDown() { $this->getDbHelper()->tearDown(); MockManager::tearDown(); parent::tearDown(); }
protected function tearDown() { parent::tearDown(); }
protected function setUp() { parent::setUp(); Reparser_Test_Mock::phpunit_resetPageUnitIds(); }