|
ScalaTest 1.0
|
|
final
class
OrBeWord
extends AnyRefShouldMatchers or MustMatchers for an overview of
the matchers DSL.| Method Summary | |
def
|
a
(symbol : scala.Symbol) : Matcher[T with AnyRef]
This method enables the following syntax:
isFileMock should (be a ('file) or be a ('directory))
^
|
def
|
a
[T](bePropertyMatcher : BePropertyMatcher[T]) : Matcher[T with AnyRef with T]
This method enables the following syntax:
isFileMock should (be a (file) or be a (directory))
^
|
def
|
an
(symbol : scala.Symbol) : Matcher[T with AnyRef]
This method enables the following syntax:
appleMock should (be an ('orange) or be an ('apple))
^
|
def
|
an
[T](bePropertyMatcher : BePropertyMatcher[T]) : Matcher[T with AnyRef with T]
This method enables the following syntax:
appleMock should (be an (orange) or be an (apple))
^
|
def
|
theSameInstanceAs
(anyRef : AnyRef) : Matcher[T with AnyRef]
This method enables the following syntax:
obj should (be theSameInstanceAs (string) or be theSameInstanceAs (otherString))
^
|
| 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 |
def
a(symbol : scala.Symbol) : Matcher[T with AnyRef]
isFileMock should (be a ('file) or be a ('directory))
^
isFileMock should (be a (file) or be a (directory))
^
def
an(symbol : scala.Symbol) : Matcher[T with AnyRef]
appleMock should (be an ('orange) or be an ('apple))
^
appleMock should (be an (orange) or be an (apple))
^
obj should (be theSameInstanceAs (string) or be theSameInstanceAs (otherString))
^
|
ScalaTest 1.0
|
|