mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 16:39:37 +07:00
22 lines
569 B
Java
22 lines
569 B
Java
package com.intellij.codeInspection;
|
|
|
|
import com.intellij.JavaTestUtil;
|
|
import com.intellij.codeInspection.defUse.DefUseInspection;
|
|
import com.intellij.testFramework.InspectionTestCase;
|
|
|
|
public class NumericOverflowTest extends InspectionTestCase {
|
|
@Override
|
|
protected String getTestDataPath() {
|
|
return JavaTestUtil.getJavaTestDataPath() + "/inspection";
|
|
}
|
|
|
|
private void doTest() throws Exception {
|
|
doTest("numericOverflow/" + getTestName(false), new NumericOverflowInspection());
|
|
}
|
|
|
|
|
|
public void testSimple() throws Exception {
|
|
doTest();
|
|
}
|
|
}
|