moving tests to CE

This commit is contained in:
Dmitry Jemerov
2009-09-25 20:36:52 +04:00
parent ec0a5c9294
commit 64ecc03e67
26 changed files with 6 additions and 0 deletions
@@ -8,10 +8,16 @@
*/
package com.intellij.codeInspection;
import com.intellij.JavaTestUtil;
import com.intellij.codeInspection.canBeFinal.CanBeFinalInspection;
import com.intellij.testFramework.InspectionTestCase;
public class CanBeFinalTest extends InspectionTestCase {
@Override
protected String getTestDataPath() {
return JavaTestUtil.getJavaTestDataPath() + "/inspection";
}
private void doTest() throws Exception {
final CanBeFinalInspection tool = new CanBeFinalInspection();
tool.REPORT_CLASSES = true;