TestNGAsserter

TestNG
1.0
object TestNGAsserter : Asserter
(source)

Implements kotlin.test assertions by delegating them to org.testng.Assert class.

Functions

TestNG
1.0

assertEquals

fun assertEquals(
    message: String?,
    expected: Any?,
    actual: Any?
): Unit
TestNG
1.0

assertNotEquals

fun assertNotEquals(
    message: String?,
    illegal: Any?,
    actual: Any?
): Unit
TestNG
1.0

assertNotNull

fun assertNotNull(message: String?, actual: Any?): Unit
TestNG
1.0

assertNotSame

fun assertNotSame(
    message: String?,
    illegal: Any?,
    actual: Any?
): Unit
TestNG
1.0

assertNull

fun assertNull(message: String?, actual: Any?): Unit
TestNG
1.0

assertSame

fun assertSame(
    message: String?,
    expected: Any?,
    actual: Any?
): Unit
TestNG
1.0

fail

fun fail(message: String?): Nothing
fun fail(message: String?, cause: Throwable?): Nothing