summaryrefslogtreecommitdiff
path: root/plugins/IntentionPowerPak/testSrc/com/siyeh/ipp/junit/FlipAssertLiteralIntentionTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IntentionPowerPak/testSrc/com/siyeh/ipp/junit/FlipAssertLiteralIntentionTest.java')
-rw-r--r--plugins/IntentionPowerPak/testSrc/com/siyeh/ipp/junit/FlipAssertLiteralIntentionTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/IntentionPowerPak/testSrc/com/siyeh/ipp/junit/FlipAssertLiteralIntentionTest.java b/plugins/IntentionPowerPak/testSrc/com/siyeh/ipp/junit/FlipAssertLiteralIntentionTest.java
index 98371872da52..4bd28a435688 100644
--- a/plugins/IntentionPowerPak/testSrc/com/siyeh/ipp/junit/FlipAssertLiteralIntentionTest.java
+++ b/plugins/IntentionPowerPak/testSrc/com/siyeh/ipp/junit/FlipAssertLiteralIntentionTest.java
@@ -10,6 +10,8 @@ import com.siyeh.ipp.IPPTestCase;
public class FlipAssertLiteralIntentionTest extends IPPTestCase {
public void testMessage() { doTest(); }
+ public void testExistingStaticImport() { doTest(); }
+ public void testStaticImportWithoutTestMethod() { doTest(); }
@Override
protected void setUp() throws Exception {
@@ -18,6 +20,10 @@ public class FlipAssertLiteralIntentionTest extends IPPTestCase {
"class Assert {" +
" public static void assertTrue(java.lang.String message, boolean condition) {}" +
"}");
+ myFixture.addClass("package org.junit;" +
+ "@Retention(RetentionPolicy.RUNTIME)" +
+ "@Target({ElementType.METHOD})" +
+ "public @interface Test {}");
}
@Override