package testSubtypingTest.model; /*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 Subtyping_Test extends BaseTransformationTest { @Test public void test_NodeErrorCheck2078093584693310057() throws Throwable { initTest("${mps_home}", "r:f6873416-2681-4a14-803b-33f9e8bdd0a6(testSubtypingTest.model)", false); runTest("testSubtypingTest.model.Subtyping_Test$TestBody", "test_NodeErrorCheck2078093584693310057", true); } @Test public void test_NodeErrorCheck2078093584693358841() throws Throwable { initTest("${mps_home}", "r:f6873416-2681-4a14-803b-33f9e8bdd0a6(testSubtypingTest.model)", false); runTest("testSubtypingTest.model.Subtyping_Test$TestBody", "test_NodeErrorCheck2078093584693358841", true); } @Test public void test_NodeErrorCheck204609444630139535() throws Throwable { initTest("${mps_home}", "r:f6873416-2681-4a14-803b-33f9e8bdd0a6(testSubtypingTest.model)", false); runTest("testSubtypingTest.model.Subtyping_Test$TestBody", "test_NodeErrorCheck204609444630139535", true); } @Test public void test_ErrorMessagesCheck204609444630139319() throws Throwable { initTest("${mps_home}", "r:f6873416-2681-4a14-803b-33f9e8bdd0a6(testSubtypingTest.model)", false); runTest("testSubtypingTest.model.Subtyping_Test$TestBody", "test_ErrorMessagesCheck204609444630139319", true); } @MPSLaunch public static class TestBody extends BaseTestBody { public void test_NodeErrorCheck2078093584693310057() throws Exception { SNode operation = SNodeOperations.cast(getRealNodeById("2078093584693310057"), MetaAdapterFactory.getInterfaceConcept(0x8585453e6bfb4d80L, 0x98deb16074f1d86cL, 0x1510445f8a2c272dL, "jetbrains.mps.lang.test.structure.INodesTestMethod")); INodesTestMethod__BehaviorDescriptor.perform_id1kgh5YabdhC.invoke(operation, getRealNodeById("2078093584693144571")); } public void test_NodeErrorCheck2078093584693358841() throws Exception { SNode operation = SNodeOperations.cast(getRealNodeById("2078093584693358841"), MetaAdapterFactory.getInterfaceConcept(0x8585453e6bfb4d80L, 0x98deb16074f1d86cL, 0x1510445f8a2c272dL, "jetbrains.mps.lang.test.structure.INodesTestMethod")); INodesTestMethod__BehaviorDescriptor.perform_id1kgh5YabdhC.invoke(operation, getRealNodeById("2078093584693358458")); } public void test_NodeErrorCheck204609444630139535() throws Exception { SNode operation = SNodeOperations.cast(getRealNodeById("204609444630139535"), MetaAdapterFactory.getInterfaceConcept(0x8585453e6bfb4d80L, 0x98deb16074f1d86cL, 0x1510445f8a2c272dL, "jetbrains.mps.lang.test.structure.INodesTestMethod")); INodesTestMethod__BehaviorDescriptor.perform_id1kgh5YabdhC.invoke(operation, getRealNodeById("204609444630101473")); } public void test_ErrorMessagesCheck204609444630139319() throws Exception { SNode operation = SNodeOperations.cast(getRealNodeById("204609444630139319"), MetaAdapterFactory.getInterfaceConcept(0x8585453e6bfb4d80L, 0x98deb16074f1d86cL, 0x1510445f8a2c272dL, "jetbrains.mps.lang.test.structure.INodesTestMethod")); INodesTestMethod__BehaviorDescriptor.perform_id1kgh5YabdhC.invoke(operation, getRealNodeById("2078093584693123950")); } } }