mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-21 06:08:30 +07:00
25 lines
899 B
Java
25 lines
899 B
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(); }
|
|
}
|