Package de. joshuagleitze. test. gradle
Functions
hadNoSource
Link copied to clipboard
Expects that the subject of the assertion (a Gradle task) was invoked and that its outcome was NO_SOURCE.
output
Link copied to clipboard
fun Expect<BuildResult>.output(assertionCreator: Expect<String>.() -> Unit): Expect<BuildResult>
Content copied to clipboard
Adds all assertions created by assertionCreator to the Expect for the for the output of the subject of this assertion (a BuildResult).
usedCachedResult
Link copied to clipboard
Expects that the subject of the assertion (a Gradle task) was invoked and that its outcome was FROM_CACHE.
wasInvoked
Link copied to clipboard
Expects that the subject of the assertion (a Gradle task) was invoked and adds all assertions created by assertionCreator to the Expect for the for the subject.
wasNotInvoked
Link copied to clipboard
wasSkipped
Link copied to clipboard
Expects that the subject of the assertion (a Gradle task) was invoked and that its outcome was SKIPPED.
wasSuccessful
Link copied to clipboard
Expects that the subject of the assertion (a Gradle task) was invoked and that its outcome was SUCCESS.
wasUpToDate
Link copied to clipboard
Expects that the subject of the assertion (a Gradle task) was invoked and that its outcome was UP_TO_DATE.