Skip to content

Commit

Permalink
Add [Fact] attributes on TypeGeneratorTests (#61534)
Browse files Browse the repository at this point in the history
For now there's no functional change to the behavior of the tests,
I have just copied the bits to inject from Jeremy's example in his
pending PR.

Thanks

Tomas
  • Loading branch information
trylek authored Nov 14, 2021
1 parent a3b186b commit b68328a
Show file tree
Hide file tree
Showing 1,501 changed files with 15,010 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@

//TEST ASSEMBLY:
.assembly Generated0 { .hash algorithm 0x00008004 }
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}

.class public BaseClass0
{
Expand Down Expand Up @@ -213,6 +220,9 @@
}
.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 10
call void Generated0::MethodCallingTest()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@

//TEST ASSEMBLY:
.assembly Generated1 { .hash algorithm 0x00008004 }
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}

.class public BaseClass0
{
Expand Down Expand Up @@ -702,6 +709,9 @@
}
.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 10
call void Generated1::MethodCallingTest()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@

//TEST ASSEMBLY:
.assembly Generated10 { .hash algorithm 0x00008004 }
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}

.class public BaseClass0
{
Expand Down Expand Up @@ -587,6 +594,9 @@
}
.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 10
call void Generated10::MethodCallingTest()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@

//TEST ASSEMBLY:
.assembly Generated100 { .hash algorithm 0x00008004 }
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}

.class public BaseClass0
{
Expand Down Expand Up @@ -694,6 +701,9 @@
}
.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 10
call void Generated100::MethodCallingTest()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@

//TEST ASSEMBLY:
.assembly Generated1000 { .hash algorithm 0x00008004 }
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}

.class public BaseClass0
{
Expand Down Expand Up @@ -4372,6 +4379,9 @@
}
.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 10
call void Generated1000::MethodCallingTest()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@

//TEST ASSEMBLY:
.assembly Generated1001 { .hash algorithm 0x00008004 }
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}

.class public BaseClass0
{
Expand Down Expand Up @@ -4281,6 +4288,9 @@
}
.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 10
call void Generated1001::MethodCallingTest()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@

//TEST ASSEMBLY:
.assembly Generated1002 { .hash algorithm 0x00008004 }
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}

.class public BaseClass0
{
Expand Down Expand Up @@ -4340,6 +4347,9 @@
}
.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 10
call void Generated1002::MethodCallingTest()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@

//TEST ASSEMBLY:
.assembly Generated1003 { .hash algorithm 0x00008004 }
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}

.class public BaseClass0
{
Expand Down Expand Up @@ -4704,6 +4711,9 @@
}
.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 10
call void Generated1003::MethodCallingTest()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@

//TEST ASSEMBLY:
.assembly Generated1004 { .hash algorithm 0x00008004 }
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}

.class public BaseClass0
{
Expand Down Expand Up @@ -4736,6 +4743,9 @@
}
.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 10
call void Generated1004::MethodCallingTest()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@

//TEST ASSEMBLY:
.assembly Generated1005 { .hash algorithm 0x00008004 }
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}

.class public BaseClass0
{
Expand Down Expand Up @@ -4849,6 +4856,9 @@
}
.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 10
call void Generated1005::MethodCallingTest()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@

//TEST ASSEMBLY:
.assembly Generated1006 { .hash algorithm 0x00008004 }
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}

.class public BaseClass0
{
Expand Down Expand Up @@ -4834,6 +4841,9 @@
}
.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 10
call void Generated1006::MethodCallingTest()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@

//TEST ASSEMBLY:
.assembly Generated1007 { .hash algorithm 0x00008004 }
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}

.class public BaseClass0
{
Expand Down Expand Up @@ -3461,6 +3468,9 @@
}
.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 10
call void Generated1007::MethodCallingTest()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@

//TEST ASSEMBLY:
.assembly Generated1008 { .hash algorithm 0x00008004 }
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}

.class public BaseClass0
{
Expand Down Expand Up @@ -4253,6 +4260,9 @@
}
.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 10
call void Generated1008::MethodCallingTest()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@

//TEST ASSEMBLY:
.assembly Generated1009 { .hash algorithm 0x00008004 }
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}

.class public BaseClass0
{
Expand Down Expand Up @@ -4270,6 +4277,9 @@
}
.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 10
call void Generated1009::MethodCallingTest()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@

//TEST ASSEMBLY:
.assembly Generated101 { .hash algorithm 0x00008004 }
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}

.class public BaseClass0
{
Expand Down Expand Up @@ -757,6 +764,9 @@
}
.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 10
call void Generated101::MethodCallingTest()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@

//TEST ASSEMBLY:
.assembly Generated1010 { .hash algorithm 0x00008004 }
.assembly extern xunit.core
{
.publickeytoken = (
8d 05 b1 bb 7a 6f db 6c
)
.ver 2:4:2:0
}

.class public BaseClass0
{
Expand Down Expand Up @@ -5590,6 +5597,9 @@
}
.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 10
call void Generated1010::MethodCallingTest()
Expand Down
Loading

0 comments on commit b68328a

Please sign in to comment.