Esempio n. 1
0
 public function testBuildWithoutDependencies()
 {
     $this->builder->build(array('parse' => array('files_for_parse' => array($this->fixtureDirModule . 'Model/WithoutDependencies.php'), 'config_files' => array($this->fixtureDirModule . 'etc/module.xml'), 'declared_namespaces' => array('Magento')), 'write' => array('report_filename' => $this->sourceFilename)));
     $this->assertFileEquals($this->fixtureDir . 'expected/without-framework-dependencies.csv', $this->sourceFilename);
 }
 public function testBuildWithoutDependencies()
 {
     $this->builder->build(['parse' => ['files_for_parse' => [$this->fixtureDir . 'composer3.json']], 'write' => ['report_filename' => $this->sourceFilename]]);
     $this->assertFileEquals($this->fixtureDir . 'expected/without-dependencies.csv', $this->sourceFilename);
 }
Esempio n. 3
0
 public function testBuildWithoutDependencies()
 {
     $this->builder->build(array('parse' => array('files_for_parse' => array($this->fixtureDir . 'config3.xml')), 'write' => array('report_filename' => $this->sourceFilename)));
     $this->assertFileEquals($this->fixtureDir . 'expected/without-dependencies.csv', $this->sourceFilename);
 }