ScalaTest 1.0
|
|
org/scalatest/matchers/Matchers.scala
]
final
class
ResultOfNotWordForArray[E](left : scala.Array[E], shouldBeTrue : Boolean)
extends
ResultOfNotWordForAnyRef[scala.Array[E]]ShouldMatchers
or
MustMatchers
for an overview of
the matchers DSL.Method Summary | |
def
|
contain
(expectedElement : E) : Unit
This method enables the following syntax:
Array("two", "three") should not contain ("one") ^ |
def
|
have
(resultOfLengthWordApplication : ResultOfLengthWordApplication) : Unit
This method enables the following syntax:
Array(1, 2) should not have length (12) ^ |
def
|
have
(resultOfSizeWordApplication : ResultOfSizeWordApplication) : Unit
This method enables the following syntax:
Array(1, 2) should not have size (3) ^ |
Methods inherited from ResultOfNotWordForAnyRef | |
be, be, be, be, be, be, be, be, have |
Methods inherited from ResultOfNotWord | |
equal, be, be, be, be, be, be, be |
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 |
Array("two", "three") should not contain ("one") ^
def
have(resultOfSizeWordApplication : ResultOfSizeWordApplication) : Unit
Array(1, 2) should not have size (3) ^
def
have(resultOfLengthWordApplication : ResultOfLengthWordApplication) : Unit
Array(1, 2) should not have length (12) ^
ScalaTest 1.0
|
|