package TestConstraints.test; /*Generated by MPS */ import jetbrains.mps.MPSLaunch; import jetbrains.mps.lang.test.runtime.BaseTransformationTest; import org.junit.Test; import jetbrains.mps.lang.test.runtime.BaseTestBody; import org.jetbrains.mps.openapi.model.SNode; import jetbrains.mps.lang.smodel.generator.smodelAdapter.SNodeOperations; import jetbrains.mps.smodel.adapter.structure.MetaAdapterFactory; import jetbrains.mps.lang.test.behavior.INodesTestMethod__BehaviorDescriptor; @MPSLaunch public class ConstraintsInheritence_Test extends BaseTransformationTest { @Test public void test_NodeUnknownRuleCheck5816870305080793796() throws Throwable { initTest("${mps_home}", "r:63c35524-f256-4fdd-b128-2c53748bdd7c(TestConstraints.test@tests)", false); runTest("TestConstraints.test.ConstraintsInheritence_Test$TestBody", "test_NodeUnknownRuleCheck5816870305080793796", true); } @Test public void test_NodeUnknownRuleCheck5816870305080793812() throws Throwable { initTest("${mps_home}", "r:63c35524-f256-4fdd-b128-2c53748bdd7c(TestConstraints.test@tests)", false); runTest("TestConstraints.test.ConstraintsInheritence_Test$TestBody", "test_NodeUnknownRuleCheck5816870305080793812", true); } @Test public void test_ErrorMessagesCheck5816870305080792275() throws Throwable { initTest("${mps_home}", "r:63c35524-f256-4fdd-b128-2c53748bdd7c(TestConstraints.test@tests)", false); runTest("TestConstraints.test.ConstraintsInheritence_Test$TestBody", "test_ErrorMessagesCheck5816870305080792275", true); } @Test public void test_NodeUnknownRuleCheck5816870305080793804() throws Throwable { initTest("${mps_home}", "r:63c35524-f256-4fdd-b128-2c53748bdd7c(TestConstraints.test@tests)", false); runTest("TestConstraints.test.ConstraintsInheritence_Test$TestBody", "test_NodeUnknownRuleCheck5816870305080793804", true); } @Test public void test_NodeUnknownRuleCheck5816870305080793825() throws Throwable { initTest("${mps_home}", "r:63c35524-f256-4fdd-b128-2c53748bdd7c(TestConstraints.test@tests)", false); runTest("TestConstraints.test.ConstraintsInheritence_Test$TestBody", "test_NodeUnknownRuleCheck5816870305080793825", true); } @Test public void test_NodeUnknownRuleCheck5816870305080793833() throws Throwable { initTest("${mps_home}", "r:63c35524-f256-4fdd-b128-2c53748bdd7c(TestConstraints.test@tests)", false); runTest("TestConstraints.test.ConstraintsInheritence_Test$TestBody", "test_NodeUnknownRuleCheck5816870305080793833", true); } @MPSLaunch public static class TestBody extends BaseTestBody { public void test_NodeUnknownRuleCheck5816870305080793796() throws Exception { SNode operation = SNodeOperations.cast(getRealNodeById("5816870305080793796"), MetaAdapterFactory.getInterfaceConcept(0x8585453e6bfb4d80L, 0x98deb16074f1d86cL, 0x1510445f8a2c272dL, "jetbrains.mps.lang.test.structure.INodesTestMethod")); INodesTestMethod__BehaviorDescriptor.perform_id1kgh5YabdhC.invoke(operation, getRealNodeById("5816870305080550504")); } public void test_NodeUnknownRuleCheck5816870305080793812() throws Exception { SNode operation = SNodeOperations.cast(getRealNodeById("5816870305080793812"), MetaAdapterFactory.getInterfaceConcept(0x8585453e6bfb4d80L, 0x98deb16074f1d86cL, 0x1510445f8a2c272dL, "jetbrains.mps.lang.test.structure.INodesTestMethod")); INodesTestMethod__BehaviorDescriptor.perform_id1kgh5YabdhC.invoke(operation, getRealNodeById("5816870305080791974")); } public void test_ErrorMessagesCheck5816870305080792275() throws Exception { SNode operation = SNodeOperations.cast(getRealNodeById("5816870305080792275"), MetaAdapterFactory.getInterfaceConcept(0x8585453e6bfb4d80L, 0x98deb16074f1d86cL, 0x1510445f8a2c272dL, "jetbrains.mps.lang.test.structure.INodesTestMethod")); INodesTestMethod__BehaviorDescriptor.perform_id1kgh5YabdhC.invoke(operation, getRealNodeById("5816870305080792242")); } public void test_NodeUnknownRuleCheck5816870305080793804() throws Exception { SNode operation = SNodeOperations.cast(getRealNodeById("5816870305080793804"), MetaAdapterFactory.getInterfaceConcept(0x8585453e6bfb4d80L, 0x98deb16074f1d86cL, 0x1510445f8a2c272dL, "jetbrains.mps.lang.test.structure.INodesTestMethod")); INodesTestMethod__BehaviorDescriptor.perform_id1kgh5YabdhC.invoke(operation, getRealNodeById("5816870305080792005")); } public void test_NodeUnknownRuleCheck5816870305080793825() throws Exception { SNode operation = SNodeOperations.cast(getRealNodeById("5816870305080793825"), MetaAdapterFactory.getInterfaceConcept(0x8585453e6bfb4d80L, 0x98deb16074f1d86cL, 0x1510445f8a2c272dL, "jetbrains.mps.lang.test.structure.INodesTestMethod")); INodesTestMethod__BehaviorDescriptor.perform_id1kgh5YabdhC.invoke(operation, getRealNodeById("5816870305080792099")); } public void test_NodeUnknownRuleCheck5816870305080793833() throws Exception { SNode operation = SNodeOperations.cast(getRealNodeById("5816870305080793833"), MetaAdapterFactory.getInterfaceConcept(0x8585453e6bfb4d80L, 0x98deb16074f1d86cL, 0x1510445f8a2c272dL, "jetbrains.mps.lang.test.structure.INodesTestMethod")); INodesTestMethod__BehaviorDescriptor.perform_id1kgh5YabdhC.invoke(operation, getRealNodeById("5816870305080792150")); } } }