Example #1
0
 public function testSanityCommandTest()
 {
     $projectFolder = ProjectUtil::createNewProject("CommandTest", true);
     $app = new Application($projectFolder, 'CommandTest');
     $app->add(new TestCommand());
     $result = ProjectUtil::runCommand($projectFolder, 'test:testcommand', [], $app);
 }
 public function __construct($script_dir)
 {
     parent::__construct($script_dir, 'BlendEngine Setup Utility', '2.0');
     $this->add(new InitCommand());
 }
 private function createApplication()
 {
     $app = new Application(self::$projectFolder, 'DALTest');
     $app->add(new DataModelCommand());
     return $app;
 }