Use Before/AfterMethod from TestNG as kotlin.test.Before/AfterTest

According to their documentation they should be invoked before and after
each test method runs.

#KT-27629 Fixed
This commit is contained in:
Ilya Gorbunov
2018-12-01 07:54:47 +03:00
parent 48c80e247e
commit 736818dfa7
@@ -11,5 +11,5 @@ package kotlin.test
public actual typealias Test = org.testng.annotations.Test
public actual typealias Ignore = org.testng.annotations.Ignore
public actual typealias BeforeTest = org.testng.annotations.BeforeClass
public actual typealias AfterTest = org.testng.annotations.AfterClass
public actual typealias BeforeTest = org.testng.annotations.BeforeMethod
public actual typealias AfterTest = org.testng.annotations.AfterMethod