doc / ch.tutteli.atrium.logic.creating.maplike.contains / MapLikeContains / SearchBehaviour

SearchBehaviour

interface SearchBehaviour : Contains.SearchBehaviour (source)

Represents a search behaviour but leaves it up to the Creator how this behaviour is implemented -- yet, it provides a method to decorate a description (a Translatable) in order that it reflects the search behaviour.

Inherited Functions

decorateDescription

abstract fun decorateDescription(description: Translatable): Translatable

Decorates the given description so that it represents the search behaviour and returns the result.

Inheritors

InAnyOrderOnlySearchBehaviour

interface InAnyOrderOnlySearchBehaviour : MapLikeContains.SearchBehaviour

Represents the search behaviour that expected entries can appear in any order within the MapLike but that the resulting assertion should not hold if there are less or more entries than expected.

InAnyOrderSearchBehaviour

interface InAnyOrderSearchBehaviour : MapLikeContains.SearchBehaviour

Represents the search behaviour that expected entries can appear in any order within the MapLike.

InOrderOnlySearchBehaviour

interface InOrderOnlySearchBehaviour : MapLikeContains.SearchBehaviour

Represents the search behaviour that expected entries have to appear in the given order within the MapLike and that the resulting assertion should not hold if there are less or more entries than expected.

InOrderSearchBehaviour

interface InOrderSearchBehaviour : MapLikeContains.SearchBehaviour

Represents the search behaviour that expected entries have to appear in the given order within the MapLike.

NoOpSearchBehaviour

interface NoOpSearchBehaviour : MapLikeContains.SearchBehaviour

Represents the default search behaviour or rather does not define a search behaviour at all.