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