예제 #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();
 }
예제 #2
0
 protected function tearDown()
 {
     // Verzeichnisse wieder loeschen
     if (is_dir($this->screenOutput)) {
         $this->removeDir($this->screenOutput);
     }
     // Parent aufrufen
     parent::tearDown();
 }
예제 #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());
 }
예제 #4
0
파일: BaseTest.php 프로젝트: rukzuk/rukzuk
 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);
 }
예제 #5
0
 protected function tearDown()
 {
     // Reset Test Data
     ExternalrukzukserviceMock::clearTestData();
     // Verzeichnisse wieder loeschen
     if (is_dir($this->screenOutput)) {
         $this->removeDir($this->screenOutput);
     }
     // Parent aufrufen
     parent::tearDown();
 }
예제 #6
0
 protected function tearDown()
 {
     $this->getDbHelper()->tearDown();
     MockManager::tearDown();
     parent::tearDown();
 }
예제 #7
0
 protected function tearDown()
 {
     parent::tearDown();
 }
예제 #8
0
 protected function setUp()
 {
     parent::setUp();
     Reparser_Test_Mock::phpunit_resetPageUnitIds();
 }