class StringExpectable

class StringExpectable[A <: String](value : => A)

 extends Expectable[A]

Specialized expectable class with string matchers aliases

Source: Expectable.scala(153)


def this(value : => A)


createClone def createClone StringExpectable[A]
description protected var description
stores a precise description of the thing being expected [details]
This description is meant to be passed to the matcher for better failure reporting.
Option[String] Expectable


!= final def !=(arg0 : Any) Boolean Any
!= final def !=(arg0 : Object) Boolean AnyRef
== final def ==(arg0 : Object) Boolean AnyRef
== final def ==(arg0 : Any) Boolean Any
applyMatcher def applyMatcher[U >: T](m : => Matcher[U], value : => T)
Apply a matcher for this expectable value [details]
Execute the matcher directly or add it to its related example for execution. It either throws a FailureException or return a SuccessValue object. The expectation listener gets notified of a new expectation with a fresh copy of this expectable. The matcher gets
SuccessValue Expectable
asInstanceOf final def asInstanceOf[T0] T0 Any
clone protected def clone Object AnyRef
eq final def eq(arg0 : Object) Boolean AnyRef
equals def equals(arg0 : Any) Boolean AnyRef
finalize protected def finalize Unit AnyRef
getClass final def getClass Class[Object] AnyRef
hashCode def hashCode Int AnyRef
isInstanceOf final def isInstanceOf[T0] Boolean Any
mustMatch def mustMatch(a : String)
alias for must(beMatching(a))
mustNotMatch def mustNotMatch(a : String)
alias for must(not(beMatching(a)))
must_!=/ def must_!=/(a : String)
alias for must(notBeEqualToIgnoringCase(a))
must_==/ def must_==/(a : String)
alias for must(beEqualToIgnoringCase(a))
ne final def ne(arg0 : Object) Boolean AnyRef
notify final def notify Unit AnyRef
notifyAll final def notifyAll Unit AnyRef
setExample def setExample[T](ex : Example)
Set a specific example to hold the results of this matcher
Unit Expectable
setExpectationsListener def setExpectationsListener(listener : ExampleExpectationsListener)
setter for the expectation listener
Expectable[T] Expectable
setSuccessValueToString def setSuccessValueToString(f : (SuccessValue) => String)
Set a new function to render success values
Unit Expectable
synchronized final def synchronized[T0](arg0 : T0) T0 AnyRef
toString def toString String AnyRef
wait final def wait(arg0 : Long) Unit AnyRef
wait final def wait Unit AnyRef
wait final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
Copyright (c) 2007-2009. All Rights Reserved.