diff --git a/libraries/examples/js-example/src/test/kotlin/sample/SampleTest.kt b/libraries/examples/js-example/src/test/kotlin/sample/SampleTest.kt index 07a3a7f604e..f8c4ab41aef 100644 --- a/libraries/examples/js-example/src/test/kotlin/sample/SampleTest.kt +++ b/libraries/examples/js-example/src/test/kotlin/sample/SampleTest.kt @@ -1,8 +1,7 @@ package test.sample import sample.Hello - -import org.junit.Test +import kotlin.test.Test class SampleTest { @Test diff --git a/libraries/kotlin.test/common/src/main/kotlin/org/junit/Test.kt b/libraries/kotlin.test/common/src/main/kotlin/org/junit/Test.kt index 4f4196820c9..993dbdb26cc 100644 --- a/libraries/kotlin.test/common/src/main/kotlin/org/junit/Test.kt +++ b/libraries/kotlin.test/common/src/main/kotlin/org/junit/Test.kt @@ -10,6 +10,6 @@ package org.junit @Deprecated( "Use 'Test' from kotlin.test package", replaceWith = ReplaceWith("kotlin.test.Test", "kotlin.test.Test"), - level = DeprecationLevel.WARNING + level = DeprecationLevel.ERROR ) expect annotation class Test() diff --git a/libraries/kotlin.test/js/src/main/kotlin/org/junit/junitTest.kt b/libraries/kotlin.test/js/src/main/kotlin/org/junit/junitTest.kt index ba85ebb7e7b..db31c67fb56 100644 --- a/libraries/kotlin.test/js/src/main/kotlin/org/junit/junitTest.kt +++ b/libraries/kotlin.test/js/src/main/kotlin/org/junit/junitTest.kt @@ -8,6 +8,6 @@ package org.junit @Deprecated( "Use 'Test' from kotlin.test package", replaceWith = ReplaceWith("kotlin.test.Test", "kotlin.test.Test"), - level = DeprecationLevel.WARNING + level = DeprecationLevel.ERROR ) actual typealias Test = kotlin.test.Test diff --git a/libraries/tools/kotlin-maven-plugin-test/src/it/test-multiplatform/shared/pom.xml b/libraries/tools/kotlin-maven-plugin-test/src/it/test-multiplatform/shared/pom.xml index e4143bf0567..cc86dad18d3 100644 --- a/libraries/tools/kotlin-maven-plugin-test/src/it/test-multiplatform/shared/pom.xml +++ b/libraries/tools/kotlin-maven-plugin-test/src/it/test-multiplatform/shared/pom.xml @@ -25,6 +25,12 @@ ${kotlin.version} test + + org.jetbrains.kotlin + kotlin-test-annotations-common + ${kotlin.version} + test + diff --git a/libraries/tools/kotlin-maven-plugin-test/src/it/test-multiplatform/shared/src/test/kotlin/org/jetbrains/SharedTest.kt b/libraries/tools/kotlin-maven-plugin-test/src/it/test-multiplatform/shared/src/test/kotlin/org/jetbrains/SharedTest.kt index af3d2b9a57b..1623b9fbfed 100644 --- a/libraries/tools/kotlin-maven-plugin-test/src/it/test-multiplatform/shared/src/test/kotlin/org/jetbrains/SharedTest.kt +++ b/libraries/tools/kotlin-maven-plugin-test/src/it/test-multiplatform/shared/src/test/kotlin/org/jetbrains/SharedTest.kt @@ -1,7 +1,6 @@ package org.jetbrains import kotlin.test.* -import org.junit.Test open class SharedTest { @Test