test++
authorDmitry Jemerov <yole@intellij.com>
Thu, 10 Sep 2009 17:51:16 +0000 (21:51 +0400)
committerDmitry Jemerov <yole@intellij.com>
Thu, 10 Sep 2009 17:51:16 +0000 (21:51 +0400)
java/java-tests/testData/refactoring/invertBoolean/1.java [moved from testData/refactoring/invertBoolean/1.java with 100% similarity]
java/java-tests/testData/refactoring/invertBoolean/1_after.java [moved from testData/refactoring/invertBoolean/1_after.java with 100% similarity]
java/java-tests/testData/refactoring/invertBoolean/2.java [moved from testData/refactoring/invertBoolean/2.java with 100% similarity]
java/java-tests/testData/refactoring/invertBoolean/2_after.java [moved from testData/refactoring/invertBoolean/2_after.java with 100% similarity]
java/java-tests/testData/refactoring/invertBoolean/parameter.java [moved from testData/refactoring/invertBoolean/parameter.java with 100% similarity]
java/java-tests/testData/refactoring/invertBoolean/parameter1.java [moved from testData/refactoring/invertBoolean/parameter1.java with 100% similarity]
java/java-tests/testData/refactoring/invertBoolean/parameter1_after.java [moved from testData/refactoring/invertBoolean/parameter1_after.java with 100% similarity]
java/java-tests/testData/refactoring/invertBoolean/parameter_after.java [moved from testData/refactoring/invertBoolean/parameter_after.java with 100% similarity]
java/java-tests/testSrc/com/intellij/refactoring/InvertBooleanTest.java [moved from refactoring/tests/com/intellij/refactoring/InvertBooleanTest.java with 82% similarity]

similarity index 82%
rename from refactoring/tests/com/intellij/refactoring/InvertBooleanTest.java
rename to java/java-tests/testSrc/com/intellij/refactoring/InvertBooleanTest.java
index ec46be33e0703605354c4510dc5e466893427f1e..8a35526861a7a70bab442db90bec1aae8e0c7a74 100644 (file)
@@ -1,15 +1,21 @@
 package com.intellij.refactoring;
 
-import com.intellij.codeInsight.CodeInsightTestCase;
 import com.intellij.codeInsight.TargetElementUtilBase;
 import com.intellij.psi.PsiElement;
 import com.intellij.psi.PsiNamedElement;
 import com.intellij.refactoring.invertBoolean.InvertBooleanProcessor;
+import com.intellij.testFramework.LightCodeInsightTestCase;
+import com.intellij.JavaTestUtil;
 
 /**
  * @author ven
  */
-public class InvertBooleanTest extends CodeInsightTestCase {
+public class InvertBooleanTest extends LightCodeInsightTestCase {
+  @Override
+  protected String getTestDataPath() {
+    return JavaTestUtil.getJavaTestDataPath();
+  }
+
   private static final String TEST_ROOT = "/refactoring/invertBoolean/";
 
   public void test1() throws Exception { doTest(); }