Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean-up code by introducing String compare helpers #288

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Clean-up code by introducing String compare helpers.

733c28f
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Clean-up code by introducing String compare helpers #288

Clean-up code by introducing String compare helpers.
733c28f
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results (windows-latest) succeeded Sep 8, 2024 in 0s

352 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
tests/Buildalyzer.Tests/TestResults/test-results.trx 338✅ 1091s
tests/Buildalyzer.Workspaces.Tests/TestResults/test-results.trx 14✅ 85s

✅ tests/Buildalyzer.Tests/TestResults/test-results.trx

338 tests were completed in 1091s with 338 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Buildalyzer.Tests.Compiler.CompilerCommandFixture 3✅ 535ms
Buildalyzer.Tests.Construction.PackageReferenceFixture 3✅ 3ms
Buildalyzer.Tests.Environment.DotNetInfoFixture 3✅ 8ms
Buildalyzer.Tests.Environment.EnvironmentFactoryFixture 61✅ 35ms
Buildalyzer.Tests.Environment.MsBuildPropertiesFixture 1✅ 3ms
Buildalyzer.Tests.Integration.SimpleProjectsFixture 260✅ 1090s
Buildalyzer.Tests.IO.IOPathFixture 3✅ 1ms
Project_GUID_specs.Creates 4✅ 1ms

✅ Buildalyzer.Tests.Compiler.CompilerCommandFixture

✅ Parse_CS
✅ Parse_FSharp
✅ Parse_VB

✅ Buildalyzer.Tests.Construction.PackageReferenceFixture

✅ PackageReferenceWithIncludeShouldContainName
✅ PackageReferenceWithUpgradeShouldContainName
✅ PackageReferenceWithVersionShouldContainVersion

✅ Buildalyzer.Tests.Environment.DotNetInfoFixture

✅ Parses_Linux
✅ Parses_Windows_NET_Core
✅ Parses_Windows_NET8

✅ Buildalyzer.Tests.Environment.EnvironmentFactoryFixture

✅ IsFrameworkTargetFrameworkForTfm("net11",True)
✅ IsFrameworkTargetFrameworkForTfm("net20",True)
✅ IsFrameworkTargetFrameworkForTfm("net35",True)
✅ IsFrameworkTargetFrameworkForTfm("net40",True)
✅ IsFrameworkTargetFrameworkForTfm("net403",True)
✅ IsFrameworkTargetFrameworkForTfm("net45",True)
✅ IsFrameworkTargetFrameworkForTfm("net451",True)
✅ IsFrameworkTargetFrameworkForTfm("net452",True)
✅ IsFrameworkTargetFrameworkForTfm("net46",True)
✅ IsFrameworkTargetFrameworkForTfm("net461",True)
✅ IsFrameworkTargetFrameworkForTfm("net462",True)
✅ IsFrameworkTargetFrameworkForTfm("net47",True)
✅ IsFrameworkTargetFrameworkForTfm("net471",True)
✅ IsFrameworkTargetFrameworkForTfm("net472",True)
✅ IsFrameworkTargetFrameworkForTfm("net48",True)
✅ IsFrameworkTargetFrameworkForTfm("net5.0-android",False)
✅ IsFrameworkTargetFrameworkForTfm("net5.0-ios",False)
✅ IsFrameworkTargetFrameworkForTfm("net5.0-macos",False)
✅ IsFrameworkTargetFrameworkForTfm("net5.0-tvos",False)
✅ IsFrameworkTargetFrameworkForTfm("net5.0-watchos",False)
✅ IsFrameworkTargetFrameworkForTfm("net5.0-windows",False)
✅ IsFrameworkTargetFrameworkForTfm("net5.0",False)
✅ IsFrameworkTargetFrameworkForTfm("net5",False)
✅ IsFrameworkTargetFrameworkForTfm("net6.0-android",False)
✅ IsFrameworkTargetFrameworkForTfm("net6.0-ios",False)
✅ IsFrameworkTargetFrameworkForTfm("net6.0-macos",False)
✅ IsFrameworkTargetFrameworkForTfm("net6.0-tvos",False)
✅ IsFrameworkTargetFrameworkForTfm("net6.0-watchos",False)
✅ IsFrameworkTargetFrameworkForTfm("net6.0-windows",False)
✅ IsFrameworkTargetFrameworkForTfm("net6.0",False)
✅ IsFrameworkTargetFrameworkForTfm("net6",False)
✅ IsFrameworkTargetFrameworkForTfm("netcore",True)
✅ IsFrameworkTargetFrameworkForTfm("netcore45",True)
✅ IsFrameworkTargetFrameworkForTfm("netcore451",True)
✅ IsFrameworkTargetFrameworkForTfm("netcoreapp1.0",False)
✅ IsFrameworkTargetFrameworkForTfm("netcoreapp1.1",False)
✅ IsFrameworkTargetFrameworkForTfm("netcoreapp2.0",False)
✅ IsFrameworkTargetFrameworkForTfm("netcoreapp2.1",False)
✅ IsFrameworkTargetFrameworkForTfm("netcoreapp2.2",False)
✅ IsFrameworkTargetFrameworkForTfm("netcoreapp3.0",False)
✅ IsFrameworkTargetFrameworkForTfm("netcoreapp3.1",False)
✅ IsFrameworkTargetFrameworkForTfm("netmf",True)
✅ IsFrameworkTargetFrameworkForTfm("netstandard1.0",False)
✅ IsFrameworkTargetFrameworkForTfm("netstandard1.1",False)
✅ IsFrameworkTargetFrameworkForTfm("netstandard1.2",False)
✅ IsFrameworkTargetFrameworkForTfm("netstandard1.3",False)
✅ IsFrameworkTargetFrameworkForTfm("netstandard1.4",False)
✅ IsFrameworkTargetFrameworkForTfm("netstandard1.5",False)
✅ IsFrameworkTargetFrameworkForTfm("netstandard1.6",False)
✅ IsFrameworkTargetFrameworkForTfm("netstandard2.0",False)
✅ IsFrameworkTargetFrameworkForTfm("netstandard2.1",False)
✅ IsFrameworkTargetFrameworkForTfm("sl4",True)
✅ IsFrameworkTargetFrameworkForTfm("sl5",True)
✅ IsFrameworkTargetFrameworkForTfm("uap",True)
✅ IsFrameworkTargetFrameworkForTfm("uap10.0",True)
✅ IsFrameworkTargetFrameworkForTfm("wp",True)
✅ IsFrameworkTargetFrameworkForTfm("wp7",True)
✅ IsFrameworkTargetFrameworkForTfm("wp75",True)
✅ IsFrameworkTargetFrameworkForTfm("wp8",True)
✅ IsFrameworkTargetFrameworkForTfm("wp81",True)
✅ IsFrameworkTargetFrameworkForTfm("wpa81",True)

✅ Buildalyzer.Tests.Environment.MsBuildPropertiesFixture

✅ Provides_DesignTime_properties

✅ Buildalyzer.Tests.Integration.SimpleProjectsFixture

✅ AzureFunctionSourceFiles
✅ Builds_DesignTime(Core,"LegacyFrameworkProject\\LegacyFrameworkProject.csproj")
✅ Builds_DesignTime(Core,"LegacyFrameworkProjectWithPackageReference\\LegacyFrameworkProjectWithPackageReference.csproj")
✅ Builds_DesignTime(Core,"LegacyFrameworkProjectWithReference\\LegacyFrameworkProjectWithReference.csproj")
✅ Builds_DesignTime(Core,"ResponseFile\\ResponseFile.csproj")
✅ Builds_DesignTime(Core,"SdkFrameworkProject\\SdkFrameworkProject.csproj")
✅ Builds_DesignTime(Core,"SdkMultiTargetingProject\\SdkMultiTargetingProject.csproj")
✅ Builds_DesignTime(Core,"SdkNet5Project\\SdkNet5Project.csproj")
✅ Builds_DesignTime(Core,"SdkNet6Exe\\SdkNet6Exe.csproj")
✅ Builds_DesignTime(Core,"SdkNet6ImplicitUsings\\SdkNet6ImplicitUsings.csproj")
✅ Builds_DesignTime(Core,"SdkNet6Project\\SdkNet6Project.csproj")
✅ Builds_DesignTime(Core,"SdkNet6SelfContained\\SdkNet6SelfContained.csproj")
✅ Builds_DesignTime(Core,"SdkNet7Project\\SdkNet7Project.csproj")
✅ Builds_DesignTime(Core,"SdkNet8CS12FeaturesProject\\SdkNet8CS12FeaturesProject.csproj")
✅ Builds_DesignTime(Core,"SdkNetCore2Project\\SdkNetCore2Project.csproj")
✅ Builds_DesignTime(Core,"SdkNetCore2ProjectImport\\SdkNetCore2ProjectImport.csproj")
✅ Builds_DesignTime(Core,"SdkNetCore2ProjectWithAnalyzer\\SdkNetCore2ProjectWithAnalyzer.csproj")
✅ Builds_DesignTime(Core,"SdkNetCore2ProjectWithImportedProps\\SdkNetCore2ProjectWithImportedProps.csproj")
✅ Builds_DesignTime(Core,"SdkNetCore2ProjectWithReference\\SdkNetCore2ProjectWithReference.csproj")
✅ Builds_DesignTime(Core,"SdkNetCore31Project\\SdkNetCore31Project.csproj")
✅ Builds_DesignTime(Core,"SdkNetStandardProject\\SdkNetStandardProject.csproj")
✅ Builds_DesignTime(Core,"SdkNetStandardProjectImport\\SdkNetStandardProjectImport.csproj")
✅ Builds_DesignTime(Core,"SdkNetStandardProjectWithConstants\\SdkNetStandardProjectWithConstants.csproj")
✅ Builds_DesignTime(Core,"SdkNetStandardProjectWithPackageReference\\SdkNetStandardProjectWithPackageReference.csproj")
✅ Builds_DesignTime(Framework,"LegacyFrameworkProject\\LegacyFrameworkProject.csproj")
✅ Builds_DesignTime(Framework,"LegacyFrameworkProjectWithPackageReference\\LegacyFrameworkProjectWithPackageReference.csproj")
✅ Builds_DesignTime(Framework,"LegacyFrameworkProjectWithReference\\LegacyFrameworkProjectWithReference.csproj")
✅ Builds_DesignTime(Framework,"ResponseFile\\ResponseFile.csproj")
✅ Builds_DesignTime(Framework,"SdkFrameworkProject\\SdkFrameworkProject.csproj")
✅ Builds_DesignTime(Framework,"SdkMultiTargetingProject\\SdkMultiTargetingProject.csproj")
✅ Builds_DesignTime(Framework,"SdkNet5Project\\SdkNet5Project.csproj")
✅ Builds_DesignTime(Framework,"SdkNet6Exe\\SdkNet6Exe.csproj")
✅ Builds_DesignTime(Framework,"SdkNet6ImplicitUsings\\SdkNet6ImplicitUsings.csproj")
✅ Builds_DesignTime(Framework,"SdkNet6Project\\SdkNet6Project.csproj")
✅ Builds_DesignTime(Framework,"SdkNet6SelfContained\\SdkNet6SelfContained.csproj")
✅ Builds_DesignTime(Framework,"SdkNet7Project\\SdkNet7Project.csproj")
✅ Builds_DesignTime(Framework,"SdkNet8CS12FeaturesProject\\SdkNet8CS12FeaturesProject.csproj")
✅ Builds_DesignTime(Framework,"SdkNetCore2Project\\SdkNetCore2Project.csproj")
✅ Builds_DesignTime(Framework,"SdkNetCore2ProjectImport\\SdkNetCore2ProjectImport.csproj")
✅ Builds_DesignTime(Framework,"SdkNetCore2ProjectWithAnalyzer\\SdkNetCore2ProjectWithAnalyzer.csproj")
✅ Builds_DesignTime(Framework,"SdkNetCore2ProjectWithImportedProps\\SdkNetCore2ProjectWithImportedProps.csproj")
✅ Builds_DesignTime(Framework,"SdkNetCore2ProjectWithReference\\SdkNetCore2ProjectWithReference.csproj")
✅ Builds_DesignTime(Framework,"SdkNetCore31Project\\SdkNetCore31Project.csproj")
✅ Builds_DesignTime(Framework,"SdkNetStandardProject\\SdkNetStandardProject.csproj")
✅ Builds_DesignTime(Framework,"SdkNetStandardProjectImport\\SdkNetStandardProjectImport.csproj")
✅ Builds_DesignTime(Framework,"SdkNetStandardProjectWithConstants\\SdkNetStandardProjectWithConstants.csproj")
✅ Builds_DesignTime(Framework,"SdkNetStandardProjectWithPackageReference\\SdkNetStandardProjectWithPackageReference.csproj")
✅ BuildsFSharpProject
✅ BuildsLotsOfProjects
✅ BuildsProject(Core,"LegacyFrameworkProject\\LegacyFrameworkProject.csproj")
✅ BuildsProject(Core,"LegacyFrameworkProjectWithPackageReference\\LegacyFrameworkProjectWithPackageReference.csproj")
✅ BuildsProject(Core,"LegacyFrameworkProjectWithReference\\LegacyFrameworkProjectWithReference.csproj")
✅ BuildsProject(Core,"ResponseFile\\ResponseFile.csproj")
✅ BuildsProject(Core,"SdkFrameworkProject\\SdkFrameworkProject.csproj")
✅ BuildsProject(Core,"SdkMultiTargetingProject\\SdkMultiTargetingProject.csproj")
✅ BuildsProject(Core,"SdkNet5Project\\SdkNet5Project.csproj")
✅ BuildsProject(Core,"SdkNet6Exe\\SdkNet6Exe.csproj")
✅ BuildsProject(Core,"SdkNet6ImplicitUsings\\SdkNet6ImplicitUsings.csproj")
✅ BuildsProject(Core,"SdkNet6Project\\SdkNet6Project.csproj")
✅ BuildsProject(Core,"SdkNet6SelfContained\\SdkNet6SelfContained.csproj")
✅ BuildsProject(Core,"SdkNet7Project\\SdkNet7Project.csproj")
✅ BuildsProject(Core,"SdkNet8CS12FeaturesProject\\SdkNet8CS12FeaturesProject.csproj")
✅ BuildsProject(Core,"SdkNetCore2Project\\SdkNetCore2Project.csproj")
✅ BuildsProject(Core,"SdkNetCore2ProjectImport\\SdkNetCore2ProjectImport.csproj")
✅ BuildsProject(Core,"SdkNetCore2ProjectWithAnalyzer\\SdkNetCore2ProjectWithAnalyzer.csproj")
✅ BuildsProject(Core,"SdkNetCore2ProjectWithImportedProps\\SdkNetCore2ProjectWithImportedProps.csproj")
✅ BuildsProject(Core,"SdkNetCore2ProjectWithReference\\SdkNetCore2ProjectWithReference.csproj")
✅ BuildsProject(Core,"SdkNetCore31Project\\SdkNetCore31Project.csproj")
✅ BuildsProject(Core,"SdkNetStandardProject\\SdkNetStandardProject.csproj")
✅ BuildsProject(Core,"SdkNetStandardProjectImport\\SdkNetStandardProjectImport.csproj")
✅ BuildsProject(Core,"SdkNetStandardProjectWithConstants\\SdkNetStandardProjectWithConstants.csproj")
✅ BuildsProject(Core,"SdkNetStandardProjectWithPackageReference\\SdkNetStandardProjectWithPackageReference.csproj")
✅ BuildsProject(Framework,"LegacyFrameworkProject\\LegacyFrameworkProject.csproj")
✅ BuildsProject(Framework,"LegacyFrameworkProjectWithPackageReference\\LegacyFrameworkProjectWithPackageReference.csproj")
✅ BuildsProject(Framework,"LegacyFrameworkProjectWithReference\\LegacyFrameworkProjectWithReference.csproj")
✅ BuildsProject(Framework,"ResponseFile\\ResponseFile.csproj")
✅ BuildsProject(Framework,"SdkFrameworkProject\\SdkFrameworkProject.csproj")
✅ BuildsProject(Framework,"SdkMultiTargetingProject\\SdkMultiTargetingProject.csproj")
✅ BuildsProject(Framework,"SdkNet5Project\\SdkNet5Project.csproj")
✅ BuildsProject(Framework,"SdkNet6Exe\\SdkNet6Exe.csproj")
✅ BuildsProject(Framework,"SdkNet6ImplicitUsings\\SdkNet6ImplicitUsings.csproj")
✅ BuildsProject(Framework,"SdkNet6Project\\SdkNet6Project.csproj")
✅ BuildsProject(Framework,"SdkNet6SelfContained\\SdkNet6SelfContained.csproj")
✅ BuildsProject(Framework,"SdkNet7Project\\SdkNet7Project.csproj")
✅ BuildsProject(Framework,"SdkNet8CS12FeaturesProject\\SdkNet8CS12FeaturesProject.csproj")
✅ BuildsProject(Framework,"SdkNetCore2Project\\SdkNetCore2Project.csproj")
✅ BuildsProject(Framework,"SdkNetCore2ProjectImport\\SdkNetCore2ProjectImport.csproj")
✅ BuildsProject(Framework,"SdkNetCore2ProjectWithAnalyzer\\SdkNetCore2ProjectWithAnalyzer.csproj")
✅ BuildsProject(Framework,"SdkNetCore2ProjectWithImportedProps\\SdkNetCore2ProjectWithImportedProps.csproj")
✅ BuildsProject(Framework,"SdkNetCore2ProjectWithReference\\SdkNetCore2ProjectWithReference.csproj")
✅ BuildsProject(Framework,"SdkNetCore31Project\\SdkNetCore31Project.csproj")
✅ BuildsProject(Framework,"SdkNetStandardProject\\SdkNetStandardProject.csproj")
✅ BuildsProject(Framework,"SdkNetStandardProjectImport\\SdkNetStandardProjectImport.csproj")
✅ BuildsProject(Framework,"SdkNetStandardProjectWithConstants\\SdkNetStandardProjectWithConstants.csproj")
✅ BuildsProject(Framework,"SdkNetStandardProjectWithPackageReference\\SdkNetStandardProjectWithPackageReference.csproj")
✅ BuildsProjectWithoutLogger(Core)
✅ BuildsProjectWithoutLogger(Framework)
✅ BuildsVisualBasicProject
✅ DuplicateProjectReferences
✅ FiltersProjectsInSolution
✅ GetsProjectGuidFromProject(Core)
✅ GetsProjectGuidFromProject(Framework)
✅ GetsProjectGuidFromSolution(Core)
✅ GetsProjectGuidFromSolution(Framework)
✅ GetsProjectsInSolution
✅ GetsReferences(Core,"LegacyFrameworkProject\\LegacyFrameworkProject.csproj")
✅ GetsReferences(Core,"LegacyFrameworkProjectWithPackageReference\\LegacyFrameworkProjectWithPackageReference.csproj")
✅ GetsReferences(Core,"LegacyFrameworkProjectWithReference\\LegacyFrameworkProjectWithReference.csproj")
✅ GetsReferences(Core,"ResponseFile\\ResponseFile.csproj")
✅ GetsReferences(Core,"SdkFrameworkProject\\SdkFrameworkProject.csproj")
✅ GetsReferences(Core,"SdkMultiTargetingProject\\SdkMultiTargetingProject.csproj")
✅ GetsReferences(Core,"SdkNet5Project\\SdkNet5Project.csproj")
✅ GetsReferences(Core,"SdkNet6Exe\\SdkNet6Exe.csproj")
✅ GetsReferences(Core,"SdkNet6ImplicitUsings\\SdkNet6ImplicitUsings.csproj")
✅ GetsReferences(Core,"SdkNet6Project\\SdkNet6Project.csproj")
✅ GetsReferences(Core,"SdkNet6SelfContained\\SdkNet6SelfContained.csproj")
✅ GetsReferences(Core,"SdkNet7Project\\SdkNet7Project.csproj")
✅ GetsReferences(Core,"SdkNet8CS12FeaturesProject\\SdkNet8CS12FeaturesProject.csproj")
✅ GetsReferences(Core,"SdkNetCore2Project\\SdkNetCore2Project.csproj")
✅ GetsReferences(Core,"SdkNetCore2ProjectImport\\SdkNetCore2ProjectImport.csproj")
✅ GetsReferences(Core,"SdkNetCore2ProjectWithAnalyzer\\SdkNetCore2ProjectWithAnalyzer.csproj")
✅ GetsReferences(Core,"SdkNetCore2ProjectWithImportedProps\\SdkNetCore2ProjectWithImportedProps.csproj")
✅ GetsReferences(Core,"SdkNetCore2ProjectWithReference\\SdkNetCore2ProjectWithReference.csproj")
✅ GetsReferences(Core,"SdkNetCore31Project\\SdkNetCore31Project.csproj")
✅ GetsReferences(Core,"SdkNetStandardProject\\SdkNetStandardProject.csproj")
✅ GetsReferences(Core,"SdkNetStandardProjectImport\\SdkNetStandardProjectImport.csproj")
✅ GetsReferences(Core,"SdkNetStandardProjectWithConstants\\SdkNetStandardProjectWithConstants.csproj")
✅ GetsReferences(Core,"SdkNetStandardProjectWithPackageReference\\SdkNetStandardProjectWithPackageReference.csproj")
✅ GetsReferences(Framework,"LegacyFrameworkProject\\LegacyFrameworkProject.csproj")
✅ GetsReferences(Framework,"LegacyFrameworkProjectWithPackageReference\\LegacyFrameworkProjectWithPackageReference.csproj")
✅ GetsReferences(Framework,"LegacyFrameworkProjectWithReference\\LegacyFrameworkProjectWithReference.csproj")
✅ GetsReferences(Framework,"ResponseFile\\ResponseFile.csproj")
✅ GetsReferences(Framework,"SdkFrameworkProject\\SdkFrameworkProject.csproj")
✅ GetsReferences(Framework,"SdkMultiTargetingProject\\SdkMultiTargetingProject.csproj")
✅ GetsReferences(Framework,"SdkNet5Project\\SdkNet5Project.csproj")
✅ GetsReferences(Framework,"SdkNet6Exe\\SdkNet6Exe.csproj")
✅ GetsReferences(Framework,"SdkNet6ImplicitUsings\\SdkNet6ImplicitUsings.csproj")
✅ GetsReferences(Framework,"SdkNet6Project\\SdkNet6Project.csproj")
✅ GetsReferences(Framework,"SdkNet6SelfContained\\SdkNet6SelfContained.csproj")
✅ GetsReferences(Framework,"SdkNet7Project\\SdkNet7Project.csproj")
✅ GetsReferences(Framework,"SdkNet8CS12FeaturesProject\\SdkNet8CS12FeaturesProject.csproj")
✅ GetsReferences(Framework,"SdkNetCore2Project\\SdkNetCore2Project.csproj")
✅ GetsReferences(Framework,"SdkNetCore2ProjectImport\\SdkNetCore2ProjectImport.csproj")
✅ GetsReferences(Framework,"SdkNetCore2ProjectWithAnalyzer\\SdkNetCore2ProjectWithAnalyzer.csproj")
✅ GetsReferences(Framework,"SdkNetCore2ProjectWithImportedProps\\SdkNetCore2ProjectWithImportedProps.csproj")
✅ GetsReferences(Framework,"SdkNetCore2ProjectWithReference\\SdkNetCore2ProjectWithReference.csproj")
✅ GetsReferences(Framework,"SdkNetCore31Project\\SdkNetCore31Project.csproj")
✅ GetsReferences(Framework,"SdkNetStandardProject\\SdkNetStandardProject.csproj")
✅ GetsReferences(Framework,"SdkNetStandardProjectImport\\SdkNetStandardProjectImport.csproj")
✅ GetsReferences(Framework,"SdkNetStandardProjectWithConstants\\SdkNetStandardProjectWithConstants.csproj")
✅ GetsReferences(Framework,"SdkNetStandardProjectWithPackageReference\\SdkNetStandardProjectWithPackageReference.csproj")
✅ GetsSourceFiles(Core,"LegacyFrameworkProject\\LegacyFrameworkProject.csproj")
✅ GetsSourceFiles(Core,"LegacyFrameworkProjectWithPackageReference\\LegacyFrameworkProjectWithPackageReference.csproj")
✅ GetsSourceFiles(Core,"LegacyFrameworkProjectWithReference\\LegacyFrameworkProjectWithReference.csproj")
✅ GetsSourceFiles(Core,"ResponseFile\\ResponseFile.csproj")
✅ GetsSourceFiles(Core,"SdkFrameworkProject\\SdkFrameworkProject.csproj")
✅ GetsSourceFiles(Core,"SdkMultiTargetingProject\\SdkMultiTargetingProject.csproj")
✅ GetsSourceFiles(Core,"SdkNet5Project\\SdkNet5Project.csproj")
✅ GetsSourceFiles(Core,"SdkNet6Exe\\SdkNet6Exe.csproj")
✅ GetsSourceFiles(Core,"SdkNet6ImplicitUsings\\SdkNet6ImplicitUsings.csproj")
✅ GetsSourceFiles(Core,"SdkNet6Project\\SdkNet6Project.csproj")
✅ GetsSourceFiles(Core,"SdkNet6SelfContained\\SdkNet6SelfContained.csproj")
✅ GetsSourceFiles(Core,"SdkNet7Project\\SdkNet7Project.csproj")
✅ GetsSourceFiles(Core,"SdkNet8CS12FeaturesProject\\SdkNet8CS12FeaturesProject.csproj")
✅ GetsSourceFiles(Core,"SdkNetCore2Project\\SdkNetCore2Project.csproj")
✅ GetsSourceFiles(Core,"SdkNetCore2ProjectImport\\SdkNetCore2ProjectImport.csproj")
✅ GetsSourceFiles(Core,"SdkNetCore2ProjectWithAnalyzer\\SdkNetCore2ProjectWithAnalyzer.csproj")
✅ GetsSourceFiles(Core,"SdkNetCore2ProjectWithImportedProps\\SdkNetCore2ProjectWithImportedProps.csproj")
✅ GetsSourceFiles(Core,"SdkNetCore2ProjectWithReference\\SdkNetCore2ProjectWithReference.csproj")
✅ GetsSourceFiles(Core,"SdkNetCore31Project\\SdkNetCore31Project.csproj")
✅ GetsSourceFiles(Core,"SdkNetStandardProject\\SdkNetStandardProject.csproj")
✅ GetsSourceFiles(Core,"SdkNetStandardProjectImport\\SdkNetStandardProjectImport.csproj")
✅ GetsSourceFiles(Core,"SdkNetStandardProjectWithConstants\\SdkNetStandardProjectWithConstants.csproj")
✅ GetsSourceFiles(Core,"SdkNetStandardProjectWithPackageReference\\SdkNetStandardProjectWithPackageReference.csproj")
✅ GetsSourceFiles(Framework,"LegacyFrameworkProject\\LegacyFrameworkProject.csproj")
✅ GetsSourceFiles(Framework,"LegacyFrameworkProjectWithPackageReference\\LegacyFrameworkProjectWithPackageReference.csproj")
✅ GetsSourceFiles(Framework,"LegacyFrameworkProjectWithReference\\LegacyFrameworkProjectWithReference.csproj")
✅ GetsSourceFiles(Framework,"ResponseFile\\ResponseFile.csproj")
✅ GetsSourceFiles(Framework,"SdkFrameworkProject\\SdkFrameworkProject.csproj")
✅ GetsSourceFiles(Framework,"SdkMultiTargetingProject\\SdkMultiTargetingProject.csproj")
✅ GetsSourceFiles(Framework,"SdkNet5Project\\SdkNet5Project.csproj")
✅ GetsSourceFiles(Framework,"SdkNet6Exe\\SdkNet6Exe.csproj")
✅ GetsSourceFiles(Framework,"SdkNet6ImplicitUsings\\SdkNet6ImplicitUsings.csproj")
✅ GetsSourceFiles(Framework,"SdkNet6Project\\SdkNet6Project.csproj")
✅ GetsSourceFiles(Framework,"SdkNet6SelfContained\\SdkNet6SelfContained.csproj")
✅ GetsSourceFiles(Framework,"SdkNet7Project\\SdkNet7Project.csproj")
✅ GetsSourceFiles(Framework,"SdkNet8CS12FeaturesProject\\SdkNet8CS12FeaturesProject.csproj")
✅ GetsSourceFiles(Framework,"SdkNetCore2Project\\SdkNetCore2Project.csproj")
✅ GetsSourceFiles(Framework,"SdkNetCore2ProjectImport\\SdkNetCore2ProjectImport.csproj")
✅ GetsSourceFiles(Framework,"SdkNetCore2ProjectWithAnalyzer\\SdkNetCore2ProjectWithAnalyzer.csproj")
✅ GetsSourceFiles(Framework,"SdkNetCore2ProjectWithImportedProps\\SdkNetCore2ProjectWithImportedProps.csproj")
✅ GetsSourceFiles(Framework,"SdkNetCore2ProjectWithReference\\SdkNetCore2ProjectWithReference.csproj")
✅ GetsSourceFiles(Framework,"SdkNetCore31Project\\SdkNetCore31Project.csproj")
✅ GetsSourceFiles(Framework,"SdkNetStandardProject\\SdkNetStandardProject.csproj")
✅ GetsSourceFiles(Framework,"SdkNetStandardProjectImport\\SdkNetStandardProjectImport.csproj")
✅ GetsSourceFiles(Framework,"SdkNetStandardProjectWithConstants\\SdkNetStandardProjectWithConstants.csproj")
✅ GetsSourceFiles(Framework,"SdkNetStandardProjectWithPackageReference\\SdkNetStandardProjectWithPackageReference.csproj")
✅ GetsSourceFilesFromBinaryLog(Core,"LegacyFrameworkProject\\LegacyFrameworkProject.csproj")
✅ GetsSourceFilesFromBinaryLog(Core,"LegacyFrameworkProjectWithPackageReference\\LegacyFrameworkProjectWithPackageReference.csproj")
✅ GetsSourceFilesFromBinaryLog(Core,"LegacyFrameworkProjectWithReference\\LegacyFrameworkProjectWithReference.csproj")
✅ GetsSourceFilesFromBinaryLog(Core,"ResponseFile\\ResponseFile.csproj")
✅ GetsSourceFilesFromBinaryLog(Core,"SdkFrameworkProject\\SdkFrameworkProject.csproj")
✅ GetsSourceFilesFromBinaryLog(Core,"SdkMultiTargetingProject\\SdkMultiTargetingProject.csproj")
✅ GetsSourceFilesFromBinaryLog(Core,"SdkNet5Project\\SdkNet5Project.csproj")
✅ GetsSourceFilesFromBinaryLog(Core,"SdkNet6Exe\\SdkNet6Exe.csproj")
✅ GetsSourceFilesFromBinaryLog(Core,"SdkNet6ImplicitUsings\\SdkNet6ImplicitUsings.csproj")
✅ GetsSourceFilesFromBinaryLog(Core,"SdkNet6Project\\SdkNet6Project.csproj")
✅ GetsSourceFilesFromBinaryLog(Core,"SdkNet6SelfContained\\SdkNet6SelfContained.csproj")
✅ GetsSourceFilesFromBinaryLog(Core,"SdkNet7Project\\SdkNet7Project.csproj")
✅ GetsSourceFilesFromBinaryLog(Core,"SdkNet8CS12FeaturesProject\\SdkNet8CS12FeaturesProject.csproj")
✅ GetsSourceFilesFromBinaryLog(Core,"SdkNetCore2Project\\SdkNetCore2Project.csproj")
✅ GetsSourceFilesFromBinaryLog(Core,"SdkNetCore2ProjectImport\\SdkNetCore2ProjectImport.csproj")
✅ GetsSourceFilesFromBinaryLog(Core,"SdkNetCore2ProjectWithAnalyzer\\SdkNetCore2ProjectWithAnalyzer.csproj")
✅ GetsSourceFilesFromBinaryLog(Core,"SdkNetCore2ProjectWithImportedProps\\SdkNetCore2ProjectWithImportedProps.csproj")
✅ GetsSourceFilesFromBinaryLog(Core,"SdkNetCore2ProjectWithReference\\SdkNetCore2ProjectWithReference.csproj")
✅ GetsSourceFilesFromBinaryLog(Core,"SdkNetCore31Project\\SdkNetCore31Project.csproj")
✅ GetsSourceFilesFromBinaryLog(Core,"SdkNetStandardProject\\SdkNetStandardProject.csproj")
✅ GetsSourceFilesFromBinaryLog(Core,"SdkNetStandardProjectImport\\SdkNetStandardProjectImport.csproj")
✅ GetsSourceFilesFromBinaryLog(Core,"SdkNetStandardProjectWithConstants\\SdkNetStandardProjectWithConstants.csproj")
✅ GetsSourceFilesFromBinaryLog(Core,"SdkNetStandardProjectWithPackageReference\\SdkNetStandardProjectWithPackageReference.csproj")
✅ GetsSourceFilesFromBinaryLog(Framework,"LegacyFrameworkProject\\LegacyFrameworkProject.csproj")
✅ GetsSourceFilesFromBinaryLog(Framework,"LegacyFrameworkProjectWithPackageReference\\LegacyFrameworkProjectWithPackageReference.csproj")
✅ GetsSourceFilesFromBinaryLog(Framework,"LegacyFrameworkProjectWithReference\\LegacyFrameworkProjectWithReference.csproj")
✅ GetsSourceFilesFromBinaryLog(Framework,"ResponseFile\\ResponseFile.csproj")
✅ GetsSourceFilesFromBinaryLog(Framework,"SdkFrameworkProject\\SdkFrameworkProject.csproj")
✅ GetsSourceFilesFromBinaryLog(Framework,"SdkMultiTargetingProject\\SdkMultiTargetingProject.csproj")
✅ GetsSourceFilesFromBinaryLog(Framework,"SdkNet5Project\\SdkNet5Project.csproj")
✅ GetsSourceFilesFromBinaryLog(Framework,"SdkNet6Exe\\SdkNet6Exe.csproj")
✅ GetsSourceFilesFromBinaryLog(Framework,"SdkNet6ImplicitUsings\\SdkNet6ImplicitUsings.csproj")
✅ GetsSourceFilesFromBinaryLog(Framework,"SdkNet6Project\\SdkNet6Project.csproj")
✅ GetsSourceFilesFromBinaryLog(Framework,"SdkNet6SelfContained\\SdkNet6SelfContained.csproj")
✅ GetsSourceFilesFromBinaryLog(Framework,"SdkNet7Project\\SdkNet7Project.csproj")
✅ GetsSourceFilesFromBinaryLog(Framework,"SdkNet8CS12FeaturesProject\\SdkNet8CS12FeaturesProject.csproj")
✅ GetsSourceFilesFromBinaryLog(Framework,"SdkNetCore2Project\\SdkNetCore2Project.csproj")
✅ GetsSourceFilesFromBinaryLog(Framework,"SdkNetCore2ProjectImport\\SdkNetCore2ProjectImport.csproj")
✅ GetsSourceFilesFromBinaryLog(Framework,"SdkNetCore2ProjectWithAnalyzer\\SdkNetCore2ProjectWithAnalyzer.csproj")
✅ GetsSourceFilesFromBinaryLog(Framework,"SdkNetCore2ProjectWithImportedProps\\SdkNetCore2ProjectWithImportedProps.csproj")
✅ GetsSourceFilesFromBinaryLog(Framework,"SdkNetCore2ProjectWithReference\\SdkNetCore2ProjectWithReference.csproj")
✅ GetsSourceFilesFromBinaryLog(Framework,"SdkNetCore31Project\\SdkNetCore31Project.csproj")
✅ GetsSourceFilesFromBinaryLog(Framework,"SdkNetStandardProject\\SdkNetStandardProject.csproj")
✅ GetsSourceFilesFromBinaryLog(Framework,"SdkNetStandardProjectImport\\SdkNetStandardProjectImport.csproj")
✅ GetsSourceFilesFromBinaryLog(Framework,"SdkNetStandardProjectWithConstants\\SdkNetStandardProjectWithConstants.csproj")
✅ GetsSourceFilesFromBinaryLog(Framework,"SdkNetStandardProjectWithPackageReference\\SdkNetStandardProjectWithPackageReference.csproj")
✅ GetsSourceFilesFromBinLogFile("SdkNetCore31Project-v14.binlog",14)
✅ GetsSourceFilesFromBinLogFile("SdkNetCore31Project-v9.binlog",9)
✅ IgnoreSolutionItemsThatAreNotProjects
✅ LegacyFrameworkProjectWithPackageReferenceGetsPackageReferences
✅ LegacyFrameworkProjectWithPackageReferenceGetsReferences
✅ LegacyFrameworkProjectWithProjectReferenceGetsReferences
✅ MultiTargetingBuildAllTargetFrameworksGetsSourceFiles
✅ MultiTargetingBuildCoreTargetFrameworkGetsSourceFiles
✅ MultiTargetingBuildFrameworkTargetFrameworkGetsSourceFiles
✅ Resolves_additional_files
✅ Resolves_additional_files_for_Razor_project
✅ SdkProjectWithDefineContstantsGetsPreprocessorSymbols
✅ SdkProjectWithPackageReferenceGetsPackageReferences
✅ SdkProjectWithPackageReferenceGetsReferences
✅ SdkProjectWithProjectReferenceGetsReferences
✅ SolutionDirShouldEndWithDirectorySeparator
✅ WpfControlLibraryGetsSourceFiles

✅ Buildalyzer.Tests.IO.IOPathFixture

✅ Is_case_insensitive_on_windows
✅ Is_seperator_agnostic
✅ Supports_type_conversion("c:\\Program Files\\Buildalyzer")

✅ Project_GUID_specs.Creates

✅ SHA1_based_GUID("","1b4db7eb-4057-5ddf-91e0-36dec72071f5")
✅ SHA1_based_GUID("ABCDEFGHIJK","2a738916-9f0a-5c81-a8fa-cc64ba606458")
✅ SHA1_based_GUID("Buildalyzer","74397281-1b33-5316-aad1-c7ef52552d75")
✅ SHA1_based_GUID(null,"1b4db7eb-4057-5ddf-91e0-36dec72071f5")

✅ tests/Buildalyzer.Workspaces.Tests/TestResults/test-results.trx

14 tests were completed in 85s with 14 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Buildalyzer.Workspaces.Tests.ProjectAnalyzerExtensionsFixture 14✅ 84s

✅ Buildalyzer.Workspaces.Tests.ProjectAnalyzerExtensionsFixture

✅ AddsProjectReferences(False,1)
✅ AddsProjectReferences(True,3)
✅ AddsTransitiveProjectReferences(False,1)
✅ AddsTransitiveProjectReferences(True,4)
✅ CreatesCompilationOptions
✅ HandlesWpfCustomControlLibrary
✅ Loads_Workspace
✅ LoadsSolution
✅ SupportsAdditionalFiles
✅ SupportsAnalyzers
✅ SupportsCompilation
✅ SupportsConstants
✅ SupportsLangVersion12Features
✅ SupportsNullabilityEnabled