Matchers1
Attributes
- Graph
-
- Supertypes
-
trait ValueChecksBasetrait ValueChecksLowImplicitstrait EventuallyMatcherstrait EventuallyResultstrait ExpectationsCreationtrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited classlikes
Exception matcher checking the type of a thrown exception.
Exception matcher checking the type of a thrown exception.
Attributes
- Inherited from:
- ExceptionBaseMatchers (hidden)
- Supertypes
This matchers matches exception instances.
This matchers matches exception instances.
Attributes
- See also
-
throwA
- Inherited from:
- ExceptionBaseMatchers (hidden)
- Supertypes
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
- Inherited from:
- StringBaseMatchers (hidden)
- 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
- Inherited from:
- StringBaseMatchers (hidden)
- 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
- Inherited from:
- StringBaseMatchers (hidden)
- Supertypes
Matcher to find if the Regex r is found inside b.
Matcher to find if the Regex r is found inside b.
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
- 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
- Inherited from:
- StringBaseMatchers (hidden)
- Supertypes
- Known subtypes
Value members
Inherited methods
matches if a.toLowerCase.trim != b.toLowerCase.trim
matches if a.toLowerCase.trim != b.toLowerCase.trim
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
matches if a != b
matches if a != b
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
alias for beLessThan
alias for beLessThan
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
alias for beLessThanOrEqualTo
alias for beLessThanOrEqualTo
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
matches if a.toLowerCase.trim = b.toLowerCase.trim
matches if a.toLowerCase.trim = b.toLowerCase.trim
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
matches if a == b
matches if a == b
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
matches if a == b after an implicit conversion
matches if a == b after an implicit conversion
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
alias for beMatching but matching just a fragment of the string
alias for beMatching but matching just a fragment of the string
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
alias for beMatching but matching just a fragment of the string
alias for beMatching but matching just a fragment of the string
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
alias for beMatching but matching just a fragment of the string
alias for beMatching but matching just a fragment of the string
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
alias for beGreaterThan
alias for beGreaterThan
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
alias for beGreaterThanOrEqualTo
alias for beGreaterThanOrEqualTo
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- OptionBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- FutureBaseMatchers (hidden)
Attributes
- Inherited from:
- FutureBaseMatchers (hidden)
Attributes
- Inherited from:
- FutureBaseMatchers (hidden)
alias for beTheSameAs
alias for beTheSameAs
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
alias for beOneOf
alias for beOneOf
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
Attributes
- Inherited from:
- OptionBaseMatchers (hidden)
matches if a is null when v is null and a is not null when v is not null
matches if a is null when v is null and a is not null when v is not null
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
matches if v.isAssignableFrom(c)
matches if v.isAssignableFrom(c)
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
matches if a value is between 2 others according to an Ordering
matches if a value is between 2 others according to an Ordering
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
matches if target - actual < 10 pow (log actual - significantDigits)
matches if target - actual < 10 pow (log actual - significantDigits)
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
matches if actual = n +/- delta
matches if actual = n +/- delta
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
matches if actual = n +/- delta
matches if actual = n +/- delta
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
matches if a.isEmpty
matches if a.isEmpty
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
matches if a == b
matches if a == b
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
matches if a == false
matches if a == false
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
matches if x > n
matches if x > n
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
matches if x >= n
matches if x >= n
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
Attributes
- Inherited from:
- EitherBaseMatchers (hidden)
Attributes
- Inherited from:
- EitherBaseMatchers (hidden)
matches if x < n
matches if x < n
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
matches if x <= n
matches if x <= n
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
matches if the value returns a successful result when applied to a PartialFunction
matches if the value returns a successful result when applied to a PartialFunction
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
matches if b matches the regex a
matches if b matches the regex a
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
matches if b matches the pattern a
matches if b matches the pattern a
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
matches if b matches the regular expression a
matches if b matches the regular expression a
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
matches if the value is null
matches if the value is null
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
matches if t.toSeq.exists(_ == v)
matches if t.toSeq.exists(_ == v)
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
Attributes
- Inherited from:
- EitherBaseMatchers (hidden)
Attributes
- Inherited from:
- EitherBaseMatchers (hidden)
Attributes
- Inherited from:
- OptionBaseMatchers (hidden)
Attributes
- Inherited from:
- OptionBaseMatchers (hidden)
Attributes
- Returns
-
a matcher checking if the elements are ordered
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
matches if a eq b
matches if a eq b
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
matches if a == true
matches if a == true
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
matches if a == b
matches if a == b
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
alias for the adventurous: 5 must (be[(2, 7)
[`)
alias for the adventurous: 5 must (be[(2, 7)
[`)
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
alias for the adventurous: 5 must (be](2, 7)
[`)
alias for the adventurous: 5 must (be](2, 7)
[`)
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
matches if a != b
matches if a != b
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
matches if a.toLowerCase.trim != b.toLowerCase.trim
matches if a.toLowerCase.trim != b.toLowerCase.trim
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
matches if a != b
matches if a != b
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
alias for beLessThan
alias for beLessThan
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
alias for beLessThanOrEqualTo
alias for beLessThanOrEqualTo
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
matches if a == b
matches if a == b
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
matches if a.toLowerCase.trim = b.toLowerCase.trim
matches if a.toLowerCase.trim = b.toLowerCase.trim
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
matches if a == b
matches if a == b
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
matches if a == b after an implicit conversion
matches if a == b after an implicit conversion
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
alias for beGreaterThan
alias for beGreaterThan
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
alias for beGreaterThanOrEqualTo
alias for beGreaterThanOrEqualTo
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
this method can be overridden to throw exceptions when checking the match result
this method can be overridden to throw exceptions when checking the match result
Attributes
- Inherited from:
- ExpectationsCreation
this method can be overridden to throw exceptions when checking the match result
this method can be overridden to throw exceptions when checking the match result
Attributes
- Inherited from:
- ExpectationsCreation
this method can be overridden to throw exceptions when checking the result
this method can be overridden to throw exceptions when checking the result
Attributes
- Inherited from:
- ExpectationsCreation
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
matches if (b contains a)
matches if (b contains a)
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
matches if (b contains a)
matches if (b contains a)
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Additional contain methods using to avoid automatic tuple conversions
Additional contain methods using to avoid automatic tuple conversions
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
COLLECTION MATCHERS
COLLECTION MATCHERS
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
ELEMENTS MATCHERS
ELEMENTS MATCHERS
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
match if a traversable contains all the elements of seq (and maybe more)
match if a traversable contains all the elements of seq (and maybe more)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
match if a traversable contains one of (t1, t2)
match if a traversable contains one of (t1, t2)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
match if traversable contains (x matches .+t+.)
match if traversable contains (x matches .+t+.)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
match if traversable contains (x matches p)
match if traversable contains (x matches p)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
does a containAll comparison in both ways
does a containAll comparison in both ways
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Returns
-
an Expectable with a description function
- Inherited from:
- ExpectationsCreation
Attributes
- Returns
-
an Expectable with a description function
- Inherited from:
- ExpectationsCreation
Attributes
- Returns
-
an Expectable with a description
- Inherited from:
- ExpectationsCreation
Attributes
- Returns
-
an Expectable
- Inherited from:
- ExpectationsCreation
Attributes
- Returns
-
an Expectable with a function to show the element T
- Inherited from:
- ExpectationsCreation
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
matches if b.endsWith(a)
matches if b.endsWith(a)
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
matches if a == b
matches if a == b
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
Attributes
- Returns
-
a matcher that will retry the nested matcher 40 times
- Inherited from:
- EventuallyMatchers
Attributes
- Returns
-
a matcher that will retry the nested matcher a given number of times
- Inherited from:
- EventuallyMatchers
Value parameters
- sleep
-
the function applied on the retry number (first is 1)
Attributes
- Returns
-
a matcher that will retry the nested matcher a given number of times
- Inherited from:
- EventuallyMatchers
Attributes
- Returns
-
a result that is retried at least 40 times until it's ok
- Inherited from:
- EventuallyResults
Attributes
- Returns
-
a matcher that will retry the nested matcher a given number of times
- Inherited from:
- EventuallyResults
Value parameters
- sleep
-
the function applied on the retry number (first is 1)
Attributes
- Returns
-
a matcher that will retry the nested matcher a given number of times
eventually(retries = 2, sleep = _ * 100.milliseconds) { aResult }
- Inherited from:
- EventuallyResults
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
matches if the regexp r is found inside b
matches if the regexp r is found inside b
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
matches if the pattern p is found inside b
matches if the pattern p is found inside b
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
matches if the regexp a is found inside b
matches if the regexp a is found inside b
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
matches if v.getClass == c
matches if v.getClass == c
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
matches if x.getClass.getInterfaces.contains(T)
matches if x.getClass.getInterfaces.contains(T)
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
alias for haveSize
alias for haveSize
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
alias for haveSize
alias for haveSize
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
match if there is a way to size T
match if there is a way to size T
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
match if there is a way to size T
match if there is a way to size T
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
matches if c.isAssignableFrom(v.getClass.getSuperclass)
matches if c.isAssignableFrom(v.getClass.getSuperclass)
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
Attributes
- Inherited from:
- EitherBaseMatchers (hidden)
Attributes
- Inherited from:
- EitherBaseMatchers (hidden)
Attributes
- Inherited from:
- EitherBaseMatchers (hidden)
alias for haveSize
alias for haveSize
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
alias for haveSize
alias for haveSize
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
matches if x <= n
matches if x <= n
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
this method can be overridden to intercept a MatchResult and change its message before it is thrown
this method can be overridden to intercept a MatchResult and change its message before it is thrown
Attributes
- Inherited from:
- ExpectationsCreation
negate a matcher
negate a matcher
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
Attributes
- Inherited from:
- FutureBaseMatchers (hidden)
Attributes
- Inherited from:
- EitherBaseMatchers (hidden)
Attributes
- Inherited from:
- EitherBaseMatchers (hidden)
Attributes
- Inherited from:
- EitherBaseMatchers (hidden)
Attributes
- Returns
-
the match result without any side-effects
- Inherited from:
- ExpectationsCreation
this method can be overridden to avoid filling-in a stacktrace indicating the location of the result
this method can be overridden to avoid filling-in a stacktrace indicating the location of the result
Attributes
- Inherited from:
- MatchResultStackTrace
alias for haveSize
alias for haveSize
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
alias for haveSize
alias for haveSize
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- OptionBaseMatchers (hidden)
Attributes
- Inherited from:
- OptionBaseMatchers (hidden)
alias for beSorted
alias for beSorted
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
matches if b.startsWith(a)
matches if b.startsWith(a)
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Returns
-
a matcher checking the value of an Exception
- Inherited from:
- ExceptionBaseMatchers (hidden)
Attributes
- Returns
-
a matcher checking the type of an Exception and its message (as a regexp)
- Inherited from:
- ExceptionBaseMatchers (hidden)
Attributes
- Returns
-
a matcher checking the type of an Exception
- Inherited from:
- ExceptionBaseMatchers (hidden)
alias for throwA
alias for throwA
Attributes
- Inherited from:
- ExceptionBaseMatchers (hidden)
alias for throwA
alias for throwA
Attributes
- Inherited from:
- ExceptionBaseMatchers (hidden)
alias for throwA
alias for throwA
Attributes
- Inherited from:
- ExceptionBaseMatchers (hidden)
matches if a == b
matches if a == b
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
an expected value can be used to check another value
alias for beCloseTo
alias for beCloseTo
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
Implicits
Inherited implicits
a function returning an object having an AsResult instance can check a value
a function returning an object having an AsResult instance can check a value
Attributes
- Inherited from:
- ValueChecksLowImplicits
a Matcher[T] can check a value