Multiplatform test annotations

Actual annotations are provided in kotlin-test-junit on JVM side
and in kotlin-test-js on JS side.

#KT-19696
This commit is contained in:
Ilya Gorbunov
2017-10-10 09:06:02 +03:00
parent 4b1b847f0a
commit f002493218
15 changed files with 146 additions and 9 deletions
+2 -1
View File
@@ -5,7 +5,8 @@ apply plugin: 'kotlin-platform-js'
configurePublishing(project)
dependencies {
implement project(':kotlin-test:kotlin-test-common')
expectedBy project(':kotlin-test:kotlin-test-common')
compile project(':kotlin-test:kotlin-test-annotations-common') // TODO: replace with impl-dependency
compile project(':kotlin-stdlib-js')
}
@@ -1,6 +1,6 @@
package org.junit
@Deprecated("Use 'Test' from kotlin.test package",
replaceWith = ReplaceWith("Test", "kotlin.test.Test"),
replaceWith = ReplaceWith("kotlin.test.Test", "kotlin.test.Test"),
level = DeprecationLevel.WARNING)
actual typealias Test = kotlin.test.Test