mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-19 01:09:52 +07:00
40 lines
944 B
Java
40 lines
944 B
Java
/*
|
|
* Copyright (c) 2000-2006 JetBrains s.r.o. All Rights Reserved.
|
|
*/
|
|
|
|
package com.intellij.codeInspection;
|
|
|
|
import com.intellij.JavaTestUtil;
|
|
import com.intellij.codeInspection.suspiciousNameCombination.SuspiciousNameCombinationInspection;
|
|
import com.intellij.testFramework.InspectionTestCase;
|
|
|
|
/**
|
|
* @author yole
|
|
*/
|
|
public class SuspiciousNameCombinationTest extends InspectionTestCase {
|
|
@Override
|
|
protected String getTestDataPath() {
|
|
return JavaTestUtil.getJavaTestDataPath() + "/inspection";
|
|
}
|
|
|
|
private void doTest() throws Exception {
|
|
doTest("suspiciousNameCombination/" + getTestName(true), new SuspiciousNameCombinationInspection());
|
|
}
|
|
|
|
public void testAssignment() throws Exception {
|
|
doTest();
|
|
}
|
|
|
|
public void testInitializer() throws Exception {
|
|
doTest();
|
|
}
|
|
|
|
public void testParameter() throws Exception {
|
|
doTest();
|
|
}
|
|
|
|
public void testReturnValue() throws Exception {
|
|
doTest();
|
|
}
|
|
}
|