ScalaTest 1.0
|
|
org/scalatest/matchers/Matchers.scala
]
final
class
ResultOfHaveWordForSizeWrapper[A](left : A, shouldBeTrue : Boolean, implicit
view$8 : (A) => SizeWrapper)
extends
AnyRefShouldMatchers
or MustMatchers
for an overview of
the matchers DSL.Method Summary | |
def
|
size
(expectedSize : Long) : Unit
This method enables the following syntax:
obj should have size (2L) ^ |
def
|
size
(expectedSize : Int) : Unit
This method enables the following syntax:
obj should have size (2) ^ |
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 |
obj should have size (2) ^
This method is ultimately invoked for objects that have a size
property structure
of type Int
,
but is of a type that is not handled by implicit conversions from nominal types such as
scala.Collection
and java.util.Collection
.
obj should have size (2L) ^
This method is ultimately invoked for objects that have a size
property structure
of type Long
,
but is of a type that is not handled by implicit conversions from nominal types such as
scala.Collection
and java.util.Collection
.
ScalaTest 1.0
|
|