mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Make it easier to test IPPs MutablyNamedIntentions
This commit is contained in:
@@ -28,8 +28,12 @@ public abstract class IPPTestCase extends LightCodeInsightFixtureTestCase {
|
||||
protected abstract String getRelativePath();
|
||||
|
||||
protected void doTest() {
|
||||
doTest(getIntentionName());
|
||||
}
|
||||
|
||||
protected void doTest(String intentionName) {
|
||||
final String testName = getTestName(false);
|
||||
CodeInsightTestUtil.doIntentionTest(myFixture, getIntentionName(), testName + ".java", testName + "_after.java");
|
||||
CodeInsightTestUtil.doIntentionTest(myFixture, intentionName, testName + ".java", testName + "_after.java");
|
||||
}
|
||||
|
||||
protected void assertIntentionNotAvailable() {
|
||||
|
||||
Reference in New Issue
Block a user