mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
+2
-2
@@ -41,11 +41,11 @@ abstract class GrIntentionTestCase extends LightCodeInsightFixtureTestCase {
|
||||
myHint = intention.newInstance().text
|
||||
}
|
||||
|
||||
protected void doTest(@NotNull String hint = myHint, boolean intentionExists) {
|
||||
protected void doTest(@NotNull String hint = myHint, boolean intentionShouldBeAvailable) {
|
||||
assertNotNull(hint)
|
||||
myFixture.configureByFile(getTestName(false) + ".groovy")
|
||||
final List<IntentionAction> list = myFixture.filterAvailableIntentions(hint)
|
||||
if (intentionExists) {
|
||||
if (intentionShouldBeAvailable) {
|
||||
myFixture.launchAction(assertOneElement(list))
|
||||
PostprocessReformattingAspect.getInstance(project).doPostponedFormatting()
|
||||
myFixture.checkResultByFile(getTestName(false) + "_after.groovy")
|
||||
|
||||
Reference in New Issue
Block a user