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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user