moving tests to CE

This commit is contained in:
Dmitry Jemerov
2009-09-25 21:02:55 +04:00
parent d359fae222
commit 6fef276b55
5 changed files with 5 additions and 0 deletions
@@ -4,11 +4,16 @@
*/
package com.intellij.codeInspection;
import com.intellij.JavaTestUtil;
import com.intellij.codeInspection.ex.LocalInspectionToolWrapper;
import com.intellij.codeInspection.java15api.Java15APIUsageInspection;
import com.intellij.testFramework.InspectionTestCase;
public class JavaAPIUsagesInspectionTest extends InspectionTestCase {
@Override
protected String getTestDataPath() {
return JavaTestUtil.getJavaTestDataPath() + "/inspection";
}
private void doTest() throws Exception {
doTest("usage1.5/" + getTestName(false), new LocalInspectionToolWrapper(new Java15APIUsageInspection()), "java 1.5");