Add KotlinTestK2LibraryTest to new test infra
Merge-request: KT-MR-8766 Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
b19058caef
commit
93baad5f39
+25
@@ -7,6 +7,7 @@ package org.jetbrains.kotlin.konan.blackboxtest
|
|||||||
|
|
||||||
import org.jetbrains.kotlin.konan.blackboxtest.support.TestCaseId
|
import org.jetbrains.kotlin.konan.blackboxtest.support.TestCaseId
|
||||||
import org.jetbrains.kotlin.konan.blackboxtest.support.TestRunnerType
|
import org.jetbrains.kotlin.konan.blackboxtest.support.TestRunnerType
|
||||||
|
import org.jetbrains.kotlin.konan.blackboxtest.support.group.K2Pipeline
|
||||||
import org.jetbrains.kotlin.konan.blackboxtest.support.group.PredefinedTestCases
|
import org.jetbrains.kotlin.konan.blackboxtest.support.group.PredefinedTestCases
|
||||||
import org.jetbrains.kotlin.konan.blackboxtest.support.group.PredefinedTestCase as TC
|
import org.jetbrains.kotlin.konan.blackboxtest.support.group.PredefinedTestCase as TC
|
||||||
import org.junit.jupiter.api.Tag
|
import org.junit.jupiter.api.Tag
|
||||||
@@ -34,3 +35,27 @@ class KotlinTestLibraryTest : AbstractNativeBlackBoxTest() {
|
|||||||
@TestFactory
|
@TestFactory
|
||||||
fun worker() = dynamicTestCase(TestCaseId.Named("worker"))
|
fun worker() = dynamicTestCase(TestCaseId.Named("worker"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Tag("kotlin-test")
|
||||||
|
@PredefinedTestCases(
|
||||||
|
TC(
|
||||||
|
name = "default",
|
||||||
|
runnerType = TestRunnerType.DEFAULT,
|
||||||
|
freeCompilerArgs = [STDLIB_IS_A_FRIEND],
|
||||||
|
sourceLocations = ["libraries/kotlin.test/common/src/test/kotlin/**.kt"]
|
||||||
|
),
|
||||||
|
TC(
|
||||||
|
name = "worker",
|
||||||
|
runnerType = TestRunnerType.WORKER,
|
||||||
|
freeCompilerArgs = [STDLIB_IS_A_FRIEND],
|
||||||
|
sourceLocations = ["libraries/kotlin.test/common/src/test/kotlin/**.kt"]
|
||||||
|
)
|
||||||
|
)
|
||||||
|
@K2Pipeline
|
||||||
|
class KotlinTestK2LibraryTest : AbstractNativeBlackBoxTest() {
|
||||||
|
@TestFactory
|
||||||
|
fun default() = dynamicTestCase(TestCaseId.Named("default"))
|
||||||
|
|
||||||
|
@TestFactory
|
||||||
|
fun worker() = dynamicTestCase(TestCaseId.Named("worker"))
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user