From 483f3b94ee75af19739e3a0119d127ee4aa602c2 Mon Sep 17 00:00:00 2001 From: Niko Stotz Date: Tue, 19 Nov 2024 13:06:07 +0100 Subject: [PATCH] make sure mpsutil.compare.AssertNodeEquals validates even without ignored properties or references --- .../languageModels/typesystem.mps | 107 ++++++++++++------ .../com/mbeddr/mpsutil/compare/ts@tests.mps | 49 ++++++++ 2 files changed, 120 insertions(+), 36 deletions(-) diff --git a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.compare/languageModels/typesystem.mps b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.compare/languageModels/typesystem.mps index b14253671fb..3948d0096d1 100644 --- a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.compare/languageModels/typesystem.mps +++ b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.compare/languageModels/typesystem.mps @@ -21,6 +21,10 @@ + + + + @@ -66,6 +70,7 @@ + @@ -90,56 +95,86 @@ - - - - - - + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + - - - - - + + + + + + + + + + + - - + + + + + + + + + + + + + + - - + + + + + + + + + + diff --git a/code/languages/com.mbeddr.mpsutil/tests/test.com.mbeddr.mpsutil.compare/models/test/com/mbeddr/mpsutil/compare/ts@tests.mps b/code/languages/com.mbeddr.mpsutil/tests/test.com.mbeddr.mpsutil.compare/models/test/com/mbeddr/mpsutil/compare/ts@tests.mps index fc3fc0bfafa..61db108eb05 100644 --- a/code/languages/com.mbeddr.mpsutil/tests/test.com.mbeddr.mpsutil.compare/models/test/com/mbeddr/mpsutil/compare/ts@tests.mps +++ b/code/languages/com.mbeddr.mpsutil/tests/test.com.mbeddr.mpsutil.compare/models/test/com/mbeddr/mpsutil/compare/ts@tests.mps @@ -14,6 +14,12 @@ + + + + + + @@ -54,6 +60,7 @@ + @@ -95,6 +102,9 @@ + + + @@ -142,6 +152,7 @@ + @@ -823,5 +834,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +