blob: 3503273ca0d7d4bbe326007812889699e7972eca [file] [log] [blame]
package com.siyeh.ig.naming;
import com.siyeh.ig.BaseInspection;
import com.siyeh.ig.IGInspectionTestCase;
public class OverloadedMethodsWithSameNumberOfParametersInspectionTest extends IGInspectionTestCase {
public void testIgnoreInconvertibleTypes() throws Exception {
doTest(new OverloadedMethodsWithSameNumberOfParametersInspection());
}
public void testReportAll() throws Exception {
final OverloadedMethodsWithSameNumberOfParametersInspection inspection = new OverloadedMethodsWithSameNumberOfParametersInspection();
inspection.ignoreInconvertibleTypes = false;
doTest(inspection);
}
private void doTest(BaseInspection inspection) throws Exception {
doTest("com/siyeh/igtest/naming/overloaded_methods_with_same_number_of_parameters/" + getTestName(false), inspection);
}
}