package jetbrains.mps.lang.editor.menus.substitute.tests.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.BaseEditorTestBody; import junit.framework.Assert; @MPSLaunch public class TestSubstitute_CheckNotSubconcept_Test extends BaseTransformationTest { @Test public void test_TestSubstitute_CheckNotSubconcept() throws Throwable { initTest("${mps_home}", "r:62873c84-7a76-488a-9b84-4e0ffdbec8db(jetbrains.mps.lang.editor.menus.substitute.tests.tests@tests)"); runTest("jetbrains.mps.lang.editor.menus.substitute.tests.tests.TestSubstitute_CheckNotSubconcept_Test$TestBody", "testMethod", false); } @MPSLaunch public static class TestBody extends BaseEditorTestBody { @Override public void testMethodImpl() throws Exception { initEditorComponent("9174907873152785195", "9174907873152785197"); invokeAction("jetbrains.mps.ide.editor.actions.Complete_Action"); Assert.assertTrue(getEditorComponent().getNodeSubstituteChooser().isVisible()); Assert.assertTrue(getEditorComponent().getNodeSubstituteChooser().getNumberOfActions() == 0); } } }