Ejemplo n.º 1
0
 /**
  * Initializes some properties of an instance.
  *
  * @param Stagehand_TestRunner_Config $config
  */
 public function __construct(Stagehand_TestRunner_Config $config)
 {
     $this->config = $config;
     $this->allowDeny = Stagehand_AccessControl::allowDeny();
     if (!is_null($this->include)) {
         $this->allowDeny->allow($this->include);
     }
     if (!is_null($this->exclude)) {
         $this->allowDeny->deny($this->exclude);
     }
     $this->suite = $this->createTestSuite('The test suite generated by Stagehand_TestRunner');
 }
 public function setUp()
 {
     $this->control = Stagehand_AccessControl::allowDeny();
 }