void () { myFixture.configureByFile("InsertDeleteQuote.cs"); EditorTestUtil.performTypingAction(myFixture.getEditor(), '"'); myFixture.checkResultByFile("InsertDeleteQuote_after.cs"); myFixture.configureByFile("InsertDeleteQuote_after.cs"); EditorTestUtil.performTypingAction(myFixture.getEditor(), BACKSPACE_FAKE_CHAR); myFixture.checkResultByFile("InsertDeleteQuote.cs"); FileType extension = FileTypeManager.getInstance().getFileTypeByExtension("pl"); TestCase.assertTrue("Test is not set up correctly:" + extension, extension instanceof AbstractFileType); myFixture.configureByFile("InsertDeleteQuote.pl"); EditorTestUtil.performTypingAction(myFixture.getEditor(), '"'); myFixture.checkResultByFile("InsertDeleteQuote_after.pl"); myFixture.configureByFile("InsertDeleteQuote_after.pl"); EditorTestUtil.performTypingAction(myFixture.getEditor(), BACKSPACE_FAKE_CHAR); myFixture.checkResultByFile("InsertDeleteQuote.pl"); myFixture.configureByFile("InsertDeleteQuote.aj"); EditorTestUtil.performTypingAction(myFixture.getEditor(), '"'); myFixture.checkResultByFile("InsertDeleteQuote_after.aj"); myFixture.configureByFile("InsertDeleteQuote_after.aj"); EditorTestUtil.performTypingAction(myFixture.getEditor(), BACKSPACE_FAKE_CHAR); myFixture.checkResultByFile("InsertDeleteQuote.aj"); }