JUnitAsserter

JUnit
1.0
object JUnitAsserter : Asserter
(source)

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

Functions

JUnit
1.0

assertEquals

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

assertNotEquals

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

assertNotNull

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

assertNotSame

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

assertNull

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

assertSame

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

fail

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