org.specs.matcher.MatcherUtils

object MatcherUtils

object MatcherUtils

 extends ScalaObject


This object provides utility functions for matchers


Source: MatcherUtils.scala(7)

 Constructors

def this

 Methods

!= final def !=(arg0 : Object) Boolean AnyRef
!= final def !=(arg0 : Any) Boolean Any
== final def ==(arg0 : Any) Boolean Any
== final def ==(arg0 : Object) Boolean AnyRef
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
isInteger def isInteger(s : String)
[details]
return
- true if a string s can be parsed to an integer
Boolean
matches def matches[T <: String](a : String)(b : T)
[details]
return
- true if b is matching the regexp a
Boolean
ne final def ne(arg0 : Object) Boolean AnyRef
notify final def notify Unit AnyRef
notifyAll final def notifyAll Unit AnyRef
plural def plural(word : String, i : Int)
[details]
return
- an s if i is > 1
String
q def q(a : Any)
[details]
return
- an object.toString() between quotes (used in messages creation)
String
synchronized final def synchronized[T0](arg0 : T0) T0 AnyRef
toString def toString String AnyRef
unq def unq(a : Any)
[details]
return
- an object.toString() without quotes (used in messages creation)
String
wait final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
wait final def wait Unit AnyRef
wait final def wait(arg0 : Long) Unit AnyRef
Copyright (c) 2007-2009. All Rights Reserved.