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

Using the None host with binary logs #120

Merged
merged 3 commits into from
Apr 27, 2024

more

c50c377
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Using the None host with binary logs #120

more
c50c377
Select commit
Loading
Failed to load commit list.
GitHub Actions / .NET Test Results succeeded Apr 27, 2024 in 0s

763 passed, 0 failed and 2 skipped

Tests passed successfully

Report Passed Failed Skipped Time
TestResults-Linux.trx 253✅ 2⚪ 164s
TestResults-Windows-Core.trx 255✅ 285s
TestResults-Windows-Framework.trx 255✅ 178s

✅ TestResults-Linux.trx

255 tests were completed in 164s with 253 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
Basic.CompilerLog.UnitTests.BasicAnalyzerHostTests 4✅ 2ms
Basic.CompilerLog.UnitTests.BinaryLogReaderTests 17✅ 21s
Basic.CompilerLog.UnitTests.BinaryLogUtilTests 10✅ 2ms
Basic.CompilerLog.UnitTests.CodeAnalysisExtensionsTests 1✅ 5s
Basic.CompilerLog.UnitTests.CommonUtilTests 1✅ 0ms
Basic.CompilerLog.UnitTests.CompilationDataTests 7✅ 8s
Basic.CompilerLog.UnitTests.CompilationTaskDataTests 2✅ 1ms
Basic.CompilerLog.UnitTests.CompilerCallReaderUtilTests 4✅ 3ms
Basic.CompilerLog.UnitTests.CompilerLogBuilderTests 4✅ 3s
Basic.CompilerLog.UnitTests.CompilerLogReaderExTests 4✅ 876ms
Basic.CompilerLog.UnitTests.CompilerLogReaderTests 37✅ 1⚪ 29s
Basic.CompilerLog.UnitTests.CompilerLogUtilTests 1✅ 1ms
Basic.CompilerLog.UnitTests.ExportUtilTests 11✅ 6s
Basic.CompilerLog.UnitTests.ExtensionsTests 3✅ 7ms
Basic.CompilerLog.UnitTests.FilterOptionSetTest 1✅ 6ms
Basic.CompilerLog.UnitTests.LogReaderStateTests 3✅ 2ms
Basic.CompilerLog.UnitTests.MetadataTests 5✅ 4ms
Basic.CompilerLog.UnitTests.MSBuildProjectDataTests 1✅ 1ms
Basic.CompilerLog.UnitTests.PathNormalizationUtilTests 25✅ 8ms
Basic.CompilerLog.UnitTests.PathUtilTests 1✅ 0ms
Basic.CompilerLog.UnitTests.ProgramTests 67✅ 1⚪ 39s
Basic.CompilerLog.UnitTests.ResilientDirectoryTests 4✅ 2ms
Basic.CompilerLog.UnitTests.RoslynUtilTests 24✅ 3ms
Basic.CompilerLog.UnitTests.SdkUtilTests 1✅ 1ms
Basic.CompilerLog.UnitTests.SolutionReaderTests 3✅ 673ms
Basic.CompilerLog.UnitTests.UsingAllCompilerLogTests 12✅ 28s

✅ Basic.CompilerLog.UnitTests.BasicAnalyzerHostTests

✅ Error
✅ NoneDispose
✅ NoneProps
✅ Supported

✅ Basic.CompilerLog.UnitTests.BinaryLogReaderTests

✅ CreateFilePath(basicAnalyzerKind: InMemory)
✅ CreateFilePath(basicAnalyzerKind: OnDisk)
✅ CreateFilePathLogReaderState
✅ CreateStream1(basicAnalyzerKind: InMemory, leaveOpen: False)
✅ CreateStream1(basicAnalyzerKind: InMemory, leaveOpen: True)
✅ CreateStream1(basicAnalyzerKind: OnDisk, leaveOpen: True)
✅ CreateStream2(basicAnalyzerKind: InMemory, leaveOpen: False)
✅ CreateStream2(basicAnalyzerKind: InMemory, leaveOpen: True)
✅ CreateStream2(basicAnalyzerKind: OnDisk, leaveOpen: True)
✅ DisposeDouble
✅ GetCompilationSimple(basicAnalyzerKind: InMemory)
✅ GetCompilationSimple(basicAnalyzerKind: None)
✅ GetCompilationSimple(basicAnalyzerKind: OnDisk)
✅ ReadCommandLineArgumentsOwnership
✅ ReadDeletedPdb
✅ VerifyBasicAnalyzerKind(basicAnalyzerKind: InMemory)
✅ VerifyBasicAnalyzerKind(basicAnalyzerKind: OnDisk)

✅ Basic.CompilerLog.UnitTests.BinaryLogUtilTests

✅ ParseCompilerAndArgumentsBad(inputArgs: "dotnet csc2 what we expect a.cs")
✅ ParseCompilerAndArgumentsBad(inputArgs: "dotnet exec vbc.dll what we expect a.cs")
✅ ParseCompilerAndArgumentsBad(inputArgs: "dotnet not what we expect a.cs")
✅ ParseCompilerAndArgumentsCsc(inputArgs: "csc.exe a.cs b.cs", expectedCompilerFilePath: "csc.exe", expectedArgs: "a.cs b.cs")
✅ ParseCompilerAndArgumentsCsc(inputArgs: "dotnet exec csc.dll a.cs", expectedCompilerFilePath: "csc.dll", expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsCsc(inputArgs: "dotnet-can-be-any-host-name exec csc.dll a.cs", expectedCompilerFilePath: "csc.dll", expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsCsc(inputArgs: "dotnet.exe exec csc.dll a.cs", expectedCompilerFilePath: "csc.dll", expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsVbc(inputArgs: "dotnet-can-be-any-host-name exec vbc.dll a.vb", expectedCompilerFilePath: "vbc.dll", expectedArgs: "a.vb")
✅ ParseCompilerAndArgumentsVbc(inputArgs: "dotnet.exe exec vbc.dll a.cs", expectedCompilerFilePath: "vbc.dll", expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsVbc(inputArgs: "vbc.exe a.cs b.cs", expectedCompilerFilePath: "vbc.exe", expectedArgs: "a.cs b.cs")

✅ Basic.CompilerLog.UnitTests.CodeAnalysisExtensionsTests

✅ EmitToMemory

✅ Basic.CompilerLog.UnitTests.CommonUtilTests

✅ GetAssemlbyLoadContext

✅ Basic.CompilerLog.UnitTests.CompilationDataTests

✅ EmitToMemoryCombinations
✅ EmitToMemoryRefOnly
✅ GetAllDiagnostics
✅ GetAnalyzersNoHosting
✅ GetAnalyzersNormal
✅ GetCompilationAfterGeneratorsDiagnostics
✅ GetDiagnostics

✅ Basic.CompilerLog.UnitTests.CompilationTaskDataTests

✅ TryCreateCompilerCallBadArguments
✅ TryCreateCompilerNoArguments

✅ Basic.CompilerLog.UnitTests.CompilerCallReaderUtilTests

✅ CreateBadExtension
✅ GetAllAnalyzerKinds(basicAnalyzerKind: InMemory)
✅ GetAllAnalyzerKinds(basicAnalyzerKind: None)
✅ GetAllAnalyzerKinds(basicAnalyzerKind: OnDisk)

✅ Basic.CompilerLog.UnitTests.CompilerLogBuilderTests

✅ AddMissingFile
✅ AddWithMissingCompilerFilePath
✅ CloseTwice
✅ PortablePdbMissing

✅ Basic.CompilerLog.UnitTests.CompilerLogReaderExTests

✅ AnalyzerConfigGeneratedCode(value: "0", expectedKind: Unknown)
✅ AnalyzerConfigGeneratedCode(value: "false", expectedKind: NotGenerated)
✅ AnalyzerConfigGeneratedCode(value: "true", expectedKind: MarkedGenerated)
✅ AnalyzerConfigNone

✅ Basic.CompilerLog.UnitTests.CompilerLogReaderTests

✅ AdditionalFiles
✅ AnalyzerDiagnostics
✅ AnalyzerLoadCaching(kind: InMemory)
✅ AnalyzerLoadCaching(kind: OnDisk)
✅ AnalyzerLoadDispose(kind: InMemory)
✅ AnalyzerLoadDispose(kind: OnDisk)
✅ AnalyzerLoadOptions
✅ ContentExtraSourceFile(fileName: "file1.cs")
✅ ContentExtraSourceFile(fileName: "file2.cs")
✅ CreateInvalidZipFile
✅ CreateStream1(basicAnalyzerKind: InMemory, leaveOpen: False)
✅ CreateStream1(basicAnalyzerKind: InMemory, leaveOpen: True)
✅ CreateStream1(basicAnalyzerKind: OnDisk, leaveOpen: True)
✅ CreateStream2(basicAnalyzerKind: InMemory, leaveOpen: False)
✅ CreateStream2(basicAnalyzerKind: InMemory, leaveOpen: True)
✅ CreateStream2(basicAnalyzerKind: OnDisk, leaveOpen: True)
✅ Disposed
✅ EmbedLineIssues
✅ GlobalConfigPathMap
✅ KeyFileCustomState
✅ KeyFileDefault
⚪ KindWpf
✅ MetadataCompat(resourceName: "MetadataVersion1.console.complog")
✅ MetadataVersion
✅ NoneHostAddsNoGeneratorIfNoGeneratedSource
✅ NoneHostGeneratedFilesInRaw
✅ NoneHostGeneratedFilesShouldBeLast
✅ NoneHostHasNoGenerators
✅ NoneHostNativePdb
✅ ProjectMultiTarget
✅ ProjectSingleTarget
✅ ReadCompilationDataBadIndex(index: -1)
✅ ReadCompilationDataBadIndex(index: 100)
✅ ReadCompilerCallBadIndex(index: -1)
✅ ReadCompilerCallBadIndex(index: 100)
✅ ReadCompilerCallWrongOwner
✅ ResourceSimpleEmbedded
✅ VisualBasic

✅ Basic.CompilerLog.UnitTests.CompilerLogUtilTests

✅ CreateBadExtension

✅ Basic.CompilerLog.UnitTests.ExportUtilTests

✅ ConsoleMultiTarget
✅ ConsoleWithRuleset
✅ EmbedLineInsideProject
✅ ExportAll
✅ ExportAllBadPath
✅ ExportRsp1
✅ ExportRsp2
✅ GeneratedText
✅ GeneratedTextExcludeAnalyzers
✅ GlobalConfigMapsPaths
✅ StrongNameKey

✅ Basic.CompilerLog.UnitTests.ExtensionsTests

✅ AddRange
✅ CheckEmitFlags
✅ GetFailureString

✅ Basic.CompilerLog.UnitTests.FilterOptionSetTest

✅ CheckForAnalyzers

✅ Basic.CompilerLog.UnitTests.LogReaderStateTests

✅ CustomAssemblyLoadContext
✅ DisposeCleansUpDirectories
✅ DisposeDirectoryLocked

✅ Basic.CompilerLog.UnitTests.MetadataTests

✅ ParseBadCount
✅ ParseBadFormat
✅ ParseBadVersion
✅ ParseVersion0
✅ ParseVersion1

✅ Basic.CompilerLog.UnitTests.MSBuildProjectDataTests

✅ MSBuildProjectDataToString

✅ Basic.CompilerLog.UnitTests.PathNormalizationUtilTests

✅ EmptyIsRooted
✅ UnixIsRooted(path: "../", expected: False)
✅ UnixIsRooted(path: "/", expected: True)
✅ UnixIsRooted(path: "/blah", expected: True)
✅ UnixIsRooted(path: "/code/blah.cs", expected: True)
✅ UnixIsRooted(path: "example/blah.cs", expected: False)
✅ UnixIsRooted(path: null, expected: False)
✅ UnixToWindowsNormalize(path: "/", expected: "c:\\code\\")
✅ UnixToWindowsNormalize(path: "/example", expected: "c:\\code\\example")
✅ UnixToWindowsNormalize(path: "/example/../blah.cs", expected: "c:\\code\\example\\..\\blah.cs")
✅ UnixToWindowsNormalize(path: "/example/", expected: "c:\\code\\example\\")
✅ UnixToWindowsNormalize(path: "/example/blah.cs", expected: "c:\\code\\example\\blah.cs")
✅ UnixToWindowsNormalize(path: null, expected: null)
✅ WindowsIsRooted(path: "\\..\\", expected: False)
✅ WindowsIsRooted(path: "c:", expected: True)
✅ WindowsIsRooted(path: "c:\\..\\", expected: True)
✅ WindowsIsRooted(path: "c:\\", expected: True)
✅ WindowsIsRooted(path: "c:\\\\\\", expected: True)
✅ WindowsIsRooted(path: "example\\blah.cs", expected: False)
✅ WindowsIsRooted(path: null, expected: False)
✅ WindowsToUnixNormalize(path: "c:\\", expected: "/code/")
✅ WindowsToUnixNormalize(path: "c:\\\\", expected: "/code/")
✅ WindowsToUnixNormalize(path: "c:\\src\\..\\blah.cs", expected: "/code/src/../blah.cs")
✅ WindowsToUnixNormalize(path: "c:\\src\\blah.cs", expected: "/code/src/blah.cs")
✅ WindowsToUnixNormalize(path: null, expected: null)

✅ Basic.CompilerLog.UnitTests.PathUtilTests

✅ RemovePathStart

✅ Basic.CompilerLog.UnitTests.ProgramTests

✅ AnalyzerBadOption
✅ AnalyzersError
✅ AnalyzersHelp
✅ AnalyzersSimple
✅ BadCommand
✅ Create(extra: "--out custom.complog", fileName: "custom.complog")
✅ Create(extra: "-o custom.complog", fileName: "custom.complog")
✅ Create(extra: "", fileName: "msbuild.complog")
✅ CreateEmpty
✅ CreateExistingComplog
✅ CreateExtraArguments
✅ CreateFullPath
✅ CreateHelp(arg: "-h")
✅ CreateHelp(arg: "-help")
✅ CreateNoopBuild
✅ CreateOverRemovedProject
✅ CreateProjectFile
✅ CreateWithBuild
✅ ExportBadOption
✅ ExportCompilerLog(arg: "-a none", expectedKind: None)
✅ ExportCompilerLog(arg: "-a ondisk", expectedKind: OnDisk)
✅ ExportCompilerLog(arg: "", expectedKind: null)
✅ ExportHelp
✅ Help(arg: "")
✅ Help(arg: "help")
✅ HelpVerbose
✅ PrintAll
✅ PrintBadFile
✅ PrintCompilers
✅ PrintDiffMetadata(metadataVersion: 1)
✅ PrintDiffMetadata(metadataVersion: 100)
✅ PrintDirectory
✅ PrintEmptyDirectory
✅ PrintError
✅ PrintFrameworks
✅ PrintHelp
⚪ PrintKinds
✅ PrintOne
✅ References
✅ ReferencesBadOption
✅ ReferencesHelp
✅ ReplayBadOption
✅ ReplayBadOptionCombination
✅ ReplayConsoleWithEmit(arg: "--none")
✅ ReplayConsoleWithEmit(arg: "")
✅ ReplayHelp
✅ ReplayNewCompiler
✅ ReplayWithArgs(command: "diagnostics", arg: "--none", kind: None)
✅ ReplayWithArgs(command: "emit", arg: "--none", kind: None)
✅ ReplayWithArgs(command: "replay", arg: "--analyzers inmemory", kind: InMemory)
✅ ReplayWithArgs(command: "replay", arg: "--analyzers none", kind: None)
✅ ReplayWithArgs(command: "replay", arg: "--analyzers ondisk", kind: OnDisk)
✅ ReplayWithArgs(command: "replay", arg: "--none", kind: None)
✅ ReplayWithArgs(command: "replay", arg: "--severity Error", kind: null)
✅ ReplayWithArgs(command: "replay", arg: "", kind: null)
✅ ReplayWithExport
✅ ResponseAll
✅ ResponseBadOption
✅ ResponseHelp
✅ ResponseLinuxComplog
✅ ResponseMultiTarget
✅ ResponseNoLogArgument
✅ ResponseNoLogAvailable
✅ ResponseOnCompilerLog
✅ ResponseOnInvalidFileType
✅ ResponseOutputPath
✅ ResponseProjectFilter
✅ ResponseSingleLine

✅ Basic.CompilerLog.UnitTests.ResilientDirectoryTests

✅ GetNewFilePath1
✅ GetNewFilePath2
✅ GetNewFilePathFlatten1
✅ GetNewFilePathFlatten2

✅ Basic.CompilerLog.UnitTests.RoslynUtilTests

✅ GetAssemblyFileName(commandLine: "/target:exe", expectedFileName: "app.exe")
✅ GetAssemblyFileName(commandLine: "/target:library other.cs", expectedFileName: "other.dll")
✅ GetAssemblyFileName(commandLine: "/target:library", expectedFileName: "app.dll")
✅ GetAssemblyFileName(commandLine: "/target:module other.cs", expectedFileName: "other.netmodule")
✅ GetAssemblyFileName(commandLine: "/target:module", expectedFileName: "app.netmodule")
✅ GetAssemblyFileName(commandLine: "/target:winexe", expectedFileName: "app.exe")
✅ IsGlobalConfig(data: IsGlobalConfigData-0)
✅ IsGlobalConfig(data: IsGlobalConfigData-1)
✅ IsGlobalConfig(data: IsGlobalConfigData-10)
✅ IsGlobalConfig(data: IsGlobalConfigData-11)
✅ IsGlobalConfig(data: IsGlobalConfigData-12)
✅ IsGlobalConfig(data: IsGlobalConfigData-13)
✅ IsGlobalConfig(data: IsGlobalConfigData-14)
✅ IsGlobalConfig(data: IsGlobalConfigData-2)
✅ IsGlobalConfig(data: IsGlobalConfigData-3)
✅ IsGlobalConfig(data: IsGlobalConfigData-4)
✅ IsGlobalConfig(data: IsGlobalConfigData-5)
✅ IsGlobalConfig(data: IsGlobalConfigData-6)
✅ IsGlobalConfig(data: IsGlobalConfigData-7)
✅ IsGlobalConfig(data: IsGlobalConfigData-8)
✅ IsGlobalConfig(data: IsGlobalConfigData-9)
✅ ParseAllCSharpEmpty
✅ ParseAllVisualBasicEmpty
✅ RewriteGlobalEditorConfigPaths

✅ Basic.CompilerLog.UnitTests.SdkUtilTests

✅ GetDotnetDirectoryBadPath

✅ Basic.CompilerLog.UnitTests.SolutionReaderTests

✅ CreateRespectLeaveOpen
✅ DocumentsGeneratedDefaultHost
✅ DocumentsGeneratedNoneHost

✅ Basic.CompilerLog.UnitTests.UsingAllCompilerLogTests

✅ ClassifyAll
✅ CommandLineArguments
✅ EmitToDisk
✅ EmitToMemory(basicAnalyzerKind: InMemory)
✅ EmitToMemory(basicAnalyzerKind: None)
✅ EmitToMemory(basicAnalyzerKind: OnDisk)
✅ EmitToMemoryCompilerLogWithSeparateState
✅ ExportAndBuild(includeAnalyzers: False)
✅ ExportAndBuild(includeAnalyzers: True)
✅ LoadAllCore(none: False)
✅ LoadAllCore(none: True)
✅ VerifyConsistentOptions

✅ TestResults-Windows-Core.trx

255 tests were completed in 285s with 255 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Basic.CompilerLog.UnitTests.BasicAnalyzerHostTests 4✅ 54ms
Basic.CompilerLog.UnitTests.BinaryLogReaderTests 17✅ 8s
Basic.CompilerLog.UnitTests.BinaryLogUtilTests 10✅ 4ms
Basic.CompilerLog.UnitTests.CodeAnalysisExtensionsTests 1✅ 4s
Basic.CompilerLog.UnitTests.CommonUtilTests 1✅ 88ms
Basic.CompilerLog.UnitTests.CompilationDataTests 7✅ 7s
Basic.CompilerLog.UnitTests.CompilationTaskDataTests 2✅ 3ms
Basic.CompilerLog.UnitTests.CompilerCallReaderUtilTests 4✅ 13ms
Basic.CompilerLog.UnitTests.CompilerLogBuilderTests 4✅ 7s
Basic.CompilerLog.UnitTests.CompilerLogReaderExTests 4✅ 1s
Basic.CompilerLog.UnitTests.CompilerLogReaderTests 38✅ 42s
Basic.CompilerLog.UnitTests.CompilerLogUtilTests 1✅ 1ms
Basic.CompilerLog.UnitTests.ExportUtilTests 11✅ 7s
Basic.CompilerLog.UnitTests.ExtensionsTests 3✅ 5ms
Basic.CompilerLog.UnitTests.FilterOptionSetTest 1✅ 6ms
Basic.CompilerLog.UnitTests.LogReaderStateTests 3✅ 5ms
Basic.CompilerLog.UnitTests.MetadataTests 5✅ 1ms
Basic.CompilerLog.UnitTests.MSBuildProjectDataTests 1✅ 3ms
Basic.CompilerLog.UnitTests.PathNormalizationUtilTests 25✅ 6ms
Basic.CompilerLog.UnitTests.PathUtilTests 1✅ 1ms
Basic.CompilerLog.UnitTests.ProgramTests 68✅ 57s
Basic.CompilerLog.UnitTests.ResilientDirectoryTests 4✅ 5ms
Basic.CompilerLog.UnitTests.RoslynUtilTests 24✅ 67ms
Basic.CompilerLog.UnitTests.SdkUtilTests 1✅ 1ms
Basic.CompilerLog.UnitTests.SolutionReaderTests 3✅ 752ms
Basic.CompilerLog.UnitTests.UsingAllCompilerLogTests 12✅ 36s

✅ Basic.CompilerLog.UnitTests.BasicAnalyzerHostTests

✅ Error
✅ NoneDispose
✅ NoneProps
✅ Supported

✅ Basic.CompilerLog.UnitTests.BinaryLogReaderTests

✅ CreateFilePath(basicAnalyzerKind: InMemory)
✅ CreateFilePath(basicAnalyzerKind: OnDisk)
✅ CreateFilePathLogReaderState
✅ CreateStream1(basicAnalyzerKind: InMemory, leaveOpen: False)
✅ CreateStream1(basicAnalyzerKind: InMemory, leaveOpen: True)
✅ CreateStream1(basicAnalyzerKind: OnDisk, leaveOpen: True)
✅ CreateStream2(basicAnalyzerKind: InMemory, leaveOpen: False)
✅ CreateStream2(basicAnalyzerKind: InMemory, leaveOpen: True)
✅ CreateStream2(basicAnalyzerKind: OnDisk, leaveOpen: True)
✅ DisposeDouble
✅ GetCompilationSimple(basicAnalyzerKind: InMemory)
✅ GetCompilationSimple(basicAnalyzerKind: None)
✅ GetCompilationSimple(basicAnalyzerKind: OnDisk)
✅ ReadCommandLineArgumentsOwnership
✅ ReadDeletedPdb
✅ VerifyBasicAnalyzerKind(basicAnalyzerKind: InMemory)
✅ VerifyBasicAnalyzerKind(basicAnalyzerKind: OnDisk)

✅ Basic.CompilerLog.UnitTests.BinaryLogUtilTests

✅ ParseCompilerAndArgumentsBad(inputArgs: "dotnet csc2 what we expect a.cs")
✅ ParseCompilerAndArgumentsBad(inputArgs: "dotnet exec vbc.dll what we expect a.cs")
✅ ParseCompilerAndArgumentsBad(inputArgs: "dotnet not what we expect a.cs")
✅ ParseCompilerAndArgumentsCsc(inputArgs: "csc.exe a.cs b.cs", expectedCompilerFilePath: "csc.exe", expectedArgs: "a.cs b.cs")
✅ ParseCompilerAndArgumentsCsc(inputArgs: "dotnet exec csc.dll a.cs", expectedCompilerFilePath: "csc.dll", expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsCsc(inputArgs: "dotnet-can-be-any-host-name exec csc.dll a.cs", expectedCompilerFilePath: "csc.dll", expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsCsc(inputArgs: "dotnet.exe exec csc.dll a.cs", expectedCompilerFilePath: "csc.dll", expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsVbc(inputArgs: "dotnet-can-be-any-host-name exec vbc.dll a.vb", expectedCompilerFilePath: "vbc.dll", expectedArgs: "a.vb")
✅ ParseCompilerAndArgumentsVbc(inputArgs: "dotnet.exe exec vbc.dll a.cs", expectedCompilerFilePath: "vbc.dll", expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsVbc(inputArgs: "vbc.exe a.cs b.cs", expectedCompilerFilePath: "vbc.exe", expectedArgs: "a.cs b.cs")

✅ Basic.CompilerLog.UnitTests.CodeAnalysisExtensionsTests

✅ EmitToMemory

✅ Basic.CompilerLog.UnitTests.CommonUtilTests

✅ GetAssemlbyLoadContext

✅ Basic.CompilerLog.UnitTests.CompilationDataTests

✅ EmitToMemoryCombinations
✅ EmitToMemoryRefOnly
✅ GetAllDiagnostics
✅ GetAnalyzersNoHosting
✅ GetAnalyzersNormal
✅ GetCompilationAfterGeneratorsDiagnostics
✅ GetDiagnostics

✅ Basic.CompilerLog.UnitTests.CompilationTaskDataTests

✅ TryCreateCompilerCallBadArguments
✅ TryCreateCompilerNoArguments

✅ Basic.CompilerLog.UnitTests.CompilerCallReaderUtilTests

✅ CreateBadExtension
✅ GetAllAnalyzerKinds(basicAnalyzerKind: InMemory)
✅ GetAllAnalyzerKinds(basicAnalyzerKind: None)
✅ GetAllAnalyzerKinds(basicAnalyzerKind: OnDisk)

✅ Basic.CompilerLog.UnitTests.CompilerLogBuilderTests

✅ AddMissingFile
✅ AddWithMissingCompilerFilePath
✅ CloseTwice
✅ PortablePdbMissing

✅ Basic.CompilerLog.UnitTests.CompilerLogReaderExTests

✅ AnalyzerConfigGeneratedCode(value: "0", expectedKind: Unknown)
✅ AnalyzerConfigGeneratedCode(value: "false", expectedKind: NotGenerated)
✅ AnalyzerConfigGeneratedCode(value: "true", expectedKind: MarkedGenerated)
✅ AnalyzerConfigNone

✅ Basic.CompilerLog.UnitTests.CompilerLogReaderTests

✅ AdditionalFiles
✅ AnalyzerDiagnostics
✅ AnalyzerLoadCaching(kind: InMemory)
✅ AnalyzerLoadCaching(kind: OnDisk)
✅ AnalyzerLoadDispose(kind: InMemory)
✅ AnalyzerLoadDispose(kind: OnDisk)
✅ AnalyzerLoadOptions
✅ ContentExtraSourceFile(fileName: "file1.cs")
✅ ContentExtraSourceFile(fileName: "file2.cs")
✅ CreateInvalidZipFile
✅ CreateStream1(basicAnalyzerKind: InMemory, leaveOpen: False)
✅ CreateStream1(basicAnalyzerKind: InMemory, leaveOpen: True)
✅ CreateStream1(basicAnalyzerKind: OnDisk, leaveOpen: True)
✅ CreateStream2(basicAnalyzerKind: InMemory, leaveOpen: False)
✅ CreateStream2(basicAnalyzerKind: InMemory, leaveOpen: True)
✅ CreateStream2(basicAnalyzerKind: OnDisk, leaveOpen: True)
✅ Disposed
✅ EmbedLineIssues
✅ GlobalConfigPathMap
✅ KeyFileCustomState
✅ KeyFileDefault
✅ KindWpf
✅ MetadataCompat(resourceName: "MetadataVersion1.console.complog")
✅ MetadataVersion
✅ NoneHostAddsNoGeneratorIfNoGeneratedSource
✅ NoneHostGeneratedFilesInRaw
✅ NoneHostGeneratedFilesShouldBeLast
✅ NoneHostHasNoGenerators
✅ NoneHostNativePdb
✅ ProjectMultiTarget
✅ ProjectSingleTarget
✅ ReadCompilationDataBadIndex(index: -1)
✅ ReadCompilationDataBadIndex(index: 100)
✅ ReadCompilerCallBadIndex(index: -1)
✅ ReadCompilerCallBadIndex(index: 100)
✅ ReadCompilerCallWrongOwner
✅ ResourceSimpleEmbedded
✅ VisualBasic

✅ Basic.CompilerLog.UnitTests.CompilerLogUtilTests

✅ CreateBadExtension

✅ Basic.CompilerLog.UnitTests.ExportUtilTests

✅ ConsoleMultiTarget
✅ ConsoleWithRuleset
✅ EmbedLineInsideProject
✅ ExportAll
✅ ExportAllBadPath
✅ ExportRsp1
✅ ExportRsp2
✅ GeneratedText
✅ GeneratedTextExcludeAnalyzers
✅ GlobalConfigMapsPaths
✅ StrongNameKey

✅ Basic.CompilerLog.UnitTests.ExtensionsTests

✅ AddRange
✅ CheckEmitFlags
✅ GetFailureString

✅ Basic.CompilerLog.UnitTests.FilterOptionSetTest

✅ CheckForAnalyzers

✅ Basic.CompilerLog.UnitTests.LogReaderStateTests

✅ CustomAssemblyLoadContext
✅ DisposeCleansUpDirectories
✅ DisposeDirectoryLocked

✅ Basic.CompilerLog.UnitTests.MetadataTests

✅ ParseBadCount
✅ ParseBadFormat
✅ ParseBadVersion
✅ ParseVersion0
✅ ParseVersion1

✅ Basic.CompilerLog.UnitTests.MSBuildProjectDataTests

✅ MSBuildProjectDataToString

✅ Basic.CompilerLog.UnitTests.PathNormalizationUtilTests

✅ EmptyIsRooted
✅ UnixIsRooted(path: "../", expected: False)
✅ UnixIsRooted(path: "/", expected: True)
✅ UnixIsRooted(path: "/blah", expected: True)
✅ UnixIsRooted(path: "/code/blah.cs", expected: True)
✅ UnixIsRooted(path: "example/blah.cs", expected: False)
✅ UnixIsRooted(path: null, expected: False)
✅ UnixToWindowsNormalize(path: "/", expected: "c:\\code\\")
✅ UnixToWindowsNormalize(path: "/example", expected: "c:\\code\\example")
✅ UnixToWindowsNormalize(path: "/example/../blah.cs", expected: "c:\\code\\example\\..\\blah.cs")
✅ UnixToWindowsNormalize(path: "/example/", expected: "c:\\code\\example\\")
✅ UnixToWindowsNormalize(path: "/example/blah.cs", expected: "c:\\code\\example\\blah.cs")
✅ UnixToWindowsNormalize(path: null, expected: null)
✅ WindowsIsRooted(path: "\\..\\", expected: False)
✅ WindowsIsRooted(path: "c:", expected: True)
✅ WindowsIsRooted(path: "c:\\..\\", expected: True)
✅ WindowsIsRooted(path: "c:\\", expected: True)
✅ WindowsIsRooted(path: "c:\\\\\\", expected: True)
✅ WindowsIsRooted(path: "example\\blah.cs", expected: False)
✅ WindowsIsRooted(path: null, expected: False)
✅ WindowsToUnixNormalize(path: "c:\\", expected: "/code/")
✅ WindowsToUnixNormalize(path: "c:\\\\", expected: "/code/")
✅ WindowsToUnixNormalize(path: "c:\\src\\..\\blah.cs", expected: "/code/src/../blah.cs")
✅ WindowsToUnixNormalize(path: "c:\\src\\blah.cs", expected: "/code/src/blah.cs")
✅ WindowsToUnixNormalize(path: null, expected: null)

✅ Basic.CompilerLog.UnitTests.PathUtilTests

✅ RemovePathStart

✅ Basic.CompilerLog.UnitTests.ProgramTests

✅ AnalyzerBadOption
✅ AnalyzersError
✅ AnalyzersHelp
✅ AnalyzersSimple
✅ BadCommand
✅ Create(extra: "--out custom.complog", fileName: "custom.complog")
✅ Create(extra: "-o custom.complog", fileName: "custom.complog")
✅ Create(extra: "", fileName: "msbuild.complog")
✅ CreateEmpty
✅ CreateExistingComplog
✅ CreateExtraArguments
✅ CreateFullPath
✅ CreateHelp(arg: "-h")
✅ CreateHelp(arg: "-help")
✅ CreateNoopBuild
✅ CreateOverRemovedProject
✅ CreateProjectFile
✅ CreateWithBuild
✅ ExportBadOption
✅ ExportCompilerLog(arg: "-a none", expectedKind: None)
✅ ExportCompilerLog(arg: "-a ondisk", expectedKind: OnDisk)
✅ ExportCompilerLog(arg: "", expectedKind: null)
✅ ExportHelp
✅ Help(arg: "")
✅ Help(arg: "help")
✅ HelpVerbose
✅ PrintAll
✅ PrintBadFile
✅ PrintCompilers
✅ PrintDiffMetadata(metadataVersion: 1)
✅ PrintDiffMetadata(metadataVersion: 100)
✅ PrintDirectory
✅ PrintEmptyDirectory
✅ PrintError
✅ PrintFrameworks
✅ PrintHelp
✅ PrintKinds
✅ PrintOne
✅ References
✅ ReferencesBadOption
✅ ReferencesHelp
✅ ReplayBadOption
✅ ReplayBadOptionCombination
✅ ReplayConsoleWithEmit(arg: "--none")
✅ ReplayConsoleWithEmit(arg: "")
✅ ReplayHelp
✅ ReplayNewCompiler
✅ ReplayWithArgs(command: "diagnostics", arg: "--none", kind: None)
✅ ReplayWithArgs(command: "emit", arg: "--none", kind: None)
✅ ReplayWithArgs(command: "replay", arg: "--analyzers inmemory", kind: InMemory)
✅ ReplayWithArgs(command: "replay", arg: "--analyzers none", kind: None)
✅ ReplayWithArgs(command: "replay", arg: "--analyzers ondisk", kind: OnDisk)
✅ ReplayWithArgs(command: "replay", arg: "--none", kind: None)
✅ ReplayWithArgs(command: "replay", arg: "--severity Error", kind: null)
✅ ReplayWithArgs(command: "replay", arg: "", kind: null)
✅ ReplayWithExport
✅ ResponseAll
✅ ResponseBadOption
✅ ResponseHelp
✅ ResponseLinuxComplog
✅ ResponseMultiTarget
✅ ResponseNoLogArgument
✅ ResponseNoLogAvailable
✅ ResponseOnCompilerLog
✅ ResponseOnInvalidFileType
✅ ResponseOutputPath
✅ ResponseProjectFilter
✅ ResponseSingleLine

✅ Basic.CompilerLog.UnitTests.ResilientDirectoryTests

✅ GetNewFilePath1
✅ GetNewFilePath2
✅ GetNewFilePathFlatten1
✅ GetNewFilePathFlatten2

✅ Basic.CompilerLog.UnitTests.RoslynUtilTests

✅ GetAssemblyFileName(commandLine: "/target:exe", expectedFileName: "app.exe")
✅ GetAssemblyFileName(commandLine: "/target:library other.cs", expectedFileName: "other.dll")
✅ GetAssemblyFileName(commandLine: "/target:library", expectedFileName: "app.dll")
✅ GetAssemblyFileName(commandLine: "/target:module other.cs", expectedFileName: "other.netmodule")
✅ GetAssemblyFileName(commandLine: "/target:module", expectedFileName: "app.netmodule")
✅ GetAssemblyFileName(commandLine: "/target:winexe", expectedFileName: "app.exe")
✅ IsGlobalConfig(data: IsGlobalConfigData-0)
✅ IsGlobalConfig(data: IsGlobalConfigData-1)
✅ IsGlobalConfig(data: IsGlobalConfigData-10)
✅ IsGlobalConfig(data: IsGlobalConfigData-11)
✅ IsGlobalConfig(data: IsGlobalConfigData-12)
✅ IsGlobalConfig(data: IsGlobalConfigData-13)
✅ IsGlobalConfig(data: IsGlobalConfigData-14)
✅ IsGlobalConfig(data: IsGlobalConfigData-2)
✅ IsGlobalConfig(data: IsGlobalConfigData-3)
✅ IsGlobalConfig(data: IsGlobalConfigData-4)
✅ IsGlobalConfig(data: IsGlobalConfigData-5)
✅ IsGlobalConfig(data: IsGlobalConfigData-6)
✅ IsGlobalConfig(data: IsGlobalConfigData-7)
✅ IsGlobalConfig(data: IsGlobalConfigData-8)
✅ IsGlobalConfig(data: IsGlobalConfigData-9)
✅ ParseAllCSharpEmpty
✅ ParseAllVisualBasicEmpty
✅ RewriteGlobalEditorConfigPaths

✅ Basic.CompilerLog.UnitTests.SdkUtilTests

✅ GetDotnetDirectoryBadPath

✅ Basic.CompilerLog.UnitTests.SolutionReaderTests

✅ CreateRespectLeaveOpen
✅ DocumentsGeneratedDefaultHost
✅ DocumentsGeneratedNoneHost

✅ Basic.CompilerLog.UnitTests.UsingAllCompilerLogTests

✅ ClassifyAll
✅ CommandLineArguments
✅ EmitToDisk
✅ EmitToMemory(basicAnalyzerKind: InMemory)
✅ EmitToMemory(basicAnalyzerKind: None)
✅ EmitToMemory(basicAnalyzerKind: OnDisk)
✅ EmitToMemoryCompilerLogWithSeparateState
✅ ExportAndBuild(includeAnalyzers: False)
✅ ExportAndBuild(includeAnalyzers: True)
✅ LoadAllCore(none: False)
✅ LoadAllCore(none: True)
✅ VerifyConsistentOptions

✅ TestResults-Windows-Framework.trx

255 tests were completed in 178s with 255 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Basic.CompilerLog.UnitTests.BasicAnalyzerHostTests 4✅ 8ms
Basic.CompilerLog.UnitTests.BinaryLogReaderTests 17✅ 10s
Basic.CompilerLog.UnitTests.BinaryLogUtilTests 10✅ 5ms
Basic.CompilerLog.UnitTests.CodeAnalysisExtensionsTests 1✅ 4s
Basic.CompilerLog.UnitTests.CommonUtilTests 1✅ 0ms
Basic.CompilerLog.UnitTests.CompilationDataTests 7✅ 8s
Basic.CompilerLog.UnitTests.CompilationTaskDataTests 2✅ 1ms
Basic.CompilerLog.UnitTests.CompilerCallReaderUtilTests 4✅ 7ms
Basic.CompilerLog.UnitTests.CompilerLogBuilderTests 4✅ 3s
Basic.CompilerLog.UnitTests.CompilerLogReaderExTests 4✅ 943ms
Basic.CompilerLog.UnitTests.CompilerLogReaderTests 38✅ 36s
Basic.CompilerLog.UnitTests.CompilerLogUtilTests 1✅ 1ms
Basic.CompilerLog.UnitTests.ExportUtilTests 11✅ 8s
Basic.CompilerLog.UnitTests.ExtensionsTests 3✅ 5ms
Basic.CompilerLog.UnitTests.FilterOptionSetTest 1✅ 8ms
Basic.CompilerLog.UnitTests.LogReaderStateTests 3✅ 8ms
Basic.CompilerLog.UnitTests.MetadataTests 5✅ 3ms
Basic.CompilerLog.UnitTests.MSBuildProjectDataTests 1✅ 0ms
Basic.CompilerLog.UnitTests.PathNormalizationUtilTests 25✅ 3ms
Basic.CompilerLog.UnitTests.PathUtilTests 1✅ 1ms
Basic.CompilerLog.UnitTests.ProgramTests 68✅ 51s
Basic.CompilerLog.UnitTests.ResilientDirectoryTests 4✅ 8ms
Basic.CompilerLog.UnitTests.RoslynUtilTests 24✅ 56ms
Basic.CompilerLog.UnitTests.SdkUtilTests 1✅ 1ms
Basic.CompilerLog.UnitTests.SolutionReaderTests 3✅ 747ms
Basic.CompilerLog.UnitTests.UsingAllCompilerLogTests 12✅ 36s

✅ Basic.CompilerLog.UnitTests.BasicAnalyzerHostTests

✅ Error
✅ NoneDispose
✅ NoneProps
✅ Supported

✅ Basic.CompilerLog.UnitTests.BinaryLogReaderTests

✅ CreateFilePath(basicAnalyzerKind: InMemory)
✅ CreateFilePath(basicAnalyzerKind: OnDisk)
✅ CreateFilePathLogReaderState
✅ CreateStream1(basicAnalyzerKind: InMemory, leaveOpen: False)
✅ CreateStream1(basicAnalyzerKind: InMemory, leaveOpen: True)
✅ CreateStream1(basicAnalyzerKind: OnDisk, leaveOpen: True)
✅ CreateStream2(basicAnalyzerKind: InMemory, leaveOpen: False)
✅ CreateStream2(basicAnalyzerKind: InMemory, leaveOpen: True)
✅ CreateStream2(basicAnalyzerKind: OnDisk, leaveOpen: True)
✅ DisposeDouble
✅ GetCompilationSimple(basicAnalyzerKind: InMemory)
✅ GetCompilationSimple(basicAnalyzerKind: None)
✅ GetCompilationSimple(basicAnalyzerKind: OnDisk)
✅ ReadCommandLineArgumentsOwnership
✅ ReadDeletedPdb
✅ VerifyBasicAnalyzerKind(basicAnalyzerKind: InMemory)
✅ VerifyBasicAnalyzerKind(basicAnalyzerKind: OnDisk)

✅ Basic.CompilerLog.UnitTests.BinaryLogUtilTests

✅ ParseCompilerAndArgumentsBad(inputArgs: "dotnet csc2 what we expect a.cs")
✅ ParseCompilerAndArgumentsBad(inputArgs: "dotnet exec vbc.dll what we expect a.cs")
✅ ParseCompilerAndArgumentsBad(inputArgs: "dotnet not what we expect a.cs")
✅ ParseCompilerAndArgumentsCsc(inputArgs: "csc.exe a.cs b.cs", expectedCompilerFilePath: "csc.exe", expectedArgs: "a.cs b.cs")
✅ ParseCompilerAndArgumentsCsc(inputArgs: "dotnet exec csc.dll a.cs", expectedCompilerFilePath: "csc.dll", expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsCsc(inputArgs: "dotnet-can-be-any-host-name exec csc.dll a.cs", expectedCompilerFilePath: "csc.dll", expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsCsc(inputArgs: "dotnet.exe exec csc.dll a.cs", expectedCompilerFilePath: "csc.dll", expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsVbc(inputArgs: "dotnet-can-be-any-host-name exec vbc.dll a.vb", expectedCompilerFilePath: "vbc.dll", expectedArgs: "a.vb")
✅ ParseCompilerAndArgumentsVbc(inputArgs: "dotnet.exe exec vbc.dll a.cs", expectedCompilerFilePath: "vbc.dll", expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsVbc(inputArgs: "vbc.exe a.cs b.cs", expectedCompilerFilePath: "vbc.exe", expectedArgs: "a.cs b.cs")

✅ Basic.CompilerLog.UnitTests.CodeAnalysisExtensionsTests

✅ EmitToMemory

✅ Basic.CompilerLog.UnitTests.CommonUtilTests

✅ GetAssemlbyLoadContext

✅ Basic.CompilerLog.UnitTests.CompilationDataTests

✅ EmitToMemoryCombinations
✅ EmitToMemoryRefOnly
✅ GetAllDiagnostics
✅ GetAnalyzersNoHosting
✅ GetAnalyzersNormal
✅ GetCompilationAfterGeneratorsDiagnostics
✅ GetDiagnostics

✅ Basic.CompilerLog.UnitTests.CompilationTaskDataTests

✅ TryCreateCompilerCallBadArguments
✅ TryCreateCompilerNoArguments

✅ Basic.CompilerLog.UnitTests.CompilerCallReaderUtilTests

✅ CreateBadExtension
✅ GetAllAnalyzerKinds(basicAnalyzerKind: InMemory)
✅ GetAllAnalyzerKinds(basicAnalyzerKind: None)
✅ GetAllAnalyzerKinds(basicAnalyzerKind: OnDisk)

✅ Basic.CompilerLog.UnitTests.CompilerLogBuilderTests

✅ AddMissingFile
✅ AddWithMissingCompilerFilePath
✅ CloseTwice
✅ PortablePdbMissing

✅ Basic.CompilerLog.UnitTests.CompilerLogReaderExTests

✅ AnalyzerConfigGeneratedCode(value: "0", expectedKind: Unknown)
✅ AnalyzerConfigGeneratedCode(value: "false", expectedKind: NotGenerated)
✅ AnalyzerConfigGeneratedCode(value: "true", expectedKind: MarkedGenerated)
✅ AnalyzerConfigNone

✅ Basic.CompilerLog.UnitTests.CompilerLogReaderTests

✅ AdditionalFiles
✅ AnalyzerDiagnostics
✅ AnalyzerLoadCaching(kind: InMemory)
✅ AnalyzerLoadCaching(kind: OnDisk)
✅ AnalyzerLoadDispose(kind: InMemory)
✅ AnalyzerLoadDispose(kind: OnDisk)
✅ AnalyzerLoadOptions
✅ ContentExtraSourceFile(fileName: "file1.cs")
✅ ContentExtraSourceFile(fileName: "file2.cs")
✅ CreateInvalidZipFile
✅ CreateStream1(basicAnalyzerKind: InMemory, leaveOpen: False)
✅ CreateStream1(basicAnalyzerKind: InMemory, leaveOpen: True)
✅ CreateStream1(basicAnalyzerKind: OnDisk, leaveOpen: True)
✅ CreateStream2(basicAnalyzerKind: InMemory, leaveOpen: False)
✅ CreateStream2(basicAnalyzerKind: InMemory, leaveOpen: True)
✅ CreateStream2(basicAnalyzerKind: OnDisk, leaveOpen: True)
✅ Disposed
✅ EmbedLineIssues
✅ GlobalConfigPathMap
✅ KeyFileCustomState
✅ KeyFileDefault
✅ KindWpf
✅ MetadataCompat(resourceName: "MetadataVersion1.console.complog")
✅ MetadataVersion
✅ NoneHostAddsNoGeneratorIfNoGeneratedSource
✅ NoneHostGeneratedFilesInRaw
✅ NoneHostGeneratedFilesShouldBeLast
✅ NoneHostHasNoGenerators
✅ NoneHostNativePdb
✅ ProjectMultiTarget
✅ ProjectSingleTarget
✅ ReadCompilationDataBadIndex(index: -1)
✅ ReadCompilationDataBadIndex(index: 100)
✅ ReadCompilerCallBadIndex(index: -1)
✅ ReadCompilerCallBadIndex(index: 100)
✅ ReadCompilerCallWrongOwner
✅ ResourceSimpleEmbedded
✅ VisualBasic

✅ Basic.CompilerLog.UnitTests.CompilerLogUtilTests

✅ CreateBadExtension

✅ Basic.CompilerLog.UnitTests.ExportUtilTests

✅ ConsoleMultiTarget
✅ ConsoleWithRuleset
✅ EmbedLineInsideProject
✅ ExportAll
✅ ExportAllBadPath
✅ ExportRsp1
✅ ExportRsp2
✅ GeneratedText
✅ GeneratedTextExcludeAnalyzers
✅ GlobalConfigMapsPaths
✅ StrongNameKey

✅ Basic.CompilerLog.UnitTests.ExtensionsTests

✅ AddRange
✅ CheckEmitFlags
✅ GetFailureString

✅ Basic.CompilerLog.UnitTests.FilterOptionSetTest

✅ CheckForAnalyzers

✅ Basic.CompilerLog.UnitTests.LogReaderStateTests

✅ CustomAssemblyLoadContext
✅ DisposeCleansUpDirectories
✅ DisposeDirectoryLocked

✅ Basic.CompilerLog.UnitTests.MetadataTests

✅ ParseBadCount
✅ ParseBadFormat
✅ ParseBadVersion
✅ ParseVersion0
✅ ParseVersion1

✅ Basic.CompilerLog.UnitTests.MSBuildProjectDataTests

✅ MSBuildProjectDataToString

✅ Basic.CompilerLog.UnitTests.PathNormalizationUtilTests

✅ EmptyIsRooted
✅ UnixIsRooted(path: "../", expected: False)
✅ UnixIsRooted(path: "/", expected: True)
✅ UnixIsRooted(path: "/blah", expected: True)
✅ UnixIsRooted(path: "/code/blah.cs", expected: True)
✅ UnixIsRooted(path: "example/blah.cs", expected: False)
✅ UnixIsRooted(path: null, expected: False)
✅ UnixToWindowsNormalize(path: "/", expected: "c:\\code\\")
✅ UnixToWindowsNormalize(path: "/example", expected: "c:\\code\\example")
✅ UnixToWindowsNormalize(path: "/example/../blah.cs", expected: "c:\\code\\example\\..\\blah.cs")
✅ UnixToWindowsNormalize(path: "/example/", expected: "c:\\code\\example\\")
✅ UnixToWindowsNormalize(path: "/example/blah.cs", expected: "c:\\code\\example\\blah.cs")
✅ UnixToWindowsNormalize(path: null, expected: null)
✅ WindowsIsRooted(path: "\\..\\", expected: False)
✅ WindowsIsRooted(path: "c:", expected: True)
✅ WindowsIsRooted(path: "c:\\..\\", expected: True)
✅ WindowsIsRooted(path: "c:\\", expected: True)
✅ WindowsIsRooted(path: "c:\\\\\\", expected: True)
✅ WindowsIsRooted(path: "example\\blah.cs", expected: False)
✅ WindowsIsRooted(path: null, expected: False)
✅ WindowsToUnixNormalize(path: "c:\\", expected: "/code/")
✅ WindowsToUnixNormalize(path: "c:\\\\", expected: "/code/")
✅ WindowsToUnixNormalize(path: "c:\\src\\..\\blah.cs", expected: "/code/src/../blah.cs")
✅ WindowsToUnixNormalize(path: "c:\\src\\blah.cs", expected: "/code/src/blah.cs")
✅ WindowsToUnixNormalize(path: null, expected: null)

✅ Basic.CompilerLog.UnitTests.PathUtilTests

✅ RemovePathStart

✅ Basic.CompilerLog.UnitTests.ProgramTests

✅ AnalyzerBadOption
✅ AnalyzersError
✅ AnalyzersHelp
✅ AnalyzersSimple
✅ BadCommand
✅ Create(extra: "--out custom.complog", fileName: "custom.complog")
✅ Create(extra: "-o custom.complog", fileName: "custom.complog")
✅ Create(extra: "", fileName: "msbuild.complog")
✅ CreateEmpty
✅ CreateExistingComplog
✅ CreateExtraArguments
✅ CreateFullPath
✅ CreateHelp(arg: "-h")
✅ CreateHelp(arg: "-help")
✅ CreateNoopBuild
✅ CreateOverRemovedProject
✅ CreateProjectFile
✅ CreateWithBuild
✅ ExportBadOption
✅ ExportCompilerLog(arg: "-a none", expectedKind: None)
✅ ExportCompilerLog(arg: "-a ondisk", expectedKind: OnDisk)
✅ ExportCompilerLog(arg: "", expectedKind: null)
✅ ExportHelp
✅ Help(arg: "")
✅ Help(arg: "help")
✅ HelpVerbose
✅ PrintAll
✅ PrintBadFile
✅ PrintCompilers
✅ PrintDiffMetadata(metadataVersion: 1)
✅ PrintDiffMetadata(metadataVersion: 100)
✅ PrintDirectory
✅ PrintEmptyDirectory
✅ PrintError
✅ PrintFrameworks
✅ PrintHelp
✅ PrintKinds
✅ PrintOne
✅ References
✅ ReferencesBadOption
✅ ReferencesHelp
✅ ReplayBadOption
✅ ReplayBadOptionCombination
✅ ReplayConsoleWithEmit(arg: "--none")
✅ ReplayConsoleWithEmit(arg: "")
✅ ReplayHelp
✅ ReplayNewCompiler
✅ ReplayWithArgs(command: "diagnostics", arg: "--none", kind: None)
✅ ReplayWithArgs(command: "emit", arg: "--none", kind: None)
✅ ReplayWithArgs(command: "replay", arg: "--analyzers inmemory", kind: InMemory)
✅ ReplayWithArgs(command: "replay", arg: "--analyzers none", kind: None)
✅ ReplayWithArgs(command: "replay", arg: "--analyzers ondisk", kind: OnDisk)
✅ ReplayWithArgs(command: "replay", arg: "--none", kind: None)
✅ ReplayWithArgs(command: "replay", arg: "--severity Error", kind: null)
✅ ReplayWithArgs(command: "replay", arg: "", kind: null)
✅ ReplayWithExport
✅ ResponseAll
✅ ResponseBadOption
✅ ResponseHelp
✅ ResponseLinuxComplog
✅ ResponseMultiTarget
✅ ResponseNoLogArgument
✅ ResponseNoLogAvailable
✅ ResponseOnCompilerLog
✅ ResponseOnInvalidFileType
✅ ResponseOutputPath
✅ ResponseProjectFilter
✅ ResponseSingleLine

✅ Basic.CompilerLog.UnitTests.ResilientDirectoryTests

✅ GetNewFilePath1
✅ GetNewFilePath2
✅ GetNewFilePathFlatten1
✅ GetNewFilePathFlatten2

✅ Basic.CompilerLog.UnitTests.RoslynUtilTests

✅ GetAssemblyFileName(commandLine: "/target:exe", expectedFileName: "app.exe")
✅ GetAssemblyFileName(commandLine: "/target:library other.cs", expectedFileName: "other.dll")
✅ GetAssemblyFileName(commandLine: "/target:library", expectedFileName: "app.dll")
✅ GetAssemblyFileName(commandLine: "/target:module other.cs", expectedFileName: "other.netmodule")
✅ GetAssemblyFileName(commandLine: "/target:module", expectedFileName: "app.netmodule")
✅ GetAssemblyFileName(commandLine: "/target:winexe", expectedFileName: "app.exe")
✅ IsGlobalConfig(data: IsGlobalConfigData-0)
✅ IsGlobalConfig(data: IsGlobalConfigData-1)
✅ IsGlobalConfig(data: IsGlobalConfigData-10)
✅ IsGlobalConfig(data: IsGlobalConfigData-11)
✅ IsGlobalConfig(data: IsGlobalConfigData-12)
✅ IsGlobalConfig(data: IsGlobalConfigData-13)
✅ IsGlobalConfig(data: IsGlobalConfigData-14)
✅ IsGlobalConfig(data: IsGlobalConfigData-2)
✅ IsGlobalConfig(data: IsGlobalConfigData-3)
✅ IsGlobalConfig(data: IsGlobalConfigData-4)
✅ IsGlobalConfig(data: IsGlobalConfigData-5)
✅ IsGlobalConfig(data: IsGlobalConfigData-6)
✅ IsGlobalConfig(data: IsGlobalConfigData-7)
✅ IsGlobalConfig(data: IsGlobalConfigData-8)
✅ IsGlobalConfig(data: IsGlobalConfigData-9)
✅ ParseAllCSharpEmpty
✅ ParseAllVisualBasicEmpty
✅ RewriteGlobalEditorConfigPaths

✅ Basic.CompilerLog.UnitTests.SdkUtilTests

✅ GetDotnetDirectoryBadPath

✅ Basic.CompilerLog.UnitTests.SolutionReaderTests

✅ CreateRespectLeaveOpen
✅ DocumentsGeneratedDefaultHost
✅ DocumentsGeneratedNoneHost

✅ Basic.CompilerLog.UnitTests.UsingAllCompilerLogTests

✅ ClassifyAll
✅ CommandLineArguments
✅ EmitToDisk
✅ EmitToMemory(basicAnalyzerKind: InMemory)
✅ EmitToMemory(basicAnalyzerKind: None)
✅ EmitToMemory(basicAnalyzerKind: OnDisk)
✅ EmitToMemoryCompilerLogWithSeparateState
✅ ExportAndBuild(includeAnalyzers: False)
✅ ExportAndBuild(includeAnalyzers: True)
✅ LoadAllCore(none: False)
✅ LoadAllCore(none: True)
✅ VerifyConsistentOptions