|
ScalaTest 1.0
|
|
org/scalatest/matchers/Matchers.scala]
sealed
class
ResultOfNotWord[T](left : T, shouldBeTrue : Boolean)
extends AnyRefShouldMatchers or MustMatchers for an overview of
the matchers DSL.| Method Summary | |
def
|
be
(right : Any) : Unit
This method enables the following syntax:
result should not be (7)
^
|
def
|
be
(comparison : ResultOfGreaterThanComparison[T]) : Unit
This method enables the following syntax:
result should not be > (7)
^
|
def
|
be
(comparison : ResultOfLessThanOrEqualToComparison[T]) : Unit
This method enables the following syntax:
result should not be <= (7)
^
|
def
|
be
(comparison : ResultOfLessThanComparison[T]) : Unit
This method enables the following syntax:
result should not be < (7)
^
|
def
|
be
(beMatcher : BeMatcher[T]) : Unit
This method enables the following syntax, where
odd refers to
a BeMatcher[Int]:
2 should not be (odd)
^
|
def
|
be
(comparison : ResultOfGreaterThanOrEqualToComparison[T]) : Unit
This method enables the following syntax:
result should not be >= (7)
^
|
def
|
be
(comparison : ResultOfTripleEqualsApplication) : Unit
This method enables the following syntax:
result should not be === (7)
^
|
def
|
equal
(right : Any) : Unit
This method enables the following syntax:
result should not equal (7)
^
|
| Methods inherited from AnyRef | |
| getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Method Details |
result should not equal (7)
^
result should not be (7)
^
def
be(comparison : ResultOfLessThanOrEqualToComparison[T]) : Unit
result should not be <= (7)
^
def
be(comparison : ResultOfGreaterThanOrEqualToComparison[T]) : Unit
result should not be >= (7)
^
def
be(comparison : ResultOfLessThanComparison[T]) : Unit
result should not be < (7)
^
def
be(comparison : ResultOfGreaterThanComparison[T]) : Unit
result should not be > (7)
^
def
be(comparison : ResultOfTripleEqualsApplication) : Unit
result should not be === (7)
^
odd refers to
a BeMatcher[Int]:
2 should not be (odd)
^
|
ScalaTest 1.0
|
|