org.scalatest.matchers.Matchers

class ResultOfIncludeWordForString

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

final class ResultOfIncludeWordForString(left : java.lang.String, shouldBeTrue : Boolean)
extends AnyRef
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 regex (rightRegex : scala.util.matching.Regex) : Unit
This method enables the following syntax:
     string should include regex ("wo.ld".r)
                           ^
     
def regex (rightRegexString : java.lang.String) : Unit
This method enables the following syntax:
     string should include regex ("world")
                           ^
     
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 regex(rightRegexString : java.lang.String) : Unit
This method enables the following syntax:
     string should include regex ("world")
                           ^
     

def regex(rightRegex : scala.util.matching.Regex) : Unit
This method enables the following syntax:
     string should include regex ("wo.ld".r)
                           ^
     


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