org.scalatest.matchers.Matchers

class ResultOfHaveWordForSeq

[source: org/scalatest/matchers/Matchers.scala]

final class ResultOfHaveWordForSeq[T](left : scala.Seq[T], shouldBeTrue : Boolean)
extends ResultOfHaveWordForCollection[T]
This class is part of the ScalaTest matchers DSL. Please see the documentation for ShouldMatchers or MustMatchers for an overview of the matchers DSL.
Author
Bill Venners
Method Summary
def length (expectedLength : Int) : Unit
This method enables the following syntax:
     seq should have length (20)
                     ^
     
Methods inherited from ResultOfHaveWordForCollection
size
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 length(expectedLength : Int) : Unit
This method enables the following syntax:
     seq should have length (20)
                     ^
     


Copyright (C) 2001-2009 Artima, Inc. All rights reserved.