This method enables syntax such as the following:
This method enables syntax such as the following:
all(string) should fullyMatch regex ("""(-)?(\d+)(\.\d*)?""")
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(string) should include regex ("wo.ld")
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(string) should endWith regex ("wo.ld")
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(string) should startWith regex ("Hel*o")
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) should not (exist)
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) should exist
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all (xs) should contain oneOf (1, 2, 3) ^
This method enables syntax such as the following:
This method enables syntax such as the following:
all (xs) should === (100 +- 1) ^
This method enables syntax such as the following:
This method enables syntax such as the following:
all (xs) should === (b)
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all (results) should have length (3) ^ all (results) should have size (3) ^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) should not equal (3)
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) should be theSameInstanceAs anotherObject
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) should (equal (expected) and have length 12)
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) should equal (3)
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) should 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) shouldBe 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) shouldBe 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) shouldBe excellentRead
^
This method enables the following syntax:
This method enables the following syntax:
all(xs) shouldBe null
^
This method enables the following syntax:
This method enables the following syntax:
all(xs) shouldBe an ('empty)
^
This method enables the following syntax:
This method enables the following syntax:
all(xs) shouldBe a ('empty)
^
This method enables the following syntax:
This method enables the following syntax:
all(xs) shouldBe 'empty
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) shouldBe theSameInstanceAs (anotherObject)
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) shouldBe 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) shouldBe odd
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(8, 9, 10) shouldBe >= (7) ^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(8, 9, 10) shouldBe > (7) ^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(4, 5, 6) shouldBe <= (7) ^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(4, 5, 6) shouldBe < (7) ^
This method enables syntax such as the following:
This method enables syntax such as the following:
all (xs) shouldBe 7
^
This method enables the following syntax:
This method enables the following syntax:
all(xs) shouldBe an [Type]
^
This method enables the following syntax:
This method enables the following syntax:
all(xs) shouldBe a [Type]
^
This method enables the following syntax:
This method enables the following syntax:
all(xs) shouldBe defined
^
This method enables the following syntax:
This method enables the following syntax:
all(xs) shouldBe empty
^
This method enables the following syntax:
This method enables the following syntax:
all(xs) shouldBe writable
^
This method enables the following syntax:
This method enables the following syntax:
all(xs) shouldBe readable
^
This method enables the following syntax:
This method enables the following syntax:
all(xs) shouldBe sorted
^
This method enables syntax such as the following:
This method enables syntax such as the following:
result shouldEqual null
^
This method enables syntax such as the following:
This method enables syntax such as the following:
result shouldEqual 7.1 +- 0.2 ^doCollected
This method enables syntax such as the following:
This method enables syntax such as the following:
all (xs) shouldEqual 7
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(string) shouldNot include regex ("wo.ld")
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(string) shouldNot endWith regex ("wo.ld")
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(string) shouldNot startWith regex ("Hel*o")
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(string) shouldNot fullyMatch regex ("""(-)?(\d+)(\.\d*)?""")
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) shouldNot exist
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all (xs) shouldNot contain (oneOf (1, 2, 3)) ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) shouldNot be theSameInstanceAs anotherInstance
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) shouldNot (equal (3))
^
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) shouldNot (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
InspectorsMatchersfor an overview of the matchers DSL.