You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's some new test output auto-diffing feature that is rendering the test output window entirely useless for Roslyn. The actual test output from the log is:
[xUnit.net 00:00:00.43] Starting: Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests
[xUnit.net 00:00:01.10] Microsoft.CodeAnalysis.CSharp.Test.OverloadResolutionPriorityTests.ExtensionsOnlyFilteredByApplicability [FAIL]
[xUnit.net 00:00:01.10]
[xUnit.net 00:00:01.10] Expected:
[xUnit.net 00:00:01.10] Actual:
[xUnit.net 00:00:01.10] // (9,11): error CS0121: The call is ambiguous between the following methods or properties: 'E1.R(int)' and 'E2.R(int)'
[xUnit.net 00:00:01.11] // x.R(); // E1.R(int)
[xUnit.net 00:00:01.11] Diagnostic(ErrorCode.ERR_AmbigCall, "R").WithArguments("E1.R(int)", "E2.R(int)").WithLocation(9, 11)
[xUnit.net 00:00:01.11] Diff:
[xUnit.net 00:00:01.11] ++> Diagnostic(ErrorCode.ERR_AmbigCall, "R").WithArguments("E1.R(int)", "E2.R(int)").WithLocation(9, 11)
[xUnit.net 00:00:01.11] Stack Trace:
[xUnit.net 00:00:01.11] /home/fred/git/roslyn/src/Compilers/Test/Core/Diagnostics/DiagnosticExtensions.cs(99,0): at Microsoft.CodeAnalysis.DiagnosticExtensions.Verify(IEnumerable`1 actual, DiagnosticDescription[] expected, Boolean errorCodeOnly)
[xUnit.net 00:00:01.11] /home/fred/git/roslyn/src/Compilers/Test/Core/Diagnostics/DiagnosticExtensions.cs(48,0): at Microsoft.CodeAnalysis.DiagnosticExtensions.Verify(IEnumerable`1 actual, DiagnosticDescription[] expected)
[xUnit.net 00:00:01.11] /home/fred/git/roslyn/src/Compilers/Test/Core/Diagnostics/DiagnosticExtensions.cs(63,0): at Microsoft.CodeAnalysis.DiagnosticExtensions.Verify(ImmutableArray`1 actual, DiagnosticDescription[] expected)
[xUnit.net 00:00:01.11] /home/fred/git/roslyn/src/Compilers/Test/Core/Diagnostics/DiagnosticExtensions.cs(109,0): at Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyDiagnostics[TCompilation](TCompilation c, DiagnosticDescription[] expected)
[xUnit.net 00:00:01.11] /home/fred/git/roslyn/src/Compilers/CSharp/Test/Emit3/OverloadResolutionPriorityTests.cs(2635,0): at Microsoft.CodeAnalysis.CSharp.Test.OverloadResolutionPriorityTests.ExtensionsOnlyFilteredByApplicability()
[xUnit.net 00:00:01.11] at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
[xUnit.net 00:00:01.11] at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
[xUnit.net 00:00:01.11] Finished: Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests
However, the test results window doesn't the full output anymore. It just shows the first line of the comment; the error text here tells me exactly what I need to copy into the test file, and it's very important that it shows exactly as it was produced.
This is what I see, which is just useless to me. I end up needing to go into the raw test output to retrieve the real message.
Extension version: 1.13.6
VS Code version: Code 1.95.1 (65edc4939843c90c34d61f4ce11704f09d3e5cb6, 2024-10-31T05:14:54.222Z)
OS version: Linux x64 5.15.0-124-generic
Modes:
Type: Bug
There's some new test output auto-diffing feature that is rendering the test output window entirely useless for Roslyn. The actual test output from the log is:
However, the test results window doesn't the full output anymore. It just shows the first line of the comment; the error text here tells me exactly what I need to copy into the test file, and it's very important that it shows exactly as it was produced.
This is what I see, which is just useless to me. I end up needing to go into the raw test output to retrieve the real message.
Extension version: 1.13.6
VS Code version: Code 1.95.1 (65edc4939843c90c34d61f4ce11704f09d3e5cb6, 2024-10-31T05:14:54.222Z)
OS version: Linux x64 5.15.0-124-generic
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: