コード例 #1
0
ファイル: LogTest.php プロジェクト: TensorWrenchOSS/piwik
 public function tearDown()
 {
     parent::tearDown();
     Log::unsetInstance();
     @unlink(self::getLogFileLocation());
     Error::$debugBacktraceForTests = ExceptionHandler::$debugBacktraceForTests = null;
 }
コード例 #2
0
ファイル: LogTest.php プロジェクト: CaptainSharf/SSAD_Project
 public function tearDown()
 {
     Log::unsetInstance();
     @unlink(self::getLogFileLocation());
     Log::$debugBacktraceForTests = null;
     parent::tearDown();
 }
コード例 #3
0
ファイル: FileTest.php プロジェクト: diosmosis/piwik
 public function tearDown()
 {
     if (file_exists($this->dir . self::NOT_EXISTING_FILE)) {
         unlink($this->dir . self::NOT_EXISTING_FILE);
     }
     parent::tearDown();
 }
コード例 #4
0
 public function tearDown()
 {
     $this->logVisit->uninstall();
     $this->logAction->uninstall();
     $this->logConverison->uninstall();
     parent::tearDown();
 }
コード例 #5
0
 public function tearDown()
 {
     if ($this->assetManager !== null) {
         $this->assetManager->removeMergedAssets();
     }
     parent::tearDown();
 }
コード例 #6
0
 public function tearDown()
 {
     $this->setSuperUser();
     if ($this->settings) {
         $this->settings->removeAllPluginSettings();
     }
     parent::tearDown();
 }
コード例 #7
0
ファイル: OutputTest.php プロジェクト: dorelljames/piwik
 public function tearDown()
 {
     if (is_object($this->output)) {
         $this->output->destroy();
     }
     File::reset();
     parent::tearDown();
 }
コード例 #8
0
ファイル: LogTest.php プロジェクト: bossrabbit/piwik
 public function tearDown()
 {
     parent::tearDown();
     StaticContainer::clearContainer();
     Log::unsetInstance();
     @unlink(self::getLogFileLocation());
     Log::$debugBacktraceForTests = null;
 }
コード例 #9
0
ファイル: SharedSiteIdsTest.php プロジェクト: mgou-net/piwik
 public function tearDown()
 {
     if (!SharedSiteIds::isSupported()) {
         return;
     }
     $siteIdsToCleanup = new SharedSiteIds(array());
     $siteIdsToCleanup->setSiteIdsToArchive(array());
     parent::tearDown();
 }
コード例 #10
0
 public function tearDown()
 {
     // clean up your test here if needed
     $tables = ArchiveTableCreator::getTablesArchivesInstalled();
     if (!empty($tables)) {
         Db::dropTables($tables);
     }
     parent::tearDown();
 }
コード例 #11
0
ファイル: TrackerTest.php プロジェクト: dorelljames/piwik
 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();
 }
コード例 #12
0
 public function tearDown()
 {
     $this->output->destroy();
     File::reset();
     parent::tearDown();
 }
コード例 #13
0
ファイル: MenuReportingTest.php プロジェクト: mgou-net/piwik
 public function tearDown()
 {
     MenuReporting::getInstance()->unsetInstance();
     parent::tearDown();
 }
コード例 #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();
 }
コード例 #15
0
 public function tearDown()
 {
     parent::tearDown();
     Cache::flushAll();
 }
コード例 #16
0
ファイル: ReportTest.php プロジェクト: TensorWrenchOSS/piwik
 public function tearDown()
 {
     WidgetsList::getInstance()->_reset();
     MenuReporting::getInstance()->unsetInstance();
     Translate::unloadEnglishTranslation();
     unset($_GET['idSite']);
     parent::tearDown();
 }
コード例 #17
0
 public function tearDown()
 {
     parent::tearDown();
 }
コード例 #18
0
 public function tearDown()
 {
     // clean up your test here if needed
     Cache::clearCacheGeneral();
     parent::tearDown();
 }
コード例 #19
0
ファイル: ReportTest.php プロジェクト: dorelljames/piwik
 public function tearDown()
 {
     WidgetsList::getInstance()->_reset();
     MenuReporting::getInstance()->unsetInstance();
     unset($_GET['idSite']);
     parent::tearDown();
 }
コード例 #20
0
 public function tearDown()
 {
     // clean up your test here if needed
     parent::tearDown();
 }
コード例 #21
0
 public function tearDown()
 {
     parent::tearDown();
     unset($_GET['trigger']);
 }
コード例 #22
0
ファイル: APITest.php プロジェクト: FluentDevelopment/piwik
 public function tearDown()
 {
     Access::getInstance()->hasSuperUserAccess($this->hasSuperUserAccess);
     parent::tearDown();
 }
コード例 #23
0
 public function tearDown()
 {
     $_GET = $this->get;
     $_POST = $this->post;
     parent::tearDown();
 }
コード例 #24
0
 public function tearDown()
 {
     parent::tearDown();
     $this->cleanUp();
 }
コード例 #25
0
ファイル: ModelTest.php プロジェクト: FluentDevelopment/piwik
 public function tearDown()
 {
     parent::tearDown();
     self::$fixture->performTearDown();
 }
コード例 #26
0
ファイル: SegmentTest.php プロジェクト: jniebuhr/piwik
 public function tearDown()
 {
     parent::tearDown();
     TableLogAction\Cache::$hits = 0;
 }
コード例 #27
0
 public function tearDown()
 {
     Log::info("Tearing down " . get_class($this));
     Log::unsetInstance();
     parent::tearDown();
 }
コード例 #28
0
ファイル: Visit2Test.php プロジェクト: TensorWrenchOSS/piwik
 public function tearDown()
 {
     EventDispatcher::getInstance()->clearObservers('Tracker.Request.getIdSite');
     parent::tearDown();
 }
コード例 #29
0
 public function tearDown()
 {
     $siteIdsToCleanup = new SharedSiteIds(array());
     $siteIdsToCleanup->setSiteIdsToArchive(array());
     parent::tearDown();
 }
コード例 #30
0
 public function tearDown()
 {
     Plugin\Manager::getInstance()->addLoadedPlugin('BulkTracking', $this->pluginBackup);
     parent::tearDown();
 }