From ebea5751f434b2d3fdf1e0cf8a4667c18b8ae837 Mon Sep 17 00:00:00 2001 From: "Denis.Zhdanov" Date: Tue, 24 Jul 2012 13:16:49 +0400 Subject: [PATCH] IDEA-19061 Integrate the Rearranger-plugin into core-IDEA Fix tests at the server --- .../psi/codeStyle/arrangement/AbstractRearrangerTest.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java/java-tests/testSrc/com/intellij/psi/codeStyle/arrangement/AbstractRearrangerTest.groovy b/java/java-tests/testSrc/com/intellij/psi/codeStyle/arrangement/AbstractRearrangerTest.groovy index b7147b116d7e..8d2a19cee7cf 100644 --- a/java/java-tests/testSrc/com/intellij/psi/codeStyle/arrangement/AbstractRearrangerTest.groovy +++ b/java/java-tests/testSrc/com/intellij/psi/codeStyle/arrangement/AbstractRearrangerTest.groovy @@ -24,6 +24,7 @@ import com.intellij.psi.codeStyle.CodeStyleSettingsManager import com.intellij.psi.codeStyle.arrangement.engine.ArrangementEngine import com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase import org.jetbrains.annotations.NotNull +import org.jetbrains.annotations.Nullable /** * @author Denis Zhdanov * @since 7/20/12 2:54 PM @@ -47,7 +48,7 @@ abstract class AbstractRearrangerTest extends LightCodeInsightFixtureTestCase { protected void doTest(@NotNull String initial, @NotNull String expected, @NotNull List rules, - @NotNull Collection ranges = null) + Collection ranges = null) { def (String textToUse, List rangesToUse) = parseRanges(initial) if (rangesToUse && ranges) {