Files
openide/java/java-tests/testSrc/com/intellij/codeInspection/DuplicateThrowsInspectionTest.java
2009-09-25 20:50:41 +04:00

21 lines
594 B
Java

package com.intellij.codeInspection;
import com.intellij.JavaTestUtil;
import com.intellij.codeInspection.duplicateThrows.DuplicateThrowsInspection;
import com.intellij.testFramework.InspectionTestCase;
public class DuplicateThrowsInspectionTest extends InspectionTestCase {
@Override
protected String getTestDataPath() {
return JavaTestUtil.getJavaTestDataPath() + "/inspection";
}
private void doTest() throws Exception {
doTest("duplicateThrows/" + getTestName(true), new DuplicateThrowsInspection());
}
public void testSimple() throws Exception{
doTest();
}
}