package jetbrains.mps.baseLanguage.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 BoundedTypeOnIllegalPositions_Test extends BaseTransformationTest { @Test public void test_NodeThisTypeCantBeUsedInVariableCheck6923385624929132045() throws Throwable { initTest("${mps_home}", "r:00000000-0000-4000-0000-011c895902c7(jetbrains.mps.baseLanguage.test@tests)", false); runTest("jetbrains.mps.baseLanguage.test.BoundedTypeOnIllegalPositions_Test$TestBody", "test_NodeThisTypeCantBeUsedInVariableCheck6923385624929132045", true); } @Test public void test_NodeThisTypeCantBeUsedInVariableCheck6923385624928848231() throws Throwable { initTest("${mps_home}", "r:00000000-0000-4000-0000-011c895902c7(jetbrains.mps.baseLanguage.test@tests)", false); runTest("jetbrains.mps.baseLanguage.test.BoundedTypeOnIllegalPositions_Test$TestBody", "test_NodeThisTypeCantBeUsedInVariableCheck6923385624928848231", true); } @Test public void test_NodeThisTypeCantBeUsedInVariableCheck5450156852674012813() throws Throwable { initTest("${mps_home}", "r:00000000-0000-4000-0000-011c895902c7(jetbrains.mps.baseLanguage.test@tests)", false); runTest("jetbrains.mps.baseLanguage.test.BoundedTypeOnIllegalPositions_Test$TestBody", "test_NodeThisTypeCantBeUsedInVariableCheck5450156852674012813", true); } @Test public void test_NodeThisTypeCantBeUsedInVariableCheck6923385624928692345() throws Throwable { initTest("${mps_home}", "r:00000000-0000-4000-0000-011c895902c7(jetbrains.mps.baseLanguage.test@tests)", false); runTest("jetbrains.mps.baseLanguage.test.BoundedTypeOnIllegalPositions_Test$TestBody", "test_NodeThisTypeCantBeUsedInVariableCheck6923385624928692345", true); } @Test public void test_NodeTypeSystemCheck6923385624928162737() throws Throwable { initTest("${mps_home}", "r:00000000-0000-4000-0000-011c895902c7(jetbrains.mps.baseLanguage.test@tests)", false); runTest("jetbrains.mps.baseLanguage.test.BoundedTypeOnIllegalPositions_Test$TestBody", "test_NodeTypeSystemCheck6923385624928162737", true); } @Test public void test_NodeTypeSystemCheck6923385624927429026() throws Throwable { initTest("${mps_home}", "r:00000000-0000-4000-0000-011c895902c7(jetbrains.mps.baseLanguage.test@tests)", false); runTest("jetbrains.mps.baseLanguage.test.BoundedTypeOnIllegalPositions_Test$TestBody", "test_NodeTypeSystemCheck6923385624927429026", true); } @Test public void test_NodeThisTypeCantBeUsedInVariableCheck6923385624928299118() throws Throwable { initTest("${mps_home}", "r:00000000-0000-4000-0000-011c895902c7(jetbrains.mps.baseLanguage.test@tests)", false); runTest("jetbrains.mps.baseLanguage.test.BoundedTypeOnIllegalPositions_Test$TestBody", "test_NodeThisTypeCantBeUsedInVariableCheck6923385624928299118", true); } @Test public void test_ErrorMessagesCheck6510041824235646887() throws Throwable { initTest("${mps_home}", "r:00000000-0000-4000-0000-011c895902c7(jetbrains.mps.baseLanguage.test@tests)", false); runTest("jetbrains.mps.baseLanguage.test.BoundedTypeOnIllegalPositions_Test$TestBody", "test_ErrorMessagesCheck6510041824235646887", true); } @MPSLaunch public static class TestBody extends BaseTestBody { public void test_NodeThisTypeCantBeUsedInVariableCheck6923385624929132045() throws Exception { SNode operation = SNodeOperations.cast(getRealNodeById("6923385624929132045"), MetaAdapterFactory.getInterfaceConcept(0x8585453e6bfb4d80L, 0x98deb16074f1d86cL, 0x1510445f8a2c272dL, "jetbrains.mps.lang.test.structure.INodesTestMethod")); INodesTestMethod__BehaviorDescriptor.perform_id1kgh5YabdhC.invoke(operation, getRealNodeById("3951985765451230386")); } public void test_NodeThisTypeCantBeUsedInVariableCheck6923385624928848231() throws Exception { SNode operation = SNodeOperations.cast(getRealNodeById("6923385624928848231"), MetaAdapterFactory.getInterfaceConcept(0x8585453e6bfb4d80L, 0x98deb16074f1d86cL, 0x1510445f8a2c272dL, "jetbrains.mps.lang.test.structure.INodesTestMethod")); INodesTestMethod__BehaviorDescriptor.perform_id1kgh5YabdhC.invoke(operation, getRealNodeById("3951985765451230975")); } public void test_NodeThisTypeCantBeUsedInVariableCheck5450156852674012813() throws Exception { SNode operation = SNodeOperations.cast(getRealNodeById("5450156852674012813"), MetaAdapterFactory.getInterfaceConcept(0x8585453e6bfb4d80L, 0x98deb16074f1d86cL, 0x1510445f8a2c272dL, "jetbrains.mps.lang.test.structure.INodesTestMethod")); INodesTestMethod__BehaviorDescriptor.perform_id1kgh5YabdhC.invoke(operation, getRealNodeById("5450156852674008109")); } public void test_NodeThisTypeCantBeUsedInVariableCheck6923385624928692345() throws Exception { SNode operation = SNodeOperations.cast(getRealNodeById("6923385624928692345"), MetaAdapterFactory.getInterfaceConcept(0x8585453e6bfb4d80L, 0x98deb16074f1d86cL, 0x1510445f8a2c272dL, "jetbrains.mps.lang.test.structure.INodesTestMethod")); INodesTestMethod__BehaviorDescriptor.perform_id1kgh5YabdhC.invoke(operation, getRealNodeById("3951985765451227709")); } public void test_NodeTypeSystemCheck6923385624928162737() throws Exception { SNode operation = SNodeOperations.cast(getRealNodeById("6923385624928162737"), MetaAdapterFactory.getInterfaceConcept(0x8585453e6bfb4d80L, 0x98deb16074f1d86cL, 0x1510445f8a2c272dL, "jetbrains.mps.lang.test.structure.INodesTestMethod")); INodesTestMethod__BehaviorDescriptor.perform_id1kgh5YabdhC.invoke(operation, getRealNodeById("3951985765451230395")); } public void test_NodeTypeSystemCheck6923385624927429026() throws Exception { SNode operation = SNodeOperations.cast(getRealNodeById("6923385624927429026"), MetaAdapterFactory.getInterfaceConcept(0x8585453e6bfb4d80L, 0x98deb16074f1d86cL, 0x1510445f8a2c272dL, "jetbrains.mps.lang.test.structure.INodesTestMethod")); INodesTestMethod__BehaviorDescriptor.perform_id1kgh5YabdhC.invoke(operation, getRealNodeById("3951985765451230429")); } public void test_NodeThisTypeCantBeUsedInVariableCheck6923385624928299118() throws Exception { SNode operation = SNodeOperations.cast(getRealNodeById("6923385624928299118"), MetaAdapterFactory.getInterfaceConcept(0x8585453e6bfb4d80L, 0x98deb16074f1d86cL, 0x1510445f8a2c272dL, "jetbrains.mps.lang.test.structure.INodesTestMethod")); INodesTestMethod__BehaviorDescriptor.perform_id1kgh5YabdhC.invoke(operation, getRealNodeById("3951985765451231385")); } public void test_ErrorMessagesCheck6510041824235646887() throws Exception { SNode operation = SNodeOperations.cast(getRealNodeById("6510041824235646887"), MetaAdapterFactory.getInterfaceConcept(0x8585453e6bfb4d80L, 0x98deb16074f1d86cL, 0x1510445f8a2c272dL, "jetbrains.mps.lang.test.structure.INodesTestMethod")); INodesTestMethod__BehaviorDescriptor.perform_id1kgh5YabdhC.invoke(operation, getRealNodeById("2176128700705692344")); } } }