Esempio n. 1
0
 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();
 }
Esempio n. 3
0
 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());
 }
Esempio n. 4
0
 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();
 }
Esempio n. 6
0
 protected function tearDown()
 {
     $this->getDbHelper()->tearDown();
     MockManager::tearDown();
     parent::tearDown();
 }
Esempio n. 7
0
 protected function tearDown()
 {
     parent::tearDown();
 }
Esempio n. 8
0
 protected function setUp()
 {
     parent::setUp();
     Reparser_Test_Mock::phpunit_resetPageUnitIds();
 }