mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
To better highlight that this test framework is for internal usage only. #IDEA-334017 GitOrigin-RevId: c491de2411cdffd6eee3e97a6273982560572f4b
24 lines
807 B
Kotlin
24 lines
807 B
Kotlin
package com.intellij.codeInspection.tests.java
|
|
|
|
import com.intellij.jvm.analysis.JavaJvmAnalysisTestUtil
|
|
import com.intellij.jvm.analysis.internal.testFramework.ThreadRunInspectionTestBase
|
|
import com.intellij.testFramework.TestDataPath
|
|
|
|
private const val inspectionPath = "/codeInspection/threadrun"
|
|
|
|
@TestDataPath("\$CONTENT_ROOT/testData$inspectionPath")
|
|
class JavaThreadRunInspectionTest : ThreadRunInspectionTestBase() {
|
|
override fun getBasePath() = JavaJvmAnalysisTestUtil.TEST_DATA_PROJECT_RELATIVE_BASE_PATH + inspectionPath
|
|
|
|
fun `test highlighting`() {
|
|
myFixture.testHighlighting("ThreadRunTest.java")
|
|
}
|
|
|
|
fun `test no highlighting super`() {
|
|
myFixture.testHighlighting("ThreadRunSuperTest.java")
|
|
}
|
|
|
|
fun `test quickfix`() {
|
|
myFixture.testQuickFix("ThreadRunQfTest.java")
|
|
}
|
|
} |