Ejemplo n.º 1
0
 public function __construct(Base $testCase, $entityName, $debug = FALSE)
 {
     $this->testCase = $testCase;
     $this->hostConfig = $testCase->getHostConfig();
     $this->entityMeta = $this->getEntityMeta($entityName);
     $this->setDebug($debug);
     $this->getLogger()->setPrefix('[acceptance]');
 }
Ejemplo n.º 2
0
 public function __construct(\Psc\Code\Test\Base $testCase, $name, Dir $root, array $paths = NULL, $mode = Project::MODE_SRC)
 {
     $this->name = $name;
     $this->root = $root;
     $this->hostConfig = $testCase->getHostConfig();
     $this->projectsFactory = new ProjectsFactory($this->hostConfig);
     $this->paths = $paths;
     $this->mode = $mode;
     parent::__construct($testCase, $fqn = 'Psc\\CMS\\Project');
 }