mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
moving tests to CE
This commit is contained in:
+6
@@ -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;
|
||||
Reference in New Issue
Block a user