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

Add [Fact] attributes to JIT regression tests #61540

Merged
merged 1 commit into from
Nov 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@
}
.assembly 'c'// as "c"
{ }
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}
.module 'c.exe'
.namespace JitTest
{
Expand All @@ -19,6 +26,9 @@
{
.method private hidebysig static int32 Main() il managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 30
.locals (int32 V_0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
// bool) = ( 01 00 00 01 00 00 )


}
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}
.module 'b.exe'
// MVID: {0573B9C2-3980-4A83-9B01-889CCC1D6FBC}
Expand All @@ -29,6 +36,9 @@
.method private hidebysig static int32
Main() il managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
// Code size 31 (0x1f)
.maxstack 6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
.ver 4:0:0:0
}
.assembly b26323 { }
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}
.namespace Test
{
.class auto ansi App extends [mscorlib]System.Object
Expand All @@ -28,6 +35,9 @@

.method private static int32 Main() il managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 2
.locals ([0] class Test.App app)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,18 @@
.ver 4:0:0:0
}
.assembly ILGEN_0x917e8626 {}
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}
.class ILGEN_0x917e8626 {
.method static int32 Main() {
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 20
ldc.i4 0xFFFFFFF
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@

.assembly extern legacy library mscorlib {}
.assembly b47392 { }
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}
.namespace Test
{
.class private auto ansi AA extends [mscorlib]System.Object
Expand All @@ -12,6 +19,9 @@

.method private hidebysig static int32 Main() il managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 8
.locals (class Test.AA, int32 i)
Expand Down
10 changes: 10 additions & 0 deletions src/tests/JIT/Regression/CLR-x86-JIT/V1-M09.5-PDC/b15244/b15244.il
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@
.assembly b15244
{
}
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}
.class public auto ansi AA extends [mscorlib]System.Object
{

Expand All @@ -25,6 +32,9 @@
{
.method static int32 Main()
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 4
.locals (int32)
Expand Down
10 changes: 10 additions & 0 deletions src/tests/JIT/Regression/CLR-x86-JIT/V1-M09.5-PDC/b16039/b16039.il
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@
.assembly bug
{
}
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}
.class public auto ansi AA extends [mscorlib]System.Object
{

Expand Down Expand Up @@ -63,6 +70,9 @@
{
.method static int32 Main()
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 8
.locals (int32)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
{


}
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}
.namespace Test
{
Expand Down Expand Up @@ -126,6 +133,9 @@
.field private static initonly class [mscorlib]System.String expResult
.method private static int32 Main() il managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 12
.locals ([0] class Test.GCClass inst)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
{


}
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}
.namespace Test
{
Expand Down Expand Up @@ -126,6 +133,9 @@
.field private static initonly class [mscorlib]System.String expResult
.method private static int32 Main() il managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 12
.locals ([0] class Test.GCClass inst)
Expand Down
10 changes: 10 additions & 0 deletions src/tests/JIT/Regression/CLR-x86-JIT/V1-M09.5-PDC/b29583/b29583.il
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,23 @@
.ver 4:0:0:0
}
.assembly 'box' { }
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}

.namespace BoxTest
{
.class auto ansi App extends [mscorlib]System.Object
{
.method private static int32 Main() il managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 3
.locals (class [mscorlib]System.Object obj, float64 F)
Expand Down
10 changes: 10 additions & 0 deletions src/tests/JIT/Regression/CLR-x86-JIT/V1-M09.5-PDC/b30125/b30125.il
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
.ver 4:0:0:0
}
.assembly ILGEN_0x5a59b03c {}
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}
.class ILGEN_0x5a59b03c {
.method static int32 Method_0x1001() {
.maxstack 3
Expand All @@ -20,6 +27,9 @@
ret
}
.method static int32 Main() {
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 2
call int32 ILGEN_0x5a59b03c::Method_0x1001()
Expand Down
10 changes: 10 additions & 0 deletions src/tests/JIT/Regression/CLR-x86-JIT/V1-M09.5-PDC/b30862/b30862.il
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
.ver 4:0:0:0
}
.assembly ILGEN_0xe741640 {}
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}
.class ILGEN_0xe741640 {
.field static int64 field_0x1
.field static float32[] field_0x4
Expand Down Expand Up @@ -80,6 +87,9 @@ End_Orphan_0:
ret
}
.method static int32 Main() {
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 2
call int32 ILGEN_0xe741640::Method_0x6401()
Expand Down
10 changes: 10 additions & 0 deletions src/tests/JIT/Regression/CLR-x86-JIT/V1-M09.5-PDC/b30864/b30864.il
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
.ver 4:0:0:0
}
.assembly 'typedref' { }
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}
.namespace BoxTest
{
.class auto ansi Test extends [mscorlib]System.Object
Expand Down Expand Up @@ -139,6 +146,9 @@

.method private hidebysig static int32 Main() il managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
// Code size 67 (0x43)
.maxstack 3
Expand Down
10 changes: 10 additions & 0 deletions src/tests/JIT/Regression/CLR-x86-JIT/V1-M09.5-PDC/b30892/b30892.il
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
.ver 4:0:0:0
}
.assembly ILGEN_0xedada940 {}
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}
.class ILGEN_0xedada940 {
.method static int32 Method_0x7f75() {
.maxstack 17
Expand Down Expand Up @@ -85,6 +92,9 @@ End_Orphan_12:
ret
}
.method static int32 Main() {
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 2
call int32 ILGEN_0xedada940::Method_0x7f75()
Expand Down
10 changes: 10 additions & 0 deletions src/tests/JIT/Regression/CLR-x86-JIT/V1-M09.5-PDC/b31102/b31102.il
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
.ver 4:0:0:0
}
.assembly ILGEN_0xed342785 {}
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}
.class ILGEN_0xed342785 {
.method static int32 Method_0x287e() {
.maxstack 13
Expand All @@ -34,6 +41,9 @@ End_Orphan_9:
ret
}
.method static int32 Main() {
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 2
.try {
Expand Down
10 changes: 10 additions & 0 deletions src/tests/JIT/Regression/CLR-x86-JIT/V1-M09.5-PDC/b31273/b31273.il
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
.ver 4:0:0:0
}
.assembly ILGEN_0xf0dc526d {}
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}
.class ILGEN_0xf0dc526d {
.method static int32 Method_0x1672(int64 Arg_0x5) {
.maxstack 13
Expand All @@ -30,6 +37,9 @@ End_Orphan_6:
}

.method static int32 Main() {
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 20
.try {
Expand Down
Loading