unit-tests: Rename annotations After/Before -> AfterEach/BeforeEach

This commit is contained in:
Ilya Matveev
2017-09-18 11:16:01 +03:00
committed by ilmat192
parent 345e3570cc
commit 6440e6694d
4 changed files with 19 additions and 19 deletions
@@ -123,8 +123,8 @@ internal class TestProcessor (val context: KonanBackendContext): FileLoweringPas
override val runtimeKindName: Name get() = throw NotImplementedError()
},
BEFORE("kotlin.test.Before", "BEFORE"),
AFTER("kotlin.test.After", "AFTER"),
BEFORE_EACH("kotlin.test.BeforeEach", "BEFORE_EACH"),
AFTER_EACH("kotlin.test.AfterEach", "AFTER_EACH"),
BEFORE_CLASS("kotlin.test.BeforeClass", "BEFORE_CLASS"),
AFTER_CLASS("kotlin.test.AfterClass", "AFTER_CLASS");
@@ -132,7 +132,7 @@ internal class TestProcessor (val context: KonanBackendContext): FileLoweringPas
open val runtimeKindName = Name.identifier(runtimeKindString)
companion object {
val INSTANCE_KINDS = listOf(TEST, BEFORE, AFTER)
val INSTANCE_KINDS = listOf(TEST, BEFORE_EACH, AFTER_EACH)
val COMPANION_KINDS = listOf(BEFORE_CLASS, AFTER_CLASS)
}
}