Skip to content

Commit

Permalink
Update logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
Corniel committed Aug 1, 2024
1 parent 03dd407 commit a53fbfc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Buildalyzer.sln
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{
.github\workflows\test-report.yml = .github\workflows\test-report.yml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "projects", "projects", "{A7A6E392-4132-4773-97DC-1815D773CFA5}"
ProjectSection(SolutionItems) = preProject
tests\projects\ProjectFileAsAdditionalFile\ProjectFileAsAdditionalFile.csproj = tests\projects\ProjectFileAsAdditionalFile\ProjectFileAsAdditionalFile.csproj
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -79,6 +84,7 @@ Global
{A46CB47B-1561-41F2-AF52-F0E1DC2C886A} = {A52BD74E-3894-4A6E-8B9A-143A004F07F3}
{4FD47340-8E8E-4338-BB20-E4AF8E29E78D} = {5C0EF6BC-7A9B-4B29-9BFB-4098842FEBB6}
{7A15ECCE-3AB1-4F0A-A1A0-942E7982C2E2} = {4FD47340-8E8E-4338-BB20-E4AF8E29E78D}
{A7A6E392-4132-4773-97DC-1815D773CFA5} = {2D6F1622-8D17-4D49-A9D1-E4AEAFE99370}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {1716863C-E9E2-4074-B557-E38CEB3B5C84}
Expand Down
4 changes: 3 additions & 1 deletion tests/Buildalyzer.Tests/Integration/SimpleProjectsFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -716,8 +716,10 @@ public void GetsProjectFileAsAdditionalFile()
using var log = new StringWriter();
IProjectAnalyzer analyzer = GetProjectAnalyzer(@"ProjectFileAsAdditionalFile\ProjectFileAsAdditionalFile.csproj", log);

var builds = analyzer.Build();

// When + then
analyzer.Build().First().AdditionalFiles
builds.First().AdditionalFiles
.Select(Path.GetFileName)
.Should().BeEquivalentTo("ProjectFileAsAdditionalFile.csproj");
}
Expand Down

0 comments on commit a53fbfc

Please sign in to comment.