コード例 #1
0
ファイル: VCSTest.php プロジェクト: lebris/karma
 protected function setUp()
 {
     parent::setUp();
     $this->app['vcs'] = new \Karma\VCS\InMemory('~tracked~', '~ignored~');
     $this->app['sources.fileSystem.adapter'] = new InMemory(array('config/app.yml-dist' => ''));
 }
コード例 #2
0
ファイル: HydrateTest.php プロジェクト: niktux/karma
 protected function setUp()
 {
     parent::setUp();
     $this->app['sources.fileSystem.adapter'] = new InMemory(array('src/file-dist' => '<%app.foo%>'));
     $this->app['target.fileSystem.adapter'] = new InMemory();
 }
コード例 #3
0
ファイル: RollbackCommandTest.php プロジェクト: niktux/karma
 protected function setUp()
 {
     parent::setUp();
     $this->app['sources.fileSystem.adapter'] = new InMemory(array('src/file' => ''));
 }
コード例 #4
0
ファイル: GenerateTest.php プロジェクト: lebris/karma
 protected function setUp()
 {
     parent::setUp();
     $this->app['sources.fileSystem.adapter'] = new InMemory(array('src/file' => ''));
     $this->app['profile.fileSystem.adapter'] = new InMemory(array(Application::PROFILE_FILENAME => "generator:\n  translator: none"));
 }