@Override public void testMethodImpl() throws Exception { final IEditor editor = TestBody.this.initEditor("1086097794003869711", "1086097794003869715"); EditorComponent editorComponent = editor.getCurrentEditorComponent(); BaseEditorTestBody.invokeAction( editorComponent, "jetbrains.mps.ide.editor.actions.Delete_Action"); BaseEditorTestBody.typeString(editorComponent, "- "); }
@Override public void testMethodImpl() throws Exception { final Editor editor = TestBody.this.initEditor("4905320928998872012", "4905320928998872025"); EditorComponent editorComponent = (EditorComponent) editor.getCurrentEditorComponent(); BaseEditorTestBody.typeString(editorComponent, ")"); BaseEditorTestBody.invokeAction( editorComponent, "jetbrains.mps.ide.editor.actions.MoveLeft_Action"); }
@Override public void testMethodImpl() throws Exception { final Editor editor = TestBody.this.initEditor("9025751233592076949", "9025751233592076974"); EditorComponent editorComponent = (EditorComponent) editor.getCurrentEditorComponent(); BaseEditorTestBody.invokeAction( editorComponent, "jetbrains.mps.ide.editor.actions.Delete_Action"); BaseEditorTestBody.invokeAction( editorComponent, "jetbrains.mps.ide.editor.actions.Delete_Action"); }
@Override public void testMethodImpl() throws Exception { final Editor editor = TestBody.this.initEditor("2025581204008535356", "2025581204008535365"); EditorComponent editorComponent = (EditorComponent) editor.getCurrentEditorComponent(); BaseEditorTestBody.invokeAction( editorComponent, "jetbrains.mps.ide.editor.actions.SelectNext_Action"); BaseEditorTestBody.invokeAction( editorComponent, "jetbrains.mps.ide.editor.actions.RootHome_Action"); }
@Override public void testMethodImpl() throws Exception { final Editor editor = TestBody.this.initEditor("9080919888312410799", "9080919888312410806"); EditorComponent editorComponent = (EditorComponent) editor.getCurrentEditorComponent(); BaseEditorTestBody.invokeAction( editorComponent, "jetbrains.mps.ide.editor.actions.SelectNext_Action"); BaseEditorTestBody.invokeAction( editorComponent, "jetbrains.mps.ide.editor.actions.End_Action"); }
@Override public void testMethodImpl() throws Exception { final Editor editor = TestBody.this.initEditor("222793074662091832", "222793074662091867"); EditorComponent editorComponent = (EditorComponent) editor.getCurrentEditorComponent(); BaseEditorTestBody.invokeAction(editorComponent, "$Copy"); BaseEditorTestBody.invokeAction( editorComponent, "jetbrains.mps.ide.editor.actions.Insert_Action"); BaseEditorTestBody.invokeAction(editorComponent, "$Paste"); }
@Override public void testMethodImpl() throws Exception { final IEditor editor = TestBody.this.initEditor("1232980665819", "1232980720898"); EditorComponent editorComponent = editor.getCurrentEditorComponent(); BaseEditorTestBody.pressKeys( editorComponent, ListSequence.fromListAndArray(new ArrayList<String>(), "ctrl UP", "ctrl UP", "ctrl UP")); BaseEditorTestBody.invokeAction( editorComponent, "jetbrains.mps.ide.editor.actions.End_Action"); BaseEditorTestBody.invokeAction( editorComponent, "jetbrains.mps.ide.editor.actions.MoveLeft_Action"); }
@Override public void testMethodImpl() throws Exception { final Editor editor = TestBody.this.initEditor("6500338114639041775", "6500338114639041779"); EditorComponent editorComponent = (EditorComponent) editor.getCurrentEditorComponent(); BaseEditorTestBody.typeString(editorComponent, " "); BaseEditorTestBody.pressKeys( editorComponent, ListSequence.fromListAndArray(new ArrayList<String>(), "ctrl SPACE")); Assert.assertTrue(editorComponent.getNodeSubstituteChooser().isVisible()); Assert.assertTrue(editorComponent.getNodeSubstituteChooser().isMenuEmpty()); editorComponent.getNodeSubstituteChooser().setVisible(false); BaseEditorTestBody.pressKeys( editorComponent, ListSequence.fromListAndArray(new ArrayList<String>(), " ESCAPE")); }
@Override public void testMethodImpl() throws Exception { final Editor editor = TestBody.this.initEditor("5633355289409998034", "5633355289409998035"); EditorComponent editorComponent = (EditorComponent) editor.getCurrentEditorComponent(); BaseEditorTestBody.invokeAction( editorComponent, "jetbrains.mps.ide.editor.actions.Backspace_Action"); }
@Override public void testMethodImpl() throws Exception { final Editor editor = TestBody.this.initEditor("6170050146384276560", "6170050146384276582"); EditorComponent editorComponent = (EditorComponent) editor.getCurrentEditorComponent(); BaseEditorTestBody.invokeAction( editorComponent, "jetbrains.mps.ide.editor.actions.Insert_Action"); }
@Override public void testMethodImpl() throws Exception { final Editor editor = TestBody.this.initEditor("1310272842909656086", "1310272842909656095"); EditorComponent editorComponent = (EditorComponent) editor.getCurrentEditorComponent(); BaseEditorTestBody.invokeAction( editorComponent, "jetbrains.mps.ide.editor.actions.Insert_Action"); }
@Override public void testMethodImpl() throws Exception { final Editor editor = TestBody.this.initEditor("7424976593885769462", "7424976593885770519"); EditorComponent editorComponent = (EditorComponent) editor.getCurrentEditorComponent(); BaseEditorTestBody.invokeAction( editorComponent, "jetbrains.mps.ide.editor.actions.Insert_Action"); }
@Override public void testMethodImpl() throws Exception { final IEditor editor = TestBody.this.initEditor("5877647854348551076", "5877647854348551102"); EditorComponent editorComponent = editor.getCurrentEditorComponent(); BaseEditorTestBody.invokeAction( editorComponent, "jetbrains.mps.ide.editor.actions.Delete_Action"); }
@Override public void testMethodImpl() throws Exception { final Editor editor = TestBody.this.initEditor("8143909488490604941", "8143909488490604963"); EditorComponent editorComponent = (EditorComponent) editor.getCurrentEditorComponent(); BaseEditorTestBody.invokeAction( editorComponent, "jetbrains.mps.ide.editor.actions.Delete_Action"); }
@Override public void testMethodImpl() throws Exception { final IEditor editor = TestBody.this.initEditor("6341395909949440714", "6341395909949440739"); EditorComponent editorComponent = editor.getCurrentEditorComponent(); BaseEditorTestBody.invokeAction( editorComponent, "jetbrains.mps.ide.editor.actions.Insert_Action"); }
@Override public void testMethodImpl() throws Exception { final Editor editor = TestBody.this.initEditor("7888701088960178556", "7888701088960178795"); EditorComponent editorComponent = (EditorComponent) editor.getCurrentEditorComponent(); BaseEditorTestBody.typeString(editorComponent, "publicint a=1"); }
@Override public void testMethodImpl() throws Exception { final IEditor editor = TestBody.this.initEditor("1230058635715", "1230058635724"); EditorComponent editorComponent = editor.getCurrentEditorComponent(); BaseEditorTestBody.typeString(editorComponent, "2;"); }