Make kotlin-test-js implement both kotlin-test-common and kotlin-test-annotations-common
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user