Skip to content

Commit

Permalink
Fix source generator tests on net472
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Aug 31, 2021
1 parent a596e56 commit 99f8107
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/Microsoft.Windows.CsWin32.Tests/GeneratorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,7 @@ public async Task TestSimpleStructure()
{
TestState =
{
ReferenceAssemblies = MyReferenceAssemblies.NetStandard20,
AdditionalFiles =
{
("NativeMethods.txt", "BOOL"),
Expand Down Expand Up @@ -917,6 +918,7 @@ public async Task TestSimpleEnum()
{
TestState =
{
ReferenceAssemblies = MyReferenceAssemblies.NetStandard20,
AdditionalFiles =
{
("NativeMethods.txt", "DISPLAYCONFIG_SCANLINE_ORDERING"),
Expand Down Expand Up @@ -987,6 +989,7 @@ public async Task TestSimpleEnumWithoutDocs()
{
TestState =
{
ReferenceAssemblies = MyReferenceAssemblies.NetStandard20,
AdditionalFiles =
{
("NativeMethods.txt", "DISPLAYCONFIG_SCANLINE_ORDERING"),
Expand Down Expand Up @@ -1049,6 +1052,7 @@ public async Task TestFlagsEnum()
{
TestState =
{
ReferenceAssemblies = MyReferenceAssemblies.NetStandard20,
AdditionalFiles =
{
("NativeMethods.txt", "FILE_ACCESS_FLAGS"),
Expand Down Expand Up @@ -1132,6 +1136,7 @@ public async Task TestSimpleDelegate()
{
TestState =
{
ReferenceAssemblies = MyReferenceAssemblies.NetStandard20,
AdditionalFiles =
{
("NativeMethods.txt", "WNDENUMPROC"),
Expand Down Expand Up @@ -1305,6 +1310,7 @@ public async Task TestSimpleMethod()
{
TestState =
{
ReferenceAssemblies = MyReferenceAssemblies.NetStandard20,
AdditionalFiles =
{
("NativeMethods.txt", "ReleaseDC"),
Expand Down Expand Up @@ -1456,6 +1462,7 @@ public async Task TestMethodWithOverloads()
{
TestState =
{
ReferenceAssemblies = MyReferenceAssemblies.NetStandard20,
AdditionalFiles =
{
("NativeMethods.txt", "CreateFile"),
Expand Down

0 comments on commit 99f8107

Please sign in to comment.