invert boolean: stop on class level (IDEA-66889)

This commit is contained in:
anna
2011-03-22 12:43:37 +01:00
parent eac1f4d2de
commit 6776cbd8c1
4 changed files with 38 additions and 0 deletions

View File

@@ -27,6 +27,8 @@ public class InvertBooleanTest extends LightCodeInsightTestCase {
public void testParameter1() throws Exception { doTest(); } //inverting boolean parameter more advanced stuff
public void testUnusedReturnValue() throws Exception { doTest(); }
public void testInnerClasses() throws Exception {doTest();}
private void doTest() throws Exception {
configureByFile(TEST_ROOT + getTestName(true) + ".java");
PsiElement element = TargetElementUtilBase.findTargetElement(myEditor, TargetElementUtilBase.ELEMENT_NAME_ACCEPTED);