Ejemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     $this->setXMLDirectory(__DIR__);
     $this->setTempDirectory('/tmp');
     $this->modulesManager = new CMDLineModulesManager($this);
 }
Ejemplo n.º 2
0
 public function __construct()
 {
     parent::__construct();
     $tmp = \PWEUnitTests::utGetCleanTMP();
     $this->setDataDirectory($tmp);
     $this->setXMLDirectory($tmp);
     file_put_contents($this->getModulesManager()->getRegistryFile(), "<registry/>");
     $this->setTempDirectory($tmp);
     $this->setStructFile(__DIR__ . "/../../dummyStruct.xml");
 }