Contains the @Deprecated
out-of-the-box Assertion Verbs
for Assert
which is itself @Deprecated
.
enum class
The Translatables for the assertion functions assert, assertThat and expect. |
fun <T : Any> assert(subject: T): ReportingAssertionPlant<T>
Creates an AssertionPlant for the given subject. fun <T : Any> assert(subject: T, assertionCreator: Assert<T>.() -> Unit): AssertionPlant<T>
Creates an AssertionPlant for the given subject and AssertionPlant.addAssertionsCreatedBy the given assertionCreator lambda where the created Assertions are added as a group and usually (depending on the configured Reporter) reportBuilder as a whole. fun assert(act: () -> Unit): ThrowableThrown.Builder
Creates a ThrowableThrown.Builder for the given function act which is expected to throw a Throwable. fun <T : Any, R : Any> Assert<T>. |
|
fun <T : Any> assertThat(subject: T): ReportingAssertionPlant<T>
Creates an AssertionPlant for the given subject. fun <T : Any> assertThat(subject: T, assertionCreator: Assert<T>.() -> Unit): AssertionPlant<T>
Creates an AssertionPlant for the given subject and AssertionPlant.addAssertionsCreatedBy the given assertionCreator lambda where the created Assertions are added as a group and usually (depending on the configured Reporter) reportBuilder as a whole. fun assertThat(act: () -> Unit): ThrowableThrown.Builder
Creates a ThrowableThrown.Builder for the given function act which is expected to throw a Throwable. fun <T : Any, R : Any> Assert<T>. |
|
fun <T : Any> expect(subject: T): ReportingAssertionPlant<T>
Creates an AssertionPlant for the given subject. fun <T : Any> expect(subject: T, assertionCreator: Assert<T>.() -> Unit): AssertionPlant<T>
Creates an AssertionPlant for the given subject and AssertionPlant.addAssertionsCreatedBy the given assertionCreator lambda where the created Assertions are added as a group and usually (depending on the configured Reporter) reportBuilder as a whole. fun expect(act: () -> Unit): ThrowableThrown.Builder
Creates a ThrowableThrown.Builder for the given function act which is expected to throw a Throwable. fun <T : Any, R : Any> Assert<T>. |