Skip to content

More tests

More tests #202

GitHub Actions / .NET Test Results failed Dec 7, 2023 in 0s

.NET Test Results ❌

Tests failed

❌ TestResults-Linux.trx

107 tests were completed in 92s with 106 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Basic.CompilerLog.UnitTests.BasicAnalyzerHostTests 3✅ 4ms
Basic.CompilerLog.UnitTests.CompilerLogReaderTests 23✅ 59s
Basic.CompilerLog.UnitTests.ExportUtilTests 10✅ 7s
Basic.CompilerLog.UnitTests.MetadataTests 2✅ 13ms
Basic.CompilerLog.UnitTests.ProgramTests 55✅ 1❌ 43s
Basic.CompilerLog.UnitTests.ResilientDirectoryTests 4✅ 14ms
Basic.CompilerLog.UnitTests.SolutionReaderTests 2✅ 676ms
Basic.CompilerLog.UnitTests.UsingAllCompilerLogTests 7✅ 16s

✅ Basic.CompilerLog.UnitTests.BasicAnalyzerHostTests

✅ Dispose
✅ Props
✅ Supported

✅ 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")
✅ Disposed
✅ EmbedLineIssues
✅ KeyFileCustomState
✅ KeyFileDefault
✅ KindWpf
✅ MetadataCompat(resourceName: "MetadataVersion1.console.complog")
✅ NoneHostAddsFakeGeneratorForGeneratedSource
✅ NoneHostAddsNoGeneratorIfNoGeneratedSource
✅ NoneHostGeneratedFilesInRaw
✅ NoneHostGeneratedFilesShouldBeLast
✅ NoneHostNativePdb
✅ ProjectMultiTarget
✅ ProjectSingleTarget
✅ ResourceSimpleEmbedded

✅ Basic.CompilerLog.UnitTests.ExportUtilTests

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

✅ Basic.CompilerLog.UnitTests.MetadataTests

✅ ParseVersion0
✅ ParseVersion1

❌ 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: "--exclude-analyzers")
✅ ExportCompilerLog(arg: "")
✅ ExportHelp
✅ Help
✅ HelpVerbose
✅ PrintAll
✅ PrintDirectory
✅ PrintError
✅ PrintHelp
✅ PrintOne
✅ References
✅ ReferencesBadOption
✅ ReferencesHelp
✅ RelpayBadOptionCombination
✅ ReplayBadOption
✅ ReplayConsoleWithEmit(arg: "-none")
✅ ReplayConsoleWithEmit(arg: "")
✅ ReplayHelp
✅ ReplayWithArgs(command: "diagnostics", arg: "-none")
✅ ReplayWithArgs(command: "emit", arg: "-none")
✅ ReplayWithArgs(command: "replay", arg: "-analyzers")
✅ ReplayWithArgs(command: "replay", arg: "-none")
✅ ReplayWithArgs(command: "replay", arg: "-severity Error")
✅ ReplayWithArgs(command: "replay", arg: "")
✅ ReplayWithExport
✅ ResponseAll
✅ ResponseBadOption
✅ ResponseHelp
✅ ResponseLinuxComplog
✅ ResponseMultiTarget
❌ ResponseNoLogArgument
	Assert.True() Failure
	Expected: True
	Actual:   False
✅ ResponseNoLogAvailable
✅ ResponseOnCompilerLog
✅ ResponseOnInvalidFileType
✅ ResponseOutputPath
✅ ResponseProjectFilter
✅ ResponseSingleLine

✅ Basic.CompilerLog.UnitTests.ResilientDirectoryTests

✅ GetNewFilePath1
✅ GetNewFilePath2
✅ GetNewFilePathFlatten1
✅ GetNewFilePathFlatten2

✅ Basic.CompilerLog.UnitTests.SolutionReaderTests

✅ DocumentsHaveGeneratedTextWithAnalyzers(kind: Default)
✅ DocumentsHaveGeneratedTextWithAnalyzers(kind: None)

✅ Basic.CompilerLog.UnitTests.UsingAllCompilerLogTests

✅ CommandLineArguments
✅ EmitToDisk
✅ EmitToMemory
✅ ExportAndBuild(includeAnalyzers: False)
✅ ExportAndBuild(includeAnalyzers: True)
✅ LoadAllCore(none: False)
✅ LoadAllCore(none: True)

Annotations

Check failure on line 301 in src/Basic.CompilerLog.UnitTests/ProgramTests.cs

See this annotation in the file changed.

@github-actions github-actions / .NET Test Results

Basic.CompilerLog.UnitTests.ProgramTests ► ResponseNoLogArgument

Failed test found in:
  TestResults-Linux.trx
Error:
  Assert.True() Failure
  Expected: True
  Actual:   False
Raw output
Assert.True() Failure
Expected: True
Actual:   False
   at Basic.CompilerLog.UnitTests.ProgramTests.ResponseNoLogArgument() in /home/runner/work/complog/complog/src/Basic.CompilerLog.UnitTests/ProgramTests.cs:line 301
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)