main.kotlin.ch.tutteli.atrium.domain.robstoll.creating.CharSequenceAssertionsImpl.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of atrium-domain-robstoll-common
Show all versions of atrium-domain-robstoll-common
robstoll's <[email protected]> implementation of the domain of Atrium as common module
//TODO remove file with 1.0.0
@file:Suppress("DEPRECATION")
package ch.tutteli.atrium.domain.robstoll.creating
import ch.tutteli.atrium.creating.Expect
import ch.tutteli.atrium.creating.SubjectProvider
import ch.tutteli.atrium.domain.creating.CharSequenceAssertions
import ch.tutteli.atrium.domain.robstoll.lib.creating.*
@Deprecated("Will be removed with 1.0.0")
class CharSequenceAssertionsImpl : CharSequenceAssertions {
override fun containsBuilder(subjectProvider: SubjectProvider) =
_containsBuilder(subjectProvider)
override fun containsNotBuilder(subjectProvider: SubjectProvider) =
_containsNotBuilder(subjectProvider)
override fun startsWith(subjectProvider: SubjectProvider, expected: CharSequence) =
_startsWith(subjectProvider, expected)
override fun startsNotWith(subjectProvider: SubjectProvider, expected: CharSequence) =
_startsNotWith(subjectProvider, expected)
override fun endsWith(subjectProvider: SubjectProvider, expected: CharSequence) =
_endsWith(subjectProvider, expected)
override fun endsNotWith(subjectProvider: SubjectProvider, expected: CharSequence) =
_endsNotWith(subjectProvider, expected)
override fun isEmpty(subjectProvider: SubjectProvider) = _isEmpty(subjectProvider)
override fun isNotEmpty(subjectProvider: SubjectProvider) = _isNotEmpty(subjectProvider)
override fun isNotBlank(subjectProvider: SubjectProvider) = _isNotBlank(subjectProvider)
override fun matches(expect: Expect, expected: Regex) = _matches(expect, expected)
override fun mismatches(expect: Expect, expected: Regex) = _mismatches(expect, expected)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy