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);
 }
Esempio n. 2
0
        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);
 }
Esempio n. 4
0
        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);
        }