mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:08:53 +07:00
27 lines
1.0 KiB
Java
27 lines
1.0 KiB
Java
package com.intellij.codeInspection;
|
|
|
|
import com.intellij.JavaTestUtil;
|
|
import com.intellij.codeInspection.miscGenerics.RedundantArrayForVarargsCallInspection;
|
|
import com.intellij.codeInspection.ex.LocalInspectionToolWrapper;
|
|
import com.intellij.testFramework.InspectionTestCase;
|
|
|
|
/**
|
|
* @author cdr
|
|
*/
|
|
public class RedundantArrayForVarargsCallInspectionTest extends InspectionTestCase {
|
|
@Override
|
|
protected String getTestDataPath() {
|
|
return JavaTestUtil.getJavaTestDataPath() + "/inspection";
|
|
}
|
|
|
|
private void doTest() throws Exception {
|
|
doTest("redundantArrayForVarargs/" + getTestName(true), new LocalInspectionToolWrapper(new RedundantArrayForVarargsCallInspection()),"java 1.5");
|
|
}
|
|
|
|
public void testIDEADEV15215() throws Exception { doTest(); }
|
|
public void testIDEADEV25923() throws Exception { doTest(); }
|
|
public void testNestedArray() throws Exception { doTest(); }
|
|
public void testCheckEnumConstant() throws Exception { doTest(); }
|
|
public void testGeneric() throws Exception { doTest(); }
|
|
}
|