The StringMatchers trait provides matchers which are applicable to String objects
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object BeMatchingtrait Matcherstrait JUnitMustMatchersobject JUnitMustMatcherstrait JUnitShouldMatchersobject JUnitShouldMatchersobject Matcherstrait MustMatchersobject MustMatcherstrait SpecificationFeaturestrait SpecificationLikeclass Specificationtrait SpecificationFeaturestrait SpecificationLikeclass Specificationclass SpecificationWithJUnittrait SpecificationLiketrait SpecificationLikeclass Specificationclass Specificationtrait Cardclass SpecificationWithJUnittrait SpecLikeclass Spectrait SpecLikeclass Specclass SpecWithJUnittrait MustThrownMatchersobject MustThrownMatcherstrait SpecLikeclass Specclass SpecWithJUnittrait ShouldMatchersobject ShouldMatcherstrait ShouldThrownMatchersobject ShouldThrownMatchersobject StringMatchersShow all
Members list
Type members
Classlikes
Matcher to find if the regexp a is found inside b. This matcher can be specialized to a FindMatcherWithGroups which will also check the found groups
Matcher to find if the regexp a is found inside b. This matcher can be specialized to a FindMatcherWithGroups which will also check the found groups
Attributes
- Supertypes
- Known subtypes
-
class FindMatcherPatternclass FindMatcherRegex
Matcher to find if the pattern p is found inside b.
Matcher to find if the pattern p is found inside b.
Attributes
- Supertypes
- Known subtypes
-
class FindMatcherRegex
Matcher to find if the pattern p is found inside b.
Matcher to find if the pattern p is found inside b.
Attributes
- Supertypes
Matcher to find if the Regex r is found inside b.
Matcher to find if the Regex r is found inside b.
Attributes
- Supertypes
-
class FindMatcherPatternclass FindMatchertrait Matcher[String]class Objecttrait Matchableclass AnyShow all
Matcher to find if the regexp a is found inside b. This matcher checks if the found groups are really the ones expected
Matcher to find if the regexp a is found inside b. This matcher checks if the found groups are really the ones expected
Attributes
- Supertypes
- Known subtypes
Value members
Concrete methods
matches if a.toLowerCase.trim != b.toLowerCase.trim
matches if a.toLowerCase.trim != b.toLowerCase.trim
Attributes
matches if a.toLowerCase.trim = b.toLowerCase.trim
matches if a.toLowerCase.trim = b.toLowerCase.trim
Attributes
alias for beMatching but matching just a fragment of the string
alias for beMatching but matching just a fragment of the string
Attributes
matches if b matches the regular expression a
matches if b matches the regular expression a
Attributes
alias for beMatching but matching just a fragment of the string
alias for beMatching but matching just a fragment of the string
Attributes
matches if a.toLowerCase.trim != b.toLowerCase.trim
matches if a.toLowerCase.trim != b.toLowerCase.trim
Attributes
matches if a.toLowerCase.trim = b.toLowerCase.trim
matches if a.toLowerCase.trim = b.toLowerCase.trim
Attributes
matches if (b contains a)
matches if (b contains a)
Attributes
matches if (b contains a)
matches if (b contains a)
Attributes
matches if b.endsWith(a)
matches if b.endsWith(a)
Attributes
matches if the regexp a is found inside b
matches if the regexp a is found inside b
Attributes
matches if the pattern p is found inside b
matches if the pattern p is found inside b
Attributes
matches if the regexp r is found inside b
matches if the regexp r is found inside b
Attributes
alias to use with contain
alias to use with contain
Attributes
Extensions
Extensions
adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher
adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher
Attributes
adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher
adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher
Attributes
adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher
adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher