object MatcherWords extends MatcherWords
- Source
- MatcherWords.scala
- Alphabetic
- By Inheritance
- MatcherWords
- MatcherWords
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
 
-    val be: BeWordThis field enables syntax such as the following: This field enables syntax such as the following: obj should (be theSameInstanceAs (string) and be theSameInstanceAs (string)) ^- Definition Classes
- MatcherWords
 
-    def clone(): AnyRef- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
 
-    val compile: CompileWordThis field enables the following syntax: This field enables the following syntax: "val a: String = 1" shouldNot compile ^- Definition Classes
- MatcherWords
 
-    val contain: ContainWordThis field enables syntax such as the following: This field enables syntax such as the following: list should (contain ('a') and have length (7)) ^ - Definition Classes
- MatcherWords
 
-    val defined: DefinedWordThis field enables the following syntax: This field enables the following syntax: seq should be (defined) ^- Definition Classes
- MatcherWords
 
-    val empty: EmptyWordThis field enables the following syntax: This field enables the following syntax: list should be (empty) ^- Definition Classes
- MatcherWords
 
-    val endWith: EndWithWordThis field enables syntax such as the following: This field enables syntax such as the following: string should (endWith ("ago") and include ("score")) ^ - Definition Classes
- MatcherWords
 
-   final  def eq(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def equal(right: Any): MatcherFactory1[Any, Equality]This method enables the following syntax: This method enables the following syntax: result should equal (7) ^The left should equal (right)syntax works by calling==on theleftvalue, passing in therightvalue, on every type except arrays. If bothleftand right are arrays,deepwill be invoked on bothleftandrightbefore comparing them with ==. Thus, even though this expression will yield false, becauseArray'sequalsmethod compares object identity:Array(1, 2) == Array(1, 2) // yields false The following expression will not result in a TestFailedException, because ScalaTest will compare the two arrays structurally, taking into consideration the equality of the array's contents:Array(1, 2) should equal (Array(1, 2)) // succeeds (i.e., does not throw TestFailedException) If you ever do want to verify that two arrays are actually the same object (have the same identity), you can use the be theSameInstanceAssyntax.- Definition Classes
- MatcherWords
 
-    def equals(arg0: AnyRef): Boolean- Definition Classes
- AnyRef → Any
 
-    val exist: ExistWordThis field enables the following syntax: This field enables the following syntax: file should exist ^- Definition Classes
- MatcherWords
 
-    def finalize(): Unit- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
 
-    val fullyMatch: FullyMatchWordThis field enables syntax such as the following: This field enables syntax such as the following: string should (fullyMatch regex ("Hel*o, wor.d") and not have length (99)) ^ - Definition Classes
- MatcherWords
 
-   final  def getClass(): Class[_ <: AnyRef]- Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
-    def hashCode(): Int- Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
-    val have: HaveWordThis field enables syntax such as the following: This field enables syntax such as the following: list should (have length (3) and not contain ('a')) ^ - Definition Classes
- MatcherWords
 
-    val include: IncludeWordThis field enables syntax such as the following: This field enables syntax such as the following: string should (include ("hope") and not startWith ("no")) ^ - Definition Classes
- MatcherWords
 
-   final  def isInstanceOf[T0]: Boolean- Definition Classes
- Any
 
-    val length: LengthWordThis field enables the following syntax: This field enables the following syntax: "hi" should not have length (3) ^ - Definition Classes
- MatcherWords
 
-    val matchPattern: MatchPatternWordThis field enables the following syntax: This field enables the following syntax: result should matchPattern { case Person("Bob", _) => } ^- Definition Classes
- MatcherWords
 
-   final  def ne(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def noException(implicit pos: Position): NoExceptionWordThis field enables the following syntax: This field enables the following syntax: noException should be thrownBy ^ - Definition Classes
- MatcherWords
 
-    val not: NotWordThis field enables syntax like the following: This field enables syntax like the following: myFile should (not be an (directory) and not have ('name ("foo.bar"))) ^ - Definition Classes
- MatcherWords
 
-   final  def notify(): Unit- Definition Classes
- AnyRef
- Annotations
- @native()
 
-   final  def notifyAll(): Unit- Definition Classes
- AnyRef
- Annotations
- @native()
 
-    val readable: ReadableWordThis field enables the following syntax: This field enables the following syntax: file should be (readable) ^- Definition Classes
- MatcherWords
 
-    val size: SizeWordThis field enables the following syntax: This field enables the following syntax: set should not have size (3) ^- Definition Classes
- MatcherWords
 
-    val sorted: SortedWordThis field enables the following syntax: This field enables the following syntax: seq should be (sorted) ^- Definition Classes
- MatcherWords
 
-    val startWith: StartWithWordThis field enables syntax such as the following: This field enables syntax such as the following: string should (startWith ("Four") and include ("year")) ^ - Definition Classes
- MatcherWords
 
-   final  def synchronized[T0](arg0: => T0): T0- Definition Classes
- AnyRef
 
-    def toString(): String- Definition Classes
- AnyRef → Any
 
-    val typeCheck: TypeCheckWordThis field enables the following syntax: This field enables the following syntax: "val a: String = 1" shouldNot typeCheck ^- Definition Classes
- MatcherWords
 
-   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()
 
-    val writable: WritableWordThis field enables the following syntax: This field enables the following syntax: file should be (writable) ^- Definition Classes
- MatcherWords