Skip to content

Commit

Permalink
corlib: Add specific GUIDs to type builder tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Esme Povirk committed Sep 23, 2024
1 parent ecd4e80 commit a3826af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,11 @@ public void TestEnumBuilderGUIDIncomplete ()
}

[Test]
[Category ("NotWorking")] // Bug:71299
public void TestEnumBuilderGUIDComplete ()
{
EnumBuilder enumBuilder = GenerateEnum ();
enumBuilder.CreateType ();
Assert.IsTrue (enumBuilder.GUID != Guid.Empty);
Assert.AreEqual (new Guid ("71780918-965d-31e4-b24c-cd0a1420d84b"), enumBuilder.GUID);
}

[Test]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,12 +253,11 @@ public void TestGUIDIncomplete ()
}

[Test] // bug #71302
[Category ("NotWorking")]
public void TestGUIDComplete ()
{
TypeBuilder tb = module.DefineType (genTypeName ());
TypeBuilder tb = module.DefineType ("GuidCompleteTestType");
tb.CreateType ();
Assert.IsTrue (tb.GUID != Guid.Empty);
Assert.AreEqual (new Guid ("c22fd24d-f72c-3b7b-bd22-1ad0b2741ec9"), tb.GUID);
}

[Test]
Expand Down

0 comments on commit a3826af

Please sign in to comment.