Minor improvements #305
GitHub Actions / Test Results (ubuntu-latest)
succeeded
Nov 13, 2024 in 0s
210 passed, 0 failed and 3 skipped
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
tests/Buildalyzer.Tests/TestResults/test-results.trx | 196✅ | 3⚪ | 196s | |
tests/Buildalyzer.Workspaces.Tests/TestResults/test-results.trx | 14✅ | 51s |
✅ tests/Buildalyzer.Tests/TestResults/test-results.trx
199 tests were completed in 196s with 196 passed, 0 failed and 3 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Buildalyzer.Tests.Compiler.CompilerCommandFixture | 3✅ | 440ms | ||
Buildalyzer.Tests.Construction.PackageReferenceFixture | 3✅ | 3ms | ||
Buildalyzer.Tests.Environment.DotNetInfoFixture | 3✅ | 10ms | ||
Buildalyzer.Tests.Environment.EnvironmentFactoryFixture | 61✅ | 38ms | ||
Buildalyzer.Tests.Environment.MsBuildPropertiesFixture | 1✅ | 3ms | ||
Buildalyzer.Tests.Integration.SimpleProjectsFixture | 119✅ | 3⚪ | 195s | |
Buildalyzer.Tests.IO.IOPathFixture | 2✅ | 0ms | ||
Project_GUID_specs.Creates | 4✅ | 3ms |
✅ 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,"ResponseFile\\ResponseFile.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,"SdkNet8Alias\\SdkNet8Alias.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")
✅ BuildsFSharpProject
✅ BuildsLotsOfProjects
✅ BuildsProject(Core,"ResponseFile\\ResponseFile.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,"SdkNet8Alias\\SdkNet8Alias.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")
✅ BuildsProjectWithoutLogger(Core)
✅ BuildsVisualBasicProject
✅ DuplicateProjectReferences
✅ FiltersProjectsInSolution
✅ GetsProjectGuidFromProject(Core)
✅ GetsProjectGuidFromSolution(Core)
✅ GetsProjectsInSolution
✅ GetsReferences(Core,"ResponseFile\\ResponseFile.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,"SdkNet8Alias\\SdkNet8Alias.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")
✅ GetsSourceFiles(Core,"ResponseFile\\ResponseFile.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,"SdkNet8Alias\\SdkNet8Alias.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")
✅ GetsSourceFilesFromBinaryLog(Core,"ResponseFile\\ResponseFile.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,"SdkNet8Alias\\SdkNet8Alias.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")
✅ 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_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 51s with 14 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Buildalyzer.Workspaces.Tests.ProjectAnalyzerExtensionsFixture | 14✅ | 50s |
✅ Buildalyzer.Workspaces.Tests.ProjectAnalyzerExtensionsFixture
✅ AddsProjectReferences(False,1)
✅ AddsProjectReferences(True,3)
✅ AddsTransitiveProjectReferences(False,1)
✅ AddsTransitiveProjectReferences(True,4)
✅ CreatesCompilationOptions
✅ Loads_Workspace
✅ LoadsSolution
✅ SupportAssemblyAliases
✅ SupportsAdditionalFiles
✅ SupportsAnalyzers
✅ SupportsCompilation
✅ SupportsConstants
✅ SupportsLangVersion12Features
✅ SupportsNullabilityEnabled
Loading