mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[kotlin] rename some tests to hit the right test buckets
GitOrigin-RevId: c506efa2117b9b7bf664445ecffc170a6cee16b3
This commit is contained in:
committed by
intellij-monorepo-bot
parent
21ae6247c2
commit
a026b75e42
+1
-1
@@ -13,7 +13,7 @@ import org.junit.runner.RunWith
|
||||
@TestRoot("completion/tests/testData")
|
||||
@TestMetadata("handlers")
|
||||
@RunWith(JUnit38ClassRunner::class)
|
||||
class BasicCompletionHandlerTest : CompletionHandlerTestBase() {
|
||||
class BasicCompletionHandlerTest13 : CompletionHandlerTestBase() {
|
||||
private fun checkResult() {
|
||||
fixture.checkResultByFile(getTestName(false) + ".kt.after")
|
||||
}
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import org.jetbrains.kotlin.idea.codeInsight.gradle.facetSettings
|
||||
import org.jetbrains.plugins.gradle.tooling.annotation.PluginTargetVersions
|
||||
import org.junit.Test
|
||||
|
||||
class AssociateCompilationImportAndHighlightingTest : MultiplePluginVersionGradleImportingTestCase() {
|
||||
class AssociateCompilationImportAndHighlightingTest01 : MultiplePluginVersionGradleImportingTestCase() {
|
||||
|
||||
@Test
|
||||
@PluginTargetVersions(pluginVersion = "1.4+")
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@ import org.junit.Test
|
||||
import java.io.File
|
||||
|
||||
abstract class GradleMultiplatformHighlightingTest : MultiplePluginVersionGradleImportingTestCase() {
|
||||
class First : GradleMultiplatformHighlightingTest() {
|
||||
class First1 : GradleMultiplatformHighlightingTest() {
|
||||
@Test
|
||||
@PluginTargetVersions(pluginVersion = "1.3.0+")
|
||||
fun testFirst() {
|
||||
|
||||
+3
-3
@@ -27,7 +27,7 @@ abstract class HmppImportAndHighlightingTests : MultiplePluginVersionGradleImpor
|
||||
override fun testDataDirName(): String = "hmppImportAndHighlighting"
|
||||
override fun clearTextFromMarkup(text: String): String = clearTextFromDiagnosticMarkup(text)
|
||||
|
||||
class MultiModulesHmpp : HmppImportAndHighlightingTests() {
|
||||
class MultiModulesHmpp26 : HmppImportAndHighlightingTests() {
|
||||
@Test
|
||||
@PluginTargetVersions(pluginVersion = "1.5.0+")
|
||||
fun testMultiModulesHmpp() {
|
||||
@@ -479,7 +479,7 @@ abstract class HmppImportAndHighlightingTests : MultiplePluginVersionGradleImpor
|
||||
}
|
||||
}
|
||||
|
||||
class HmppLibAndConsumer : HmppImportAndHighlightingTests() {
|
||||
class HmppLibAndConsumer7 : HmppImportAndHighlightingTests() {
|
||||
@Test
|
||||
@PluginTargetVersions(pluginVersion = "1.4.30+")
|
||||
fun testHmppLibAndConsumer() {
|
||||
@@ -868,7 +868,7 @@ abstract class HmppImportAndHighlightingTests : MultiplePluginVersionGradleImpor
|
||||
}
|
||||
}
|
||||
|
||||
class Kt46625SupportedAndUnsupportedPlatform : HmppImportAndHighlightingTests() {
|
||||
class Kt46625SupportedAndUnsupportedPlatform12 : HmppImportAndHighlightingTests() {
|
||||
@Test
|
||||
@PluginTargetVersions(pluginVersion = "1.5.30+")
|
||||
fun testKt46625SupportedAndUnsupportedPlatform() {
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ import org.junit.Ignore
|
||||
import org.junit.Test
|
||||
|
||||
abstract class GradleBuildFileHighlightingTest : KotlinGradleImportingTestCase() {
|
||||
class KtsInJsProject : GradleBuildFileHighlightingTest() {
|
||||
class KtsInJsProject21 : GradleBuildFileHighlightingTest() {
|
||||
@TargetVersions("4.8 <=> 6.0")
|
||||
@Test
|
||||
fun testKtsInJsProject() {
|
||||
|
||||
+2
-2
@@ -91,7 +91,7 @@ abstract class GradleConfiguratorPlatformSpecificTest : KotlinGradleImportingTes
|
||||
fun testAddLibraryMultiplatformGSK() = doTestAddLibrary()
|
||||
}
|
||||
|
||||
class AddLibraryMultiplatformGSK2 : GradleConfiguratorPlatformSpecificTest() {
|
||||
class AddLibraryMultiplatformGSK210 : GradleConfiguratorPlatformSpecificTest() {
|
||||
@Test
|
||||
@TargetVersions("4.7+")
|
||||
fun testAddLibraryMultiplatformGSK2() = doTestAddLibrary()
|
||||
@@ -103,7 +103,7 @@ abstract class GradleConfiguratorPlatformSpecificTest : KotlinGradleImportingTes
|
||||
fun testAddLibraryMultiplatformGSK3() = doTestAddLibrary()
|
||||
}
|
||||
|
||||
class AddLibraryMultiplatformGSK4 : GradleConfiguratorPlatformSpecificTest() {
|
||||
class AddLibraryMultiplatformGSK43 : GradleConfiguratorPlatformSpecificTest() {
|
||||
@Test
|
||||
@TargetVersions("4.7+")
|
||||
fun testAddLibraryMultiplatformGSK4() = doTestAddLibrary()
|
||||
|
||||
+2
-2
@@ -31,7 +31,7 @@ import org.junit.Ignore
|
||||
import org.junit.Test
|
||||
|
||||
abstract class GradleConfiguratorTest : KotlinGradleImportingTestCase() {
|
||||
class ProjectWithModule : GradleConfiguratorTest() {
|
||||
class ProjectWithModule8 : GradleConfiguratorTest() {
|
||||
@Test
|
||||
fun testProjectWithModule() {
|
||||
importProjectFromTestData()
|
||||
@@ -451,7 +451,7 @@ abstract class GradleConfiguratorTest : KotlinGradleImportingTestCase() {
|
||||
}
|
||||
}
|
||||
|
||||
class AddTestLibraryGSK : GradleConfiguratorTest() {
|
||||
class AddTestLibraryGSK07 : GradleConfiguratorTest() {
|
||||
@Test
|
||||
fun testAddTestLibraryGSK() {
|
||||
val files = importProjectFromTestData()
|
||||
|
||||
+1
-1
@@ -643,7 +643,7 @@ abstract class GradleFacetImportTest : KotlinGradleImportingTestCase() {
|
||||
}
|
||||
}
|
||||
|
||||
class JDKImport : GradleFacetImportTest() {
|
||||
class JDKImport0 : GradleFacetImportTest() {
|
||||
@Test
|
||||
fun testJDKImport() {
|
||||
val mockJdkPath = "${PathManager.getHomePath()}/community/java/mockJDK-1.8"
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ abstract class GradleMppNoJvmRunConfigurationProducersTest : GradleTestRunConfig
|
||||
|
||||
//// ALL IN CLASS /////
|
||||
|
||||
class AllTestsInJsClass : GradleMppNoJvmRunConfigurationProducersTest() {
|
||||
class AllTestsInJsClass9 : GradleMppNoJvmRunConfigurationProducersTest() {
|
||||
@Test
|
||||
fun allTestsInJsClass() {
|
||||
assertConfigurationFromContext<KotlinMultiplatformJsTestClassGradleConfigurationProducer>(
|
||||
|
||||
+4
-4
@@ -24,13 +24,13 @@ abstract class GradleQuickFixTest : AbstractGradleMultiFileQuickFixTest() {
|
||||
fun testCreateActualForJvm() = doMultiFileQuickFixTest()
|
||||
}
|
||||
|
||||
class CreateActualForJvmTest : GradleQuickFixTest() {
|
||||
class CreateActualForJvmTest20 : GradleQuickFixTest() {
|
||||
@Test
|
||||
@PluginTargetVersions(pluginVersion = "1.5.31+")
|
||||
fun testCreateActualForJvmTest() = doMultiFileQuickFixTest()
|
||||
}
|
||||
|
||||
class CreateActualForJvmTestWithCustomPath : GradleQuickFixTest() {
|
||||
class CreateActualForJvmTestWithCustomPath9 : GradleQuickFixTest() {
|
||||
@Test
|
||||
@PluginTargetVersions(pluginVersion = "1.5.31+")
|
||||
fun testCreateActualForJvmTestWithCustomPath() = doMultiFileQuickFixTest()
|
||||
@@ -42,13 +42,13 @@ abstract class GradleQuickFixTest : AbstractGradleMultiFileQuickFixTest() {
|
||||
fun testCreateActualForJvmTestWithCustomExistentPath() = doMultiFileQuickFixTest()
|
||||
}
|
||||
|
||||
class CreateActualForNativeIOS : GradleQuickFixTest() {
|
||||
class CreateActualForNativeIOS15 : GradleQuickFixTest() {
|
||||
@Test
|
||||
@PluginTargetVersions(pluginVersion = "1.5.31+")
|
||||
fun testCreateActualForNativeIOS() = doMultiFileQuickFixTest()
|
||||
}
|
||||
|
||||
class CreateActualForNativeIOSWithExistentPath : GradleQuickFixTest() {
|
||||
class CreateActualForNativeIOSWithExistentPath2 : GradleQuickFixTest() {
|
||||
@Test
|
||||
@PluginTargetVersions(pluginVersion = "1.5.31+")
|
||||
fun testCreateActualForNativeIOSWithExistentPath() = doMultiFileQuickFixTest()
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ abstract class GradleNativeLibrariesPropagationTest : TestCaseWithFakeKotlinNati
|
||||
|
||||
private val testedTargets = setOf("ios_arm64", "ios_x64", "watchos_arm32", "watchos_x86")
|
||||
|
||||
class CommonIOS : GradleNativeLibrariesPropagationTest() {
|
||||
class CommonIOS11 : GradleNativeLibrariesPropagationTest() {
|
||||
@Test
|
||||
fun testCommonIOS() {
|
||||
configureProject()
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ import kotlin.test.assertNotNull
|
||||
@TestRoot("idea/tests")
|
||||
@TestMetadata("testData/decompiler/lightClassesOrder")
|
||||
@RunWith(JUnit38ClassRunner::class)
|
||||
class LightClassesClasspathSortingTest : KotlinLightCodeInsightFixtureTestCase() {
|
||||
class LightClassesClasspathSortingTest07 : KotlinLightCodeInsightFixtureTestCase() {
|
||||
private val mockLibraryFacility = MockLibraryFacility(File(testDataPath, getTestName(true)))
|
||||
|
||||
fun testExplicitClass() {
|
||||
|
||||
+2
-2
@@ -1030,7 +1030,7 @@ abstract class AbstractKotlinMavenImporterTest : KotlinMavenImportingTestCase()
|
||||
}
|
||||
}
|
||||
|
||||
class JvmDetectionByGoalWithJvmStdlib : AbstractKotlinMavenImporterTest() {
|
||||
class JvmDetectionByGoalWithJvmStdlib6 : AbstractKotlinMavenImporterTest() {
|
||||
@Test
|
||||
fun testJvmDetectionByGoalWithJvmStdlib() {
|
||||
createProjectSubDirs("src/main/kotlin", "src/main/kotlin.jvm", "src/test/kotlin", "src/test/kotlin.jvm")
|
||||
@@ -1387,7 +1387,7 @@ abstract class AbstractKotlinMavenImporterTest : KotlinMavenImportingTestCase()
|
||||
}
|
||||
}
|
||||
|
||||
class CommonDetectionByGoalWithJvmStdlib : AbstractKotlinMavenImporterTest() {
|
||||
class CommonDetectionByGoalWithJvmStdlib116 : AbstractKotlinMavenImporterTest() {
|
||||
@Test
|
||||
fun testCommonDetectionByGoalWithJvmStdlib() {
|
||||
createProjectSubDirs("src/main/kotlin", "src/main/kotlin.jvm", "src/test/kotlin", "src/test/kotlin.jvm")
|
||||
|
||||
Reference in New Issue
Block a user