Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEsme Povirk <esme@codeweavers.com>2020-12-16 20:34:02 +0300
committerMarek Safar <marek.safar@gmail.com>2020-12-18 15:29:21 +0300
commit9060d89803bf6f3ded5e6d9628e0b512efd8a295 (patch)
tree3b7a08419a2639a303481ae648324978974158e8 /mono/tests
parent3b6ee801260768497f2b48cbd00fdc45d94c6bdc (diff)
[tests] Accept GUIDs from .NET Framework in ccw-class-iface test.
Diffstat (limited to 'mono/tests')
-rw-r--r--mono/tests/ccw-class-iface.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/mono/tests/ccw-class-iface.cs b/mono/tests/ccw-class-iface.cs
index 5b91181f99a..4aa43aa7fe8 100644
--- a/mono/tests/ccw-class-iface.cs
+++ b/mono/tests/ccw-class-iface.cs
@@ -213,14 +213,17 @@ public class Tests
return 5;
}
- /*TODO: Fix GUID when we support generated class GUIDs*/
- if (typeof(TestParent).GUID != Guid.Empty)
+ /*TODO: Reject Guid.Empty when we support generated class GUIDs*/
+ if (typeof(TestParent).GUID != Guid.Empty &&
+ typeof(TestParent).GUID != new Guid("7dcc27e3-e226-35ca-a942-2286b21f2525"))
{
Console.Error.WriteLine("Unexpected typeof(TestParent).GUID: {0}", typeof(TestParent).GUID);
return 6;
}
- if (typeof(int).GUID != Guid.Empty)
+ /*TODO: Reject Guid.Empty when we support generated class GUIDs*/
+ if (typeof(int).GUID != Guid.Empty &&
+ typeof(int).GUID != new Guid("a310fadd-7c33-377c-9d6b-599b0317d7f2"))
{
Console.Error.WriteLine("Unexpected typeof(int).GUID: {0}", typeof(int).GUID);
return 7;