Add surround with if

This commit is contained in:
Natalia.Ukhorskaya
2013-02-11 13:14:18 +04:00
parent d772ad80f8
commit 1786c2c256
16 changed files with 265 additions and 1 deletions
@@ -29,6 +29,7 @@ import org.jetbrains.jet.jvm.compiler.*;
import org.jetbrains.jet.lang.resolve.lazy.AbstractLazyResolveDescriptorRendererTest;
import org.jetbrains.jet.lang.resolve.lazy.AbstractLazyResolveNamespaceComparingTest;
import org.jetbrains.jet.lang.resolve.lazy.AbstractLazyResolveTest;
import org.jetbrains.jet.plugin.codeInsight.surroundWith.AbstractSurroundWithTest;
import org.jetbrains.jet.plugin.highlighter.AbstractDeprecatedHighlightingTest;
import org.jetbrains.jet.plugin.quickfix.AbstractQuickFixMultiFileTest;
import org.jetbrains.jet.plugin.quickfix.AbstractQuickFixTest;
@@ -221,6 +222,13 @@ public class GenerateTests {
AbstractDeprecatedHighlightingTest.class,
testModel("idea/testData/highlighter/deprecated")
);
generateTest(
"idea/tests/",
"SurroundWithIfTestGenerated",
AbstractSurroundWithTest.class,
testModel("idea/testData/codeInsight/surroundWith/if", "doTestWithIfSurrounder")
);
}
private static SimpleTestClassModel testModel(@NotNull String rootPath) {