public void ExtractDependenciesFromProject() { var analyser = new SolutionFileAnalyser(); Assertion.AssertEquals(1, analyser.ExtractDependenciesFromProject(SingleDependencyProjectFileContent).Length); Assertion.AssertEquals("SolutionDependencyAnalyser", analyser.ExtractDependenciesFromProject(SingleDependencyProjectFileContent)[0]); Assertion.AssertEquals(2, analyser.ExtractDependenciesFromProject(DoubleDependencyProjectFileContent).Length); }
public void ExtractDependenciesFromProject() { var analyser = new SolutionFileAnalyser(); Assertion.AssertEquals(1, analyser.ExtractDependenciesFromProject(SingleDependencyProjectFileContent).Length); Assertion.AssertEquals("SolutionDependencyAnalyser", analyser.ExtractDependenciesFromProject(SingleDependencyProjectFileContent)[0]); Assertion.AssertEquals(2, analyser.ExtractDependenciesFromProject(DoubleDependencyProjectFileContent).Length); }
public void ExtractProjectInfoFromSolution() { var analyser = new SolutionFileAnalyser(); Assertion.AssertEquals(1, analyser.ExtractProjectInfoFromSolution(SingleProjectSolutionContent).Length); Assertion.AssertEquals("SolutionDependencyPlotter.csproj", analyser.ExtractProjectInfoFromSolution(SingleProjectSolutionContent)[0].RelativePath); Assertion.AssertEquals("SolutionDependencyPlotter", analyser.ExtractProjectInfoFromSolution(SingleProjectSolutionContent)[0].Name); Assertion.AssertEquals(2, analyser.ExtractProjectInfoFromSolution(DoubleProjectSolutionContent).Length); }
public void ExtractProjectInfoFromSolution() { var analyser = new SolutionFileAnalyser(); Assertion.AssertEquals(1, analyser.ExtractProjectInfoFromSolution(SingleProjectSolutionContent).Length); Assertion.AssertEquals("SolutionDependencyPlotter.csproj", analyser.ExtractProjectInfoFromSolution(SingleProjectSolutionContent)[0].RelativePath); Assertion.AssertEquals("SolutionDependencyPlotter", analyser.ExtractProjectInfoFromSolution(SingleProjectSolutionContent)[0].Name); Assertion.AssertEquals(2, analyser.ExtractProjectInfoFromSolution(DoubleProjectSolutionContent).Length); }