ScalaTest 1.0
|
|
org/scalatest/matchers/Matchers.scala
]
final
class
AWord
extends
AnyRefShouldMatchers
or MustMatchers
for an overview of
the matchers DSL.Method Summary | |
def
|
apply
[T](beTrueMatcher : BePropertyMatcher[T]) : ResultOfAWordToBePropertyMatcherApplication[T]
This method enables the following syntax, where, for example,
badBook is of type Book and goodRead
is a BePropertyMatcher[Book] :
badBook should not be a (goodRead) ^ |
def
|
apply
(symbol : scala.Symbol) : ResultOfAWordToSymbolApplication
This method enables the following syntax:
badBook should not be a ('goodRead) ^ |
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
apply(symbol : scala.Symbol) : ResultOfAWordToSymbolApplication
badBook should not be a ('goodRead) ^
def
apply[T](beTrueMatcher : BePropertyMatcher[T]) : ResultOfAWordToBePropertyMatcherApplication[T]
badBook
is of type Book
and goodRead
is a BePropertyMatcher[Book]
:
badBook should not be a (goodRead) ^
ScalaTest 1.0
|
|