moving tests to CE

This commit is contained in:
Dmitry Jemerov
2009-09-25 20:56:01 +04:00
parent 2912d6965b
commit 7056118d36
11 changed files with 6 additions and 0 deletions
@@ -1,5 +1,6 @@
package com.intellij.codeInspection;
import com.intellij.JavaTestUtil;
import com.intellij.codeInspection.varScopeCanBeNarrowed.FieldCanBeLocalInspection;
import com.intellij.testFramework.InspectionTestCase;
@@ -7,6 +8,11 @@ import com.intellij.testFramework.InspectionTestCase;
* @author ven
*/
public class FieldCanBeLocalTest extends InspectionTestCase {
@Override
protected String getTestDataPath() {
return JavaTestUtil.getJavaTestDataPath() + "/inspection";
}
private void doTest() throws Exception {
doTest("fieldCanBeLocal/" + getTestName(true), new FieldCanBeLocalInspection());
}