Exemplo n.º 1
0
 public function tearDown()
 {
     parent::tearDown();
     Log::unsetInstance();
     @unlink(self::getLogFileLocation());
     Error::$debugBacktraceForTests = ExceptionHandler::$debugBacktraceForTests = null;
 }
Exemplo n.º 2
0
 public function tearDown()
 {
     Log::unsetInstance();
     @unlink(self::getLogFileLocation());
     Log::$debugBacktraceForTests = null;
     parent::tearDown();
 }
Exemplo n.º 3
0
 public function tearDown()
 {
     if (file_exists($this->dir . self::NOT_EXISTING_FILE)) {
         unlink($this->dir . self::NOT_EXISTING_FILE);
     }
     parent::tearDown();
 }
 public function tearDown()
 {
     $this->logVisit->uninstall();
     $this->logAction->uninstall();
     $this->logConverison->uninstall();
     parent::tearDown();
 }
Exemplo n.º 5
0
 public function tearDown()
 {
     if ($this->assetManager !== null) {
         $this->assetManager->removeMergedAssets();
     }
     parent::tearDown();
 }
Exemplo n.º 6
0
 public function tearDown()
 {
     $this->setSuperUser();
     if ($this->settings) {
         $this->settings->removeAllPluginSettings();
     }
     parent::tearDown();
 }
Exemplo n.º 7
0
 public function tearDown()
 {
     if (is_object($this->output)) {
         $this->output->destroy();
     }
     File::reset();
     parent::tearDown();
 }
Exemplo n.º 8
0
 public function tearDown()
 {
     parent::tearDown();
     StaticContainer::clearContainer();
     Log::unsetInstance();
     @unlink(self::getLogFileLocation());
     Log::$debugBacktraceForTests = null;
 }
Exemplo n.º 9
0
 public function tearDown()
 {
     if (!SharedSiteIds::isSupported()) {
         return;
     }
     $siteIdsToCleanup = new SharedSiteIds(array());
     $siteIdsToCleanup->setSiteIdsToArchive(array());
     parent::tearDown();
 }
Exemplo n.º 10
0
 public function tearDown()
 {
     // clean up your test here if needed
     $tables = ArchiveTableCreator::getTablesArchivesInstalled();
     if (!empty($tables)) {
         Db::dropTables($tables);
     }
     parent::tearDown();
 }
Exemplo n.º 11
0
 public function tearDown()
 {
     $this->restoreConfigFile();
     if ($this->tracker) {
         $this->tracker->disconnectDatabase();
     }
     if (array_key_exists('PIWIK_TRACKER_DEBUG', $GLOBALS)) {
         unset($GLOBALS['PIWIK_TRACKER_DEBUG']);
     }
     parent::tearDown();
 }
Exemplo n.º 12
0
 public function tearDown()
 {
     $this->output->destroy();
     File::reset();
     parent::tearDown();
 }
Exemplo n.º 13
0
 public function tearDown()
 {
     MenuReporting::getInstance()->unsetInstance();
     parent::tearDown();
 }
Exemplo n.º 14
0
 public function tearDown()
 {
     parent::tearDown();
     $tempTableName = Common::prefixTable(RawLogDao::DELETE_UNUSED_ACTIONS_TEMP_TABLE_NAME);
     Db::query("DROP TABLE IF EXISTS " . $tempTableName);
     parent::tearDown();
 }
 public function tearDown()
 {
     parent::tearDown();
     Cache::flushAll();
 }
Exemplo n.º 16
0
 public function tearDown()
 {
     WidgetsList::getInstance()->_reset();
     MenuReporting::getInstance()->unsetInstance();
     Translate::unloadEnglishTranslation();
     unset($_GET['idSite']);
     parent::tearDown();
 }
 public function tearDown()
 {
     parent::tearDown();
 }
Exemplo n.º 18
0
 public function tearDown()
 {
     // clean up your test here if needed
     Cache::clearCacheGeneral();
     parent::tearDown();
 }
Exemplo n.º 19
0
 public function tearDown()
 {
     WidgetsList::getInstance()->_reset();
     MenuReporting::getInstance()->unsetInstance();
     unset($_GET['idSite']);
     parent::tearDown();
 }
Exemplo n.º 20
0
 public function tearDown()
 {
     // clean up your test here if needed
     parent::tearDown();
 }
Exemplo n.º 21
0
 public function tearDown()
 {
     parent::tearDown();
     unset($_GET['trigger']);
 }
Exemplo n.º 22
0
 public function tearDown()
 {
     Access::getInstance()->hasSuperUserAccess($this->hasSuperUserAccess);
     parent::tearDown();
 }
Exemplo n.º 23
0
 public function tearDown()
 {
     $_GET = $this->get;
     $_POST = $this->post;
     parent::tearDown();
 }
Exemplo n.º 24
0
 public function tearDown()
 {
     parent::tearDown();
     $this->cleanUp();
 }
Exemplo n.º 25
0
 public function tearDown()
 {
     parent::tearDown();
     self::$fixture->performTearDown();
 }
Exemplo n.º 26
0
 public function tearDown()
 {
     parent::tearDown();
     TableLogAction\Cache::$hits = 0;
 }
Exemplo n.º 27
0
 public function tearDown()
 {
     Log::info("Tearing down " . get_class($this));
     Log::unsetInstance();
     parent::tearDown();
 }
Exemplo n.º 28
0
 public function tearDown()
 {
     EventDispatcher::getInstance()->clearObservers('Tracker.Request.getIdSite');
     parent::tearDown();
 }
Exemplo n.º 29
0
 public function tearDown()
 {
     $siteIdsToCleanup = new SharedSiteIds(array());
     $siteIdsToCleanup->setSiteIdsToArchive(array());
     parent::tearDown();
 }
 public function tearDown()
 {
     Plugin\Manager::getInstance()->addLoadedPlugin('BulkTracking', $this->pluginBackup);
     parent::tearDown();
 }