package jetbrains.mps.lang.editor.menus.tests; /*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 FeaturesAndLocations_Test extends BaseTransformationTest { @Test public void test_NodeThisFeatureIsNotAllowedCheck4740302442485194061() throws Throwable { initTest("${mps_home}", "r:4f8193a2-048e-4ddf-b505-dfca00e8c910(jetbrains.mps.lang.editor.menus.tests@tests)", false); runTest("jetbrains.mps.lang.editor.menus.tests.FeaturesAndLocations_Test$TestBody", "test_NodeThisFeatureIsNotAllowedCheck4740302442485194061", true); } @Test public void test_NodeMissingFeaturesCheck4740302442485174508() throws Throwable { initTest("${mps_home}", "r:4f8193a2-048e-4ddf-b505-dfca00e8c910(jetbrains.mps.lang.editor.menus.tests@tests)", false); runTest("jetbrains.mps.lang.editor.menus.tests.FeaturesAndLocations_Test$TestBody", "test_NodeMissingFeaturesCheck4740302442485174508", true); } @Test public void test_ErrorMessagesCheck4740302442485195517() throws Throwable { initTest("${mps_home}", "r:4f8193a2-048e-4ddf-b505-dfca00e8c910(jetbrains.mps.lang.editor.menus.tests@tests)", false); runTest("jetbrains.mps.lang.editor.menus.tests.FeaturesAndLocations_Test$TestBody", "test_ErrorMessagesCheck4740302442485195517", true); } @Test public void test_ErrorMessagesCheck4740302442485195092() throws Throwable { initTest("${mps_home}", "r:4f8193a2-048e-4ddf-b505-dfca00e8c910(jetbrains.mps.lang.editor.menus.tests@tests)", false); runTest("jetbrains.mps.lang.editor.menus.tests.FeaturesAndLocations_Test$TestBody", "test_ErrorMessagesCheck4740302442485195092", true); } @MPSLaunch public static class TestBody extends BaseTestBody { public void test_NodeThisFeatureIsNotAllowedCheck4740302442485194061() throws Exception { SNode operation = SNodeOperations.cast(getRealNodeById("4740302442485194061"), MetaAdapterFactory.getInterfaceConcept(0x8585453e6bfb4d80L, 0x98deb16074f1d86cL, 0x1510445f8a2c272dL, "jetbrains.mps.lang.test.structure.INodesTestMethod")); INodesTestMethod__BehaviorDescriptor.perform_id1kgh5YabdhC.invoke(operation, getRealNodeById("4740302442485192019")); } public void test_NodeMissingFeaturesCheck4740302442485174508() throws Exception { SNode operation = SNodeOperations.cast(getRealNodeById("4740302442485174508"), MetaAdapterFactory.getInterfaceConcept(0x8585453e6bfb4d80L, 0x98deb16074f1d86cL, 0x1510445f8a2c272dL, "jetbrains.mps.lang.test.structure.INodesTestMethod")); INodesTestMethod__BehaviorDescriptor.perform_id1kgh5YabdhC.invoke(operation, getRealNodeById("4740302442485174500")); } public void test_ErrorMessagesCheck4740302442485195517() throws Exception { SNode operation = SNodeOperations.cast(getRealNodeById("4740302442485195517"), MetaAdapterFactory.getInterfaceConcept(0x8585453e6bfb4d80L, 0x98deb16074f1d86cL, 0x1510445f8a2c272dL, "jetbrains.mps.lang.test.structure.INodesTestMethod")); INodesTestMethod__BehaviorDescriptor.perform_id1kgh5YabdhC.invoke(operation, getRealNodeById("4740302442485155894")); } public void test_ErrorMessagesCheck4740302442485195092() throws Exception { SNode operation = SNodeOperations.cast(getRealNodeById("4740302442485195092"), MetaAdapterFactory.getInterfaceConcept(0x8585453e6bfb4d80L, 0x98deb16074f1d86cL, 0x1510445f8a2c272dL, "jetbrains.mps.lang.test.structure.INodesTestMethod")); INodesTestMethod__BehaviorDescriptor.perform_id1kgh5YabdhC.invoke(operation, getRealNodeById("4740302442485158785")); } } }