Ejemplo n.º 1
0
 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-circular-dependencies.csv', $this->sourceFilename);
 }
Ejemplo n.º 2
0
 public function testBuildWithoutDependencies()
 {
     $this->builder->build(['parse' => ['files_for_parse' => [$this->fixtureDirModule . 'Model/WithoutDependencies.php'], 'config_files' => [$this->fixtureDirModule . 'etc/module.xml'], 'declared_namespaces' => ['Magento']], 'write' => ['report_filename' => $this->sourceFilename]]);
     $this->assertFileEquals($this->fixtureDir . 'expected/without-framework-dependencies.csv', $this->sourceFilename);
 }