From e5cfd198c7c8b82f08b0f6e8cbe5e22ed56cbaa9 Mon Sep 17 00:00:00 2001 From: Anton Bannykh Date: Wed, 11 Oct 2017 14:42:21 +0300 Subject: [PATCH] JS: temporarily remove @BeforeTest and @AfterTest checks from integration test until bootstrap compiler supports the annotations. --- .../js/it/src/test/kotlin/MainTest.kt | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/libraries/kotlin.test/js/it/src/test/kotlin/MainTest.kt b/libraries/kotlin.test/js/it/src/test/kotlin/MainTest.kt index f2f9828eaef..5085791bb50 100644 --- a/libraries/kotlin.test/js/it/src/test/kotlin/MainTest.kt +++ b/libraries/kotlin.test/js/it/src/test/kotlin/MainTest.kt @@ -1,24 +1,15 @@ -import kotlin.test.* +import kotlin.test.Ignore +import kotlin.test.Test -var value = 5 - class SimpleTest { - @BeforeTest fun beforeFun() { - value *= 2 - } - - @AfterTest fun afterFun() { - value /= 2 - } - @Test fun testFoo() { - assertNotEquals(value, foo()) + assertNotEquals(10, foo()) } @Test fun testBar() { - assertEquals(value, foo()) + assertEquals(10, foo()) } @Ignore @Test fun testFooWrong() {