Files
openide/jvm/jvm-analysis-java-tests/testSrc/com/intellij/codeInspection/tests/java/JavaStringToUpperWithoutLocaleInspectionTest.java
Bart van Helvert ba513a4d88 [jvm] Rename shared.testFramework to internal.TestFramework
To better highlight that this test framework is for internal usage only. #IDEA-334017

GitOrigin-RevId: c491de2411cdffd6eee3e97a6273982560572f4b
2023-10-11 23:39:50 +00:00

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
}