示例#1
0
 protected function before()
 {
     parent::before();
     $this->web->factory->setSingleton($this->action->registry);
     $this->web->factory->setSingleton(new Menu($this->action->registry));
 }
示例#2
0
 function emptyTestSuite()
 {
     $this->suite = new FindFailureSource_Empty(new TestFilter());
     $this->suite->run($this->listener);
     $this->assertLocationIsAtLineOfSuite(0);
 }
示例#3
0
 function __construct(TestFilter $filter = null)
 {
     parent::__construct($filter ?: new TestFilter());
     self::$constructed++;
 }