Siegfried Pammer
0f9de78f02
Run the decompiler test suite on Linux
...
Compilation uses the .NET builds of the Roslyn toolsets (tasks/netcore*,
bincore csc.dll/vbc.dll launched through the dotnet host). ilasm/ildasm
options use the '-' prefix, which all platforms accept. The dotnet-hosted
compilers have no implicit references or SDK path: net40 compiles pass
mscorlib explicitly, and vbc gets -sdkpath, _MYTYPE=Empty and
-vbruntime:Microsoft.VisualBasic.Core.dll (the facade in the ref packs is
not followed for runtime helpers). The TestRunner gets a self-contained
build for the host platform.
Configurations depending on Windows-only tools or runtimes (legacy
csc/vbc, Roslyn 1.x/2.x, mcs, Force32Bit, executing net40 binaries) are
filtered from the matrix off-Windows via Tester.SupportedOnCurrentPlatform
or gated with [Platform("Win")]. PdbGen comparisons normalize document
name separators, and Correctness/Async uses Console.IsInputRedirected
instead of the Windows-only Console.CapsLock.
Assisted-by: Claude:claude-fable-5:Claude Code
4 weeks ago
Siegfried Pammer
7a8a978963
Add CompilerOptions.UseRoslyn4_14_0
3 months ago
Christoph Wille
c940cbc1d9
Add TestsAssemblyOutput, keep existing behavior of output assembly locations
2 years ago
Christoph Wille
fba0dbae8d
Migrate to NUnit 4 ( #3132 )
...
* Migrate to NUnit 4 based on https://docs.nunit.org/articles/nunit/release-notes/Nunit4.0-MigrationGuide.html . Needed fix for https://github.com/nunit/nunit/issues/4564
* Test 4.1.0-adev.1 from NUnit MyGet feed (works locally in VS)
* Update to bugfix version adev.2 (works on GH)
* NUnit 4.0.1 final
3 years ago
ElektroKill
8813d254f8
Add VBPretty test case for VB yield return decompilation
3 years ago
ElektroKill
341074aa58
Extend VBPretty Async test code
4 years ago
ElektroKill
684be5c13a
Fix VBPretty Async test
4 years ago
ElektroKill
02cf1d3fe2
Add unit test
4 years ago
ElektroKill
a5febb3e4f
Add support for VB.NET automatic events
4 years ago
Siegfried Pammer
6139d9d58e
Delete created temp files if test execution was successful.
4 years ago
Siegfried Pammer
44dee6ecc2
Add additional tests for .NET 4.0
4 years ago
Siegfried Pammer
e4b63f7a35
- Make all tests async.
...
- Use custom test runner for correctness tests.
- Use .NET 6.0 framework for all Roslyn compiler tests.
- Disabled tests involving new string interpolation patterns.
4 years ago
Siegfried Pammer
bc5d078feb
Fix #1698 : Readonly auto properties from VB.NET are not properly decompiled
5 years ago
Siegfried Pammer
3a7c69e5b9
Fix #2192 : Add support for VB.NET delegate construction
6 years ago
Siegfried Pammer
be57dc454c
Run tests with different versions of Roslyn
6 years ago
dotnet format
0d9f871a4f
#2128 : Reformat the whole code base.
6 years ago
Siegfried Pammer
6973dec0ef
Fix #1906 : RRs for default expressions of primitive types should use the correct constant value.
...
VB's `New Long()` is emitted as `initobj` whereas C#'s `default(long)` is emitted as `ldc.i4.0; conv.i8`.
7 years ago
Daniel Grunwald
832c18f0be
Fix #1809 : Support VB Select on string.
7 years ago
Daniel Grunwald
df13f0ce01
Fix #1605 : Inline ref locals more aggressively; this is necessary for VB compound assignments.
7 years ago
Daniel Grunwald
0c0ac6ea44
Add RunVB() for VB correctness tests
8 years ago
Siegfried Pammer
8cbf724901
Move CustomAttributeTests to PrettyTestRunner
8 years ago
Siegfried Pammer
1797d15654
Fix tests
8 years ago
Siegfried Pammer
e7a9184e90
Fix typo in VBPrettyTestRunner
8 years ago
Siegfried Pammer
98416b03dd
Add VBPrettyTestRunner
8 years ago
Daniel Grunwald
d9a28314f9
Upgrade to NUnit 3.9 and enable parallel test execution.
8 years ago
Siegfried Pammer
659b12bdb8
Fix #1083 : add pattern for mcs auto events (version 4)
9 years ago
Siegfried Pammer
ebf213d85e
Fix #1047 : Unsupported method
9 years ago
Siegfried Pammer
9b160c13e7
Fix #982 : ILSpy should ignore the parameter name of property setter and always use "value" instead in C#
9 years ago
Siegfried Pammer
2c68d99336
Fix #959 : Crash in CSharp.StatementBuilder.TranslateSwitch (due to empty sequence)
9 years ago
Siegfried Pammer
68357655b4
Add RemovedDeadCode = true to F# ILPretty tests
9 years ago
Siegfried Pammer
4b1488685f
Add test cases for #888
9 years ago
mohe2015
71349ba11e
Implement pretty test. - Does not work with roslyn
9 years ago
mohe2015
509b69f685
Add test case.
9 years ago
Siegfried Pammer
aa0e379236
Add tests to ILPrettyTestRunner
9 years ago
Siegfried Pammer
23bca3713f
Fix #646 : VB-compilers 'For Each In' is not recognized as foreach during decompilation
9 years ago
Daniel Grunwald
6305ed6e4e
Put path to TestCases-dir into a constant.
9 years ago
Siegfried Pammer
bc4b078de9
Add missing files.
9 years ago