Reformat kotlin.test library

This commit is contained in:
Ilya Gorbunov
2018-04-27 00:46:26 +03:00
parent 06aaa990be
commit d9d7b87fd9
16 changed files with 108 additions and 91 deletions
@@ -5,23 +5,29 @@ var value = 5
class SimpleTest {
@BeforeTest fun beforeFun() {
@BeforeTest
fun beforeFun() {
value *= 2
}
@AfterTest fun afterFun() {
@AfterTest
fun afterFun() {
value /= 2
}
@Test fun testFoo() {
@Test
fun testFoo() {
assertNotEquals(value, foo())
}
@Test fun testBar() {
@Test
fun testBar() {
assertEquals(value, foo())
}
@Ignore @Test fun testFooWrong() {
@Ignore
@Test
fun testFooWrong() {
assertEquals(20, foo())
}
@@ -29,7 +35,8 @@ class SimpleTest {
@Ignore
class TestTest {
@Test fun emptyTest() {
@Test
fun emptyTest() {
}
}