moving tests to CE

This commit is contained in:
Dmitry Jemerov
2009-09-25 20:49:14 +04:00
parent 2eb0468116
commit debc16135f
7 changed files with 6 additions and 0 deletions
@@ -4,6 +4,7 @@
package com.intellij.codeInspection;
import com.intellij.JavaTestUtil;
import com.intellij.codeInspection.deprecation.DeprecationInspection;
import com.intellij.testFramework.InspectionTestCase;
@@ -11,6 +12,11 @@ import com.intellij.testFramework.InspectionTestCase;
* @author max
*/
public class DeprecationInspectionTest extends InspectionTestCase {
@Override
protected String getTestDataPath() {
return JavaTestUtil.getJavaTestDataPath() + "/inspection";
}
private void doTest() throws Exception {
doTest("deprecation/" + getTestName(true), new DeprecationInspection());
}