mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
To better highlight that this test framework is for internal usage only. #IDEA-334017 GitOrigin-RevId: c491de2411cdffd6eee3e97a6273982560572f4b
29 lines
1.1 KiB
Java
29 lines
1.1 KiB
Java
package com.intellij.codeInspection.tests.java;
|
|
|
|
import com.intellij.jvm.analysis.JavaJvmAnalysisTestUtil;
|
|
import com.intellij.jvm.analysis.internal.testFramework.StringToUpperWithoutLocaleInspectionTestBase;
|
|
import com.intellij.testFramework.TestDataPath;
|
|
|
|
@TestDataPath("$CONTENT_ROOT/testData/codeInspection/toUpperWithoutLocale")
|
|
public class JavaStringToUpperWithoutLocaleInspectionTest extends StringToUpperWithoutLocaleInspectionTestBase {
|
|
|
|
@Override
|
|
protected String getBasePath() {
|
|
return JavaJvmAnalysisTestUtil.TEST_DATA_PROJECT_RELATIVE_BASE_PATH + "/codeInspection/toUpperWithoutLocale";
|
|
}
|
|
|
|
public void testSimpleCases() {
|
|
myFixture.testHighlighting("SimpleCases.java");
|
|
//TODO test after quickfix once it's implemented
|
|
}
|
|
|
|
public void testNonNlsCases() {
|
|
//TODO test #4 (about equals())
|
|
//TODO test #5 (about @NonNls in the left side of assignment expression)
|
|
//TODO test #6 with assigning method return value to variable? If this is not super hard to support.
|
|
myFixture.testHighlighting("NonNlsCases.java");
|
|
}
|
|
|
|
//TODO test pkg/subPkg
|
|
}
|