doc / ch.tutteli.atrium.assertions.charsequence.contains.checkers / CharSequenceContainsChecker

CharSequenceContainsChecker

abstract class CharSequenceContainsChecker : ContainsChecker, IChecker

Represents the base class for ICharSequenceContains.IChecker.

It does not much more than specifying that its super class is ContainsChecker and sub-classes have to implement ICharSequenceContains.IChecker.

Constructors

<init>

CharSequenceContainsChecker(times: Int, nameFunToUse: String, nameFunUsed: String)

Represents the base class for ICharSequenceContains.IChecker.

Inherited Properties

times

val times: Int

The number which the check uses to compare against the actual number of times an expected object is found in the input of the search.

Inherited Functions

createBasicAssertion

fun createBasicAssertion(description: ITranslatable, check: Boolean): IBasicAssertion

Creates an IBasicAssertion based on the given description, the property times as RawString and the given check.

Inheritors

CharSequenceContainsAtLeastChecker

class CharSequenceContainsAtLeastChecker : CharSequenceContainsChecker

Represents a check that an expected object is contained at least times in the search input.

CharSequenceContainsAtMostChecker

class CharSequenceContainsAtMostChecker : CharSequenceContainsChecker

Represents a check that an expected object is contained at most times in the search input.

CharSequenceContainsExactlyChecker

class CharSequenceContainsExactlyChecker : CharSequenceContainsChecker

Represents a check that an expected object is contained exactly times in the search input.