moving tests to CE

This commit is contained in:
Dmitry Jemerov
2009-09-25 21:26:00 +04:00
parent 25140c5070
commit be563a6e3d
5 changed files with 6 additions and 0 deletions
@@ -10,10 +10,16 @@
*/
package com.intellij.codeInspection;
import com.intellij.JavaTestUtil;
import com.intellij.codeInspection.sillyAssignment.SillyAssignmentInspection;
import com.intellij.testFramework.InspectionTestCase;
public class SillyAssignmentTest extends InspectionTestCase {
@Override
protected String getTestDataPath() {
return JavaTestUtil.getJavaTestDataPath() + "/inspection";
}
private void doTest() throws Exception {
doTest("sillyAssignment/" + getTestName(true), new SillyAssignmentInspection());
}