Make kotlin-test-js implement both kotlin-test-common and kotlin-test-annotations-common

This commit is contained in:
Ilya Gorbunov
2018-03-22 05:20:19 +03:00
parent c7513b5ffa
commit dd8a00f651
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ configurePublishing(project)
dependencies { dependencies {
expectedBy 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 expectedBy project(':kotlin-test:kotlin-test-annotations-common')
compile project(':kotlin-stdlib-js') compile project(':kotlin-stdlib-js')
} }
@@ -20,22 +20,22 @@ package kotlin.test
* Marks a function as a test. * Marks a function as a test.
*/ */
@Target(AnnotationTarget.FUNCTION) @Target(AnnotationTarget.FUNCTION)
public annotation class Test public actual annotation class Test
/** /**
* Marks a test or a suite as ignored. * Marks a test or a suite as ignored.
*/ */
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION) @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
public annotation class Ignore public actual annotation class Ignore
/** /**
* Marks a function to be invoked before each test. * Marks a function to be invoked before each test.
*/ */
@Target(AnnotationTarget.FUNCTION) @Target(AnnotationTarget.FUNCTION)
public annotation class BeforeTest public actual annotation class BeforeTest
/** /**
* Marks a function to be invoked after each test. * Marks a function to be invoked after each test.
*/ */
@Target(AnnotationTarget.FUNCTION) @Target(AnnotationTarget.FUNCTION)
public annotation class AfterTest public actual annotation class AfterTest