trait MatchersCreation extends AnyRef
- Alphabetic
- By Inheritance
- MatchersCreation
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- implicit class AdaptFunction[T, S] extends AnyRef
this implicit provides an inverted syntax to adapt matchers to make the adaptation more readable in some cases: - def haveExtension(extension: =>String) = ((_:File).getPath) ^^ endWith(extension)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- implicit def functionAndKoMessageToMatcher[T](f: ((T) => Boolean, (T) => String)): Matcher[T]
This method transforms a function to a Matcher
- implicit def functionAndMessagesToMatcher[T](f: ((T) => Boolean, (T) => String, (T) => String)): Matcher[T]
This method transforms a function, with function descriptors to a Matcher
- implicit def functionToMatcher[T](f: ((T) => Boolean, String)): Matcher[T]
This method transforms a function to a Matcher
- implicit def functionToMatcher2[T](f: ((T) => Boolean, String, String)): Matcher[T]
This method transforms a function to a Matcher
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit def matchResultFunctionToMatcher[T, R](f: (T) => R)(implicit arg0: AsResult[R]): Matcher[T]
This method transforms a function returning a Result to a Matcher
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- implicit def pairFunctionToMatcher[T](f: (T) => (Boolean, String)): Matcher[T]
This method transforms a function returning a pair (Boolean, String for ko message) to a Matcher
- implicit def stringMatcherFunctionToBynameMatcherFunction[T, R](f: (T) => Matcher[R]): (=> T) => Matcher[R]
this allows a function returning a matcher to be used where the same function with a byname parameter is expected
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit def tripletFunctionToMatcher[T](f: (T) => (Boolean, String, String)): Matcher[T]
This method transforms a function returning a triplet (Boolean, String for ok message, String for ko message) to a Matcher
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()