ScalaTest 1.1
|
|
org/scalatest/matchers/Matchers.scala
]
abstract
class
LengthWrapper
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 length: length
or getLength
methods or fields that return Int
or Long
. This enables the have length (7)
syntax to be used with any object that has a length.
The implicit conversion methods that result in this type are:
convertLengthFieldToIntLengthWrapper
convertLengthMethodToIntLengthWrapper
convertGetLengthFieldToIntLengthWrapper
convertGetLengthMethodToIntLengthWrapper
convertLengthFieldToLongLengthWrapper
convertLengthFieldToLongLengthWrapper
convertGetLengthFieldToLongLengthWrapper
convertGetLengthMethodToLongLengthWrapper
Method Summary | |
abstract def
|
length : 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
|
|