This method enables syntax such as the following:
This method enables syntax such as the following:
all(string) must fullyMatch regex ("""(-)?(\d+)(\.\d*)?""")
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(string) must include regex ("wo.ld")
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(string) must endWith regex ("wo.ld")
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(string) must startWith regex ("Hel*o")
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) must not (exist) ^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) must exist ^
This method enables syntax such as the following:
This method enables syntax such as the following:
all (xs) must contain oneOf (1, 2, 3) ^
This method enables syntax such as the following:
This method enables syntax such as the following:
all (xs) must === (100 +- 1) ^
This method enables syntax such as the following:
This method enables syntax such as the following:
all (xs) must === (b) ^
This method enables syntax such as the following:
This method enables syntax such as the following:
all (results) must have length (3) all (results) must have size (3)
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) must not equal (3)
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) must be theSameInstanceAs anotherObject ^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) must (equal (expected) and have length 12)
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) must equal (3)
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) must be (3)
^
This method enables the following syntax, where excellentRead
refers to a BePropertyMatcher[Book]
:
This method enables the following syntax, where excellentRead
refers to a BePropertyMatcher[Book]
:
all(xs) mustBe an (excellentRead) ^
This method enables the following syntax, where goodRead
refers to a BePropertyMatcher[Book]
:
This method enables the following syntax, where goodRead
refers to a BePropertyMatcher[Book]
:
all(xs) mustBe a (goodRead) ^
This method enables the following syntax, where excellentRead
refers to a BePropertyMatcher[Book]
:
This method enables the following syntax, where excellentRead
refers to a BePropertyMatcher[Book]
:
all(xs) mustBe excellentRead ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) mustBe null
^
This method enables the following syntax:
This method enables the following syntax:
all(xs) mustBe an ('empty)
^
This method enables the following syntax:
This method enables the following syntax:
all(xs) mustBe a ('empty)
^
This method enables the following syntax:
This method enables the following syntax:
all(xs) mustBe 'empty
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) mustBe theSameInstanceAs (anotherObject) ^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) mustBe 7.1 +- 0.2 ^
This method enables the following syntax, where odd
refers to a BeMatcher[Int]
:
This method enables the following syntax, where odd
refers to a BeMatcher[Int]
:
testing all(xs) mustBe odd ^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(8, 9, 10) mustBe >= (7) ^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(8, 9, 10) mustBe > (7) ^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(4, 5, 6) mustBe <= (7) ^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(4, 5, 6) mustBe < (7) ^
This method enables syntax such as the following:
This method enables syntax such as the following:
all (xs) mustBe 7
^
This method enables the following syntax:
This method enables the following syntax:
all(xs) mustBe an [Type]
^
This method enables the following syntax:
This method enables the following syntax:
all(xs) mustBe a [Type]
^
This method enables the following syntax:
This method enables the following syntax:
all(xs) mustBe defined ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) mustBe empty ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) mustBe writable ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) mustBe readable ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) mustBe sorted ^
This method enables syntax such as the following:
This method enables syntax such as the following:
result mustEqual null
^
This method enables syntax such as the following:
This method enables syntax such as the following:
result mustEqual 7.1 +- 0.2 ^
This method enables syntax such as the following:
This method enables syntax such as the following:
all (xs) mustEqual 7
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(string) mustNot include regex ("wo.ld")
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(string) mustNot endWith regex ("wo.ld")
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(string) mustNot startWith regex ("Hel*o")
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(string) mustNot fullyMatch regex ("""(-)?(\d+)(\.\d*)?""")
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) mustNot exist ^
This method enables syntax such as the following:
This method enables syntax such as the following:
all (xs) mustNot contain (oneOf (1, 2, 3)) ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) mustNot be theSameInstanceAs anotherInstance ^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) mustNot (equal (3))
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) mustNot (be (3))
^
Overrides to return pretty toString.
Overrides to return pretty toString.
"ResultOfCollectedAny([collected], [xs])"
This class is part of the ScalaTest matchers DSL. Please see the documentation for
InspectorsMatchers
for an overview of the matchers DSL.