Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Willink2016-05-16 10:35:15 -0400
committerEd Willink2016-05-18 09:17:58 -0400
commit5c597101e08229297ab68f4c2b6764cf90d181cf (patch)
treeeeade439c98f43fc85d75ef794498848f9bb95dc
parentd90d2b3c7f5537c694a954a28ca05db7eae4b3af (diff)
downloadorg.eclipse.qvtd-5c597101e08229297ab68f4c2b6764cf90d181cf.tar.gz
org.eclipse.qvtd-5c597101e08229297ab68f4c2b6764cf90d181cf.tar.xz
org.eclipse.qvtd-5c597101e08229297ab68f4c2b6764cf90d181cf.zip
[486722] Suppress bad Variable conformance warnings
-rw-r--r--tests/org.eclipse.qvtd.cs2as.compiler.tests/src/org/eclipse/qvtd/cs2as/compiler/tests/OCL2QVTiTestCases.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/org.eclipse.qvtd.cs2as.compiler.tests/src/org/eclipse/qvtd/cs2as/compiler/tests/OCL2QVTiTestCases.java b/tests/org.eclipse.qvtd.cs2as.compiler.tests/src/org/eclipse/qvtd/cs2as/compiler/tests/OCL2QVTiTestCases.java
index 3c7c5801f..261dc2442 100644
--- a/tests/org.eclipse.qvtd.cs2as.compiler.tests/src/org/eclipse/qvtd/cs2as/compiler/tests/OCL2QVTiTestCases.java
+++ b/tests/org.eclipse.qvtd.cs2as.compiler.tests/src/org/eclipse/qvtd/cs2as/compiler/tests/OCL2QVTiTestCases.java
@@ -26,8 +26,10 @@ import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.jdt.annotation.Nullable;
+import org.eclipse.ocl.pivot.PivotTables;
import org.eclipse.ocl.pivot.internal.manager.MetamodelManagerInternal;
import org.eclipse.ocl.pivot.internal.resource.StandaloneProjectMap;
+import org.eclipse.ocl.pivot.messages.StatusCodes;
import org.eclipse.ocl.pivot.oclstdlib.OCLstdlibPackage;
import org.eclipse.ocl.pivot.resource.ASResource;
import org.eclipse.ocl.pivot.resource.CSResource;
@@ -492,6 +494,7 @@ public class OCL2QVTiTestCases extends LoadTestCase {
// Scheduler.REGION_ORDER.setState(true);
// Scheduler.REGION_TRAVERSAL.setState(true);
// QVTs2QVTiVisitor.POLLED_PROPERTIES.setState(true);
+// AbstractTransformer.EXCEPTIONS.setState(true);
// AbstractTransformer.INVOCATIONS.setState(true);
MyQVT myQVT = new MyQVT("example4");
myQVT.loadGenModels("SimplerKiamaAS.genmodel", "SimplerKiamaCS.genmodel");
@@ -646,6 +649,7 @@ public class OCL2QVTiTestCases extends LoadTestCase {
// Load QVTcAS
//
OCL ocl = QVTbase.newInstance(OCL.NO_PROJECTS);
+ ocl.getEnvironmentFactory().setSeverity(PivotTables.STR_Variable_c_c_CompatibleInitialiserType, StatusCodes.Severity.IGNORE);
try {
ASResource asResource = loadQVTiAS(ocl, inputURI);
assertNoResourceErrors("Normalisation failed", asResource);

Back to the top