/** * tearDown method * * @return void */ public function tearDown() { parent::tearDown(); Configure::write('log', true); DebugTimer::clear(); TestFireCake::reset(); }
/** * endTest * * @return void */ public function tearDown() { $_SERVER = $this->_server; $_GET = $this->_get; parent::tearDown(); App::build(array('plugins' => $this->_paths['plugins'], 'views' => $this->_paths['views'], 'controllers' => $this->_paths['controllers'], 'vendors' => $this->_paths['vendors']), true); Configure::write('Cache.disable', true); unset($this->Controller); ClassRegistry::flush(); if (class_exists('DebugMemory')) { DebugMemory::clear(); } if (class_exists('DebugTimer')) { DebugTimer::clear(); } Router::reload(); }
/** * Clear all existing timers * * @return bool true * @deprecated use DebugTimer::clear() */ public static function clearTimers() { return DebugTimer::clear(); }
/** * tearDown method * * @return void */ public function tearDown() { DebugTimer::clear(); }