StringFacet

expect interface StringFacet : FluentFacet

Inheritors

actual interface StringFacet : FluentFacet
actual interface StringFacet : FluentFacet

Functions

Link copied to clipboard
abstract fun facet(facet: String): StringFacet

Extract a single facet from a snapshot in order to do an inline snapshot.

abstract fun facet(facet: String): StringFacet

Extract a single facet from a snapshot in order to do an inline snapshot.

abstract fun facet(facet: String): StringFacet

Extract a single facet from a snapshot in order to do an inline snapshot.

Link copied to clipboard
abstract fun facetBinary(facet: String): BinaryFacet
abstract fun facetBinary(facet: String): BinaryFacet
abstract fun facetBinary(facet: String): BinaryFacet
Link copied to clipboard
abstract fun facets(vararg facets: String): StringFacet

Extract multiple facets from a snapshot in order to do an inline snapshot.

abstract fun facets(vararg facets: String): StringFacet

Extract multiple facets from a snapshot in order to do an inline snapshot.

abstract fun facets(vararg facets: String): StringFacet

Extract multiple facets from a snapshot in order to do an inline snapshot.

Link copied to clipboard
expect abstract fun toBe(expected: String): String
actual abstract fun toBe(expected: String): String
actual abstract fun toBe(expected: String): String

Expects this string to be equal to the expected string.

open fun toBe(expected: String, expectedLine2: String, vararg expectedOtherLines: String): String

Expects this string to be equal to the value of all its arguments concatenated by newlines.

Link copied to clipboard
expect abstract fun toBe_TODO(): String
actual abstract fun toBe_TODO(): String
open fun toBe_TODO(unusedArg: Any?): String
actual abstract fun toBe_TODO(): String

Marks that the expected value should be written when the test executes.

open fun toBe_TODO(unusedArg: Any?): String

Alias for toBe_TODO, the argument is ignored.

open fun toBe_TODO(expected: String, expectedLine2: String, vararg expectedOtherLines: String): String

Alias for toBe_TODO, the arguments are ignored.