ScalaTest 1.1
|
|
org/scalatest/matchers/Matchers.scala
]
abstract
class
SizeWrapper
extends
AnyRefShouldMatchers
or MustMatchers
for an overview of
the matchers DSL.
Subclasses of this abstract class are used as the result of implicit conversions from the various structural types that
are considered to represent size: size
or getSize
methods or fields that return Int
or Long
. This enables the have size (7)
syntax to be used with any object that has a size.
The implicit conversion methods that result in this type are:
convertSizeFieldToIntSizeWrapper
convertSizeMethodToIntSizeWrapper
convertGetSizeFieldToIntSizeWrapper
convertGetSizeMethodToIntSizeWrapper
convertSizeFieldToLongSizeWrapper
convertSizeFieldToLongSizeWrapper
convertGetSizeFieldToLongSizeWrapper
convertGetSizeMethodToLongSizeWrapper
Method Summary | |
abstract def
|
size : Long |
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 |
ScalaTest 1.1
|
|