clear() 공개 정적인 메소드

Clear all existing timers
public static clear ( ) : boolean
리턴 boolean true
예제 #1
0
 /**
  * End a test
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     unset($this->Article);
     TableRegistry::clear();
     DebugTimer::clear();
 }
예제 #2
0
 /**
  * setup
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $mock = $this->getMock('Cake\\Cache\\CacheEngine');
     $this->mock = $mock;
     $this->engine = new DebugEngine($mock);
     $this->engine->init();
     DebugTimer::clear();
 }
예제 #3
0
 /**
  * tearDown method
  *
  * @return void
  */
 public function tearDown()
 {
     DebugTimer::clear();
 }