Object/Trait

org.scalatest

WillMatchers

Related Docs: trait WillMatchers | package scalatest

Permalink

object WillMatchers extends WillMatchers

Companion object that facilitates the importing of Matchers members as an alternative to mixing it the trait. One use case is to import Matchers members so you can use them in the Scala interpreter.

Linear Supertypes
WillMatchers, Explicitly, FactMatcherWords, WillVerb, Tolerance, Expectations, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. WillMatchers
  2. WillMatchers
  3. Explicitly
  4. FactMatcherWords
  5. WillVerb
  6. Tolerance
  7. Expectations
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. final class AWord extends AnyRef

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

    Definition Classes
    WillMatchers
  2. final class AnWord extends AnyRef

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

    Definition Classes
    WillMatchers
  3. sealed class AnyWillWrapper[T] extends AnyRef

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

    This class is used in conjunction with an implicit conversion to enable will methods to be invoked on objects of type Any.

    Definition Classes
    WillMatchers
  4. class DecidedByEquality[A] extends Equality[A]

    Permalink
    Definition Classes
    Explicitly
  5. class DecidedWord extends AnyRef

    Permalink
    Definition Classes
    Explicitly
  6. class DeterminedByEquivalence[T] extends Equivalence[T]

    Permalink
    Definition Classes
    Explicitly
  7. class DeterminedWord extends AnyRef

    Permalink
    Definition Classes
    Explicitly
  8. class ExpectationsHelper extends AnyRef

    Permalink
    Definition Classes
    Expectations
  9. final class FactResultOfContainWordForCollectedAny[T] extends AnyRef

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for InspectorsMatchers for an overview of the matchers DSL.

    Definition Classes
    WillMatchers
  10. final class KeyWord extends AnyRef

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

    Definition Classes
    WillMatchers
  11. final class PlusOrMinusWrapper[T] extends AnyRef

    Permalink
    Definition Classes
    Tolerance
  12. final class RegexWord extends AnyRef

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

    Definition Classes
    WillMatchers
  13. final class RegexWrapper extends AnyRef

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

    This class is used in conjunction with an implicit conversion to enable withGroup and withGroups methods to be invoked on Regexs.

    Definition Classes
    WillMatchers
  14. class ResultOfBeWordForAny[T] extends AnyRef

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

    Definition Classes
    WillMatchers
  15. sealed class ResultOfBeWordForCollectedAny[T] extends AnyRef

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for InspectorsMatchers for an overview of the matchers DSL.

    Definition Classes
    WillMatchers
  16. final class ResultOfCollectedAny[T] extends AnyRef

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for InspectorsMatchers for an overview of the matchers DSL.

    Definition Classes
    WillMatchers
  17. final class ResultOfEndWithWordForCollectedString extends AnyRef

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for InspectorsMatchers for an overview of the matchers DSL.

    Definition Classes
    WillMatchers
  18. final class ResultOfEndWithWordForString extends AnyRef

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

    Definition Classes
    WillMatchers
  19. final class ResultOfFullyMatchWordForCollectedString extends AnyRef

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for InspectorsMatchers for an overview of the matchers DSL.

    Definition Classes
    WillMatchers
  20. final class ResultOfFullyMatchWordForString extends AnyRef

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

    Definition Classes
    WillMatchers
  21. final class ResultOfHaveWordForCollectedExtent[A] extends AnyRef

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

    Definition Classes
    WillMatchers
  22. final class ResultOfHaveWordForExtent[A] extends AnyRef

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

    Definition Classes
    WillMatchers
  23. final class ResultOfIncludeWordForCollectedString extends AnyRef

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for InspectorsMatchers for an overview of the matchers DSL.

    Definition Classes
    WillMatchers
  24. final class ResultOfIncludeWordForString extends AnyRef

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

    Definition Classes
    WillMatchers
  25. sealed class ResultOfNotWordForCollectedAny[T] extends AnyRef

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for InspectorsMatchers for an overview of the matchers DSL.

    Definition Classes
    WillMatchers
  26. final class ResultOfProduceInvocation[T] extends AnyRef

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

    Definition Classes
    WillMatchers
  27. final class ResultOfStartWithWordForCollectedString extends AnyRef

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for InspectorsMatchers for an overview of the matchers DSL.

    Definition Classes
    WillMatchers
  28. final class ResultOfStartWithWordForString extends AnyRef

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

    Definition Classes
    WillMatchers
  29. final class StringWillWrapper extends AnyWillWrapper[String] with StringWillWrapperForVerb

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

    This class is used in conjunction with an implicit conversion to enable will methods to be invoked on Strings.

    Definition Classes
    WillMatchers
  30. trait StringWillWrapperForVerb extends AnyRef

    Permalink

    This class supports the syntax of FlatSpec, WordSpec, fixture.FlatSpec, and fixture.WordSpec.

    This class supports the syntax of FlatSpec, WordSpec, fixture.FlatSpec, and fixture.WordSpec.

    This class is used in conjunction with an implicit conversion to enable will methods to be invoked on Strings.

    Definition Classes
    WillVerb
  31. class TheAfterWord extends AnyRef

    Permalink
    Definition Classes
    Explicitly
  32. final class TheSameInstanceAsPhrase extends AnyRef

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

    Definition Classes
    WillMatchers
  33. final class ValueWord extends AnyRef

    Permalink

    This class is part of the ScalaTest matchers DSL.

    This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

    Definition Classes
    WillMatchers

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def <[T](right: T)(implicit arg0: Ordering[T]): ResultOfLessThanComparison[T]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    num will (not be < (10) and not be > (17))
                       ^
    

    Definition Classes
    WillMatchers
  4. def <=[T](right: T)(implicit arg0: Ordering[T]): ResultOfLessThanOrEqualToComparison[T]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    num will (not be <= (10) and not be > (17))
                       ^
    

    Definition Classes
    WillMatchers
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def >[T](right: T)(implicit arg0: Ordering[T]): ResultOfGreaterThanComparison[T]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    num will (not be > (10) and not be < (7))
                       ^
    

    Definition Classes
    WillMatchers
  7. def >=[T](right: T)(implicit arg0: Ordering[T]): ResultOfGreaterThanOrEqualToComparison[T]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    num will (not be >= (10) and not be < (7))
                       ^
    

    Definition Classes
    WillMatchers
  8. def a[T](implicit arg0: ClassTag[T]): FactResultOfATypeInvocation[T]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    a [RuntimeException] will be thrownBy { ... }
    ^
    

    Definition Classes
    WillMatchers
  9. val a: AWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    badBook will not be a ('goodRead)
                          ^
    

    Definition Classes
    WillMatchers
  10. val after: TheAfterWord

    Permalink
    Definition Classes
    Explicitly
  11. def all(xs: String)(implicit collecting: Collecting[Char, String]): ResultOfCollectedAny[Char]

    Permalink

    This method enables the following syntax for String:

    This method enables the following syntax for String:

    all(str) will fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    WillMatchers
  12. def all[K, V, JMAP[k, v] <: Map[k, v]](xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]]): ResultOfCollectedAny[Entry[K, V]]

    Permalink

    This method enables the following syntax for java.util.Map:

    This method enables the following syntax for java.util.Map:

    all(jmap) will fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    WillMatchers
  13. def all[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]]): ResultOfCollectedAny[E]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) will fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    WillMatchers
  14. def allElementsOf[R](elements: GenTraversable[R]): ResultOfAllElementsOfApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) will contain (allElementsOf(1, 2))
                                  ^
    

    Definition Classes
    WillMatchers
  15. def allOf(firstEle: Any, secondEle: Any, remainingEles: Any*): ResultOfAllOfApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) will contain (allOf(1, 2))
                                  ^
    

    Definition Classes
    WillMatchers
  16. def an[T](implicit arg0: ClassTag[T]): FactResultOfAnTypeInvocation[T]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    an [Exception] will be thrownBy { ... }
    ^
    

    Definition Classes
    WillMatchers
  17. val an: AnWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    badBook will not be an (excellentRead)
                          ^
    

    Definition Classes
    WillMatchers
  18. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  19. def atLeast(num: Int, xs: String)(implicit collecting: Collecting[Char, String]): ResultOfCollectedAny[Char]

    Permalink

    This method enables the following syntax for String:

    This method enables the following syntax for String:

    atLeast(1, str) will fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    WillMatchers
  20. def atLeast[K, V, JMAP[k, v] <: Map[k, v]](num: Int, xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]]): ResultOfCollectedAny[Entry[K, V]]

    Permalink

    This method enables the following syntax for java.util.Map:

    This method enables the following syntax for java.util.Map:

    atLeast(1, jmap) will fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    WillMatchers
  21. def atLeast[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]]): ResultOfCollectedAny[E]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    atLeast(1, xs) will fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    WillMatchers
  22. def atLeastOneElementOf(elements: GenTraversable[Any]): ResultOfAtLeastOneElementOfApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) will contain (atLeastOneElementOf (List(1, 2)))
                                  ^
    

    Definition Classes
    WillMatchers
  23. def atLeastOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*): ResultOfAtLeastOneOfApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) will contain (atLeastOneOf(1, 2))
                                  ^
    

    Definition Classes
    WillMatchers
  24. def atMost(num: Int, xs: String)(implicit collecting: Collecting[Char, String]): ResultOfCollectedAny[Char]

    Permalink

    This method enables the following syntax for String:

    This method enables the following syntax for String:

    atMost(3, str) will fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    WillMatchers
  25. def atMost[K, V, JMAP[k, v] <: Map[k, v]](num: Int, xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]]): ResultOfCollectedAny[Entry[K, V]]

    Permalink

    This method enables the following syntax for java.util.Map:

    This method enables the following syntax for java.util.Map:

    atMost(3, jmap) will fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    WillMatchers
  26. def atMost[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]]): ResultOfCollectedAny[E]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    atMost(3, xs) will fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    WillMatchers
  27. def atMostOneElementOf[R](elements: GenTraversable[R]): ResultOfAtMostOneElementOfApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) will contain (atMostOneElementOf (List(1, 2)))
                                  ^
    

    Definition Classes
    WillMatchers
  28. def atMostOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*): ResultOfAtMostOneOfApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) will contain (atMostOneOf(1, 2))
                                  ^
    

    Definition Classes
    WillMatchers
  29. val be: BeWord

    Permalink

    This field enables syntax such as the following:

    This field enables syntax such as the following:

    obj will (be theSameInstanceAs (string) and be theSameInstanceAs (string))
                ^
    

    Definition Classes
    FactMatcherWords
  30. def between(from: Int, upTo: Int, xs: String)(implicit collecting: Collecting[Char, String]): ResultOfCollectedAny[Char]

    Permalink

    This method enables the following syntax for String:

    This method enables the following syntax for String:

    between(1, 3, str) will fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    WillMatchers
  31. def between[K, V, JMAP[k, v] <: Map[k, v]](from: Int, upTo: Int, xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]]): ResultOfCollectedAny[Entry[K, V]]

    Permalink

    This method enables the following syntax for java.util.Map:

    This method enables the following syntax for java.util.Map:

    between(1, 3, jmap) will fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    WillMatchers
  32. def between[E, C[_]](from: Int, upTo: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]]): ResultOfCollectedAny[E]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    between(1, 3, xs) will fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    WillMatchers
  33. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. val compile: CompileWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    
    "val a: String = 1" willNot compile
                                  ^
    

    Definition Classes
    FactMatcherWords
  35. val contain: ContainWord

    Permalink

    This field enables syntax such as the following:

    This field enables syntax such as the following:

    list will (contain ('a') and have length (7))
                 ^
    

    Definition Classes
    FactMatcherWords
  36. implicit def convertNumericToPlusOrMinusWrapper[T](pivot: T)(implicit arg0: Numeric[T]): PlusOrMinusWrapper[T]

    Permalink
    Definition Classes
    Tolerance
  37. implicit def convertToAnyWillWrapper[T](o: T): AnyWillWrapper[T]

    Permalink

    Implicitly converts an object of type T to a AnyWillWrapper[T], to enable will methods to be invokable on that object.

    Implicitly converts an object of type T to a AnyWillWrapper[T], to enable will methods to be invokable on that object.

    Definition Classes
    WillMatchers
  38. implicit def convertToRegexWrapper(o: Regex): RegexWrapper

    Permalink

    Implicitly converts an object of type scala.util.matching.Regex to a RegexWrapper, to enable withGroup and withGroups methods to be invokable on that object.

    Implicitly converts an object of type scala.util.matching.Regex to a RegexWrapper, to enable withGroup and withGroups methods to be invokable on that object.

    Definition Classes
    WillMatchers
  39. implicit def convertToStringWillWrapper(o: String): StringWillWrapper

    Permalink

    Implicitly converts an object of type java.lang.String to a StringWillWrapper, to enable will methods to be invokable on that object.

    Implicitly converts an object of type java.lang.String to a StringWillWrapper, to enable will methods to be invokable on that object.

    Definition Classes
    WillMatchersWillVerb
  40. val decided: DecidedWord

    Permalink
    Definition Classes
    Explicitly
  41. val defined: DefinedWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    seq will be (defined)
                  ^
    

    Definition Classes
    FactMatcherWords
  42. def definedAt[T](right: T): ResultOfDefinedAt[T]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    list will (not be definedAt (7) and not be definedAt (9))
                        ^
    

    Definition Classes
    WillMatchers
  43. val determined: DeterminedWord

    Permalink
    Definition Classes
    Explicitly
  44. val empty: EmptyWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    
    list will be (empty)
                    ^
    

    Definition Classes
    FactMatcherWords
  45. val endWith: EndWithWord

    Permalink

    This field enables syntax such as the following:

    This field enables syntax such as the following:

    string will (endWith ("ago") and include ("score"))
                   ^
    

    Definition Classes
    FactMatcherWords
  46. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  47. def equal(o: Null): Matcher[AnyRef]

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    result will equal (null)
                  ^
    

    Definition Classes
    WillMatchers
  48. def equal[T](spread: Spread[T]): Matcher[T]

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    result will equal (100 +- 1)
                  ^
    

    Definition Classes
    WillMatchers
  49. def equal(right: Any): MatcherFactory1[Any, Equality]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    result will equal (7)
                  ^
    

    The left will equal (right) syntax works by calling == on the left value, passing in the right value, on every type except arrays. If both left and right are arrays, deep will be invoked on both left and right before comparing them with ==. Thus, even though this expression will yield false, because Array's equals method 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) will 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 theSameInstanceAs syntax.

    Definition Classes
    FactMatcherWords
  50. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  51. def every(xs: String)(implicit collecting: Collecting[Char, String]): ResultOfCollectedAny[Char]

    Permalink

    This method enables the following syntax for String:

    This method enables the following syntax for String:

    every(str) will fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    WillMatchers
  52. def every[K, V, JMAP[k, v] <: Map[k, v]](xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]]): ResultOfCollectedAny[Entry[K, V]]

    Permalink

    This method enables the following syntax for java.util.Map:

    This method enables the following syntax for java.util.Map:

    every(jmap) will fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    WillMatchers
  53. def every[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]]): ResultOfCollectedAny[E]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    every(xs) will fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    WillMatchers
  54. def exactly(num: Int, xs: String)(implicit collecting: Collecting[Char, String]): ResultOfCollectedAny[Char]

    Permalink

    This method enables the following syntax for String:

    This method enables the following syntax for String:

    exactly(str) will fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    WillMatchers
  55. def exactly[K, V, JMAP[k, v] <: Map[k, v]](num: Int, xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]]): ResultOfCollectedAny[Entry[K, V]]

    Permalink

    This method enables the following syntax for java.util.Map:

    This method enables the following syntax for java.util.Map:

    exactly(jmap) will fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    WillMatchers
  56. def exactly[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]]): ResultOfCollectedAny[E]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    exactly(xs) will fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    WillMatchers
  57. val exist: ExistWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    file will exist
                ^
    

    Definition Classes
    FactMatcherWords
  58. macro def expect(expression: Boolean): Fact

    Permalink
    Definition Classes
    Expectations
  59. macro def expectCompiles(code: String): Fact

    Permalink
    Definition Classes
    Expectations
  60. macro def expectDoesNotCompile(code: String): Fact

    Permalink
    Definition Classes
    Expectations
  61. def expectResult(expected: Any)(actual: Any): Fact

    Permalink
    Definition Classes
    Expectations
  62. def expectThrows[T <: AnyRef](f: ⇒ Any)(implicit classTag: ClassTag[T]): Expectation

    Permalink
    Definition Classes
    Expectations
  63. macro def expectTypeError(code: String): Fact

    Permalink
    Definition Classes
    Expectations
  64. val expectationsHelper: ExpectationsHelper

    Permalink
    Definition Classes
    Expectations
  65. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  66. val fullyMatch: FullyMatchWord

    Permalink

    This field enables syntax such as the following:

    This field enables syntax such as the following:

    string will (fullyMatch regex ("Hel*o, wor.d") and not have length (99))
                   ^
    

    Definition Classes
    FactMatcherWords
  67. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  68. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  69. val have: HaveWord

    Permalink

    This field enables syntax such as the following:

    This field enables syntax such as the following:

    list will (have length (3) and not contain ('a'))
                 ^
    

    Definition Classes
    FactMatcherWords
  70. def inOrder(firstEle: Any, secondEle: Any, remainingEles: Any*): ResultOfInOrderApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) will contain (inOrder(1, 2))
                                  ^
    

    Definition Classes
    WillMatchers
  71. def inOrderElementsOf[R](elements: GenTraversable[R]): ResultOfInOrderElementsOfApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) will contain (inOrderElementsOf List(1, 2))
                                  ^
    

    Definition Classes
    WillMatchers
  72. def inOrderOnly[T](firstEle: Any, secondEle: Any, remainingEles: Any*): ResultOfInOrderOnlyApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) will contain (inOrderOnly(1, 2))
                                  ^
    

    Definition Classes
    WillMatchers
  73. val include: IncludeWord

    Permalink

    This field enables syntax such as the following:

    This field enables syntax such as the following:

    string will (include ("hope") and not startWith ("no"))
                   ^
    

    Definition Classes
    FactMatcherWords
  74. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  75. val key: KeyWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    map will not contain key (10)
                           ^
    

    Definition Classes
    WillMatchers
  76. val length: LengthWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    "hi" will not have length (3)
                         ^
    

    Definition Classes
    FactMatcherWords
  77. val matchPattern: MatchPatternWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    
    result will matchPattern { case Person("Bob", _) => }
                  ^
    

    Definition Classes
    FactMatcherWords
  78. def message(expectedMessage: String): ResultOfMessageWordApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    exception will not have message ("file not found")
                              ^
    

    Definition Classes
    WillMatchers
  79. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  80. def no(xs: String)(implicit collecting: Collecting[Char, String]): ResultOfCollectedAny[Char]

    Permalink

    This method enables the following syntax for String:

    This method enables the following syntax for String:

    no(str) will fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    WillMatchers
  81. def no[K, V, JMAP[k, v] <: Map[k, v]](xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]]): ResultOfCollectedAny[Entry[K, V]]

    Permalink

    This method enables the following syntax for java.util.Map:

    This method enables the following syntax for java.util.Map:

    no(jmap) will fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    WillMatchers
  82. def no[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]]): ResultOfCollectedAny[E]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    no(xs) will fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    WillMatchers
  83. def noElementsOf(elements: GenTraversable[Any]): ResultOfNoElementsOfApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) will contain (noElementsOf List(1, 2))
                                  ^
    

    Definition Classes
    WillMatchers
  84. val noException: FactExceptionWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    noException will be thrownBy
    ^
    

    Definition Classes
    FactMatcherWords
  85. def noneOf(firstEle: Any, secondEle: Any, remainingEles: Any*): ResultOfNoneOfApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) will contain (noneOf(1, 2))
                                  ^
    

    Definition Classes
    WillMatchers
  86. val not: NotWord

    Permalink

    This field enables syntax like the following:

    This field enables syntax like the following:

    myFile will (not be an (directory) and not have ('name ("foo.bar")))
                   ^
    

    Definition Classes
    FactMatcherWords
  87. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  88. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  89. def of[T](implicit ev: ClassTag[T]): ResultOfOfTypeInvocation[T]

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    book will have (message ("A TALE OF TWO CITIES") (of [Book]), title ("A Tale of Two Cities"))
                                                        ^
    

    Definition Classes
    WillMatchers
  90. def oneElementOf(elements: GenTraversable[Any]): ResultOfOneElementOfApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) will contain (oneElementOf (List(1, 2)))
                                  ^
    

    Definition Classes
    WillMatchers
  91. def oneOf(firstEle: Any, secondEle: Any, remainingEles: Any*): ResultOfOneOfApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) will contain (oneOf(1, 2))
                                  ^
    

    Definition Classes
    WillMatchers
  92. def only(xs: Any*): ResultOfOnlyApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) will contain (only(1, 2))
                                  ^
    

    Definition Classes
    WillMatchers
  93. def produce[T](implicit arg0: ClassTag[T]): ResultOfProduceInvocation[T]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    evaluating { "hi".charAt(-1) } will produce [StringIndexOutOfBoundsException]
                                          ^
    

    Definition Classes
    WillMatchers
  94. val readable: ReadableWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    
    file will be (readable)
                    ^
    

    Definition Classes
    FactMatcherWords
  95. val regex: RegexWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    "eight" will not fullyMatch regex ("""(-)?(\d+)(\.\d*)?""".r)
                                  ^
    

    Definition Classes
    WillMatchers
  96. val size: SizeWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    set will not have size (3)
                        ^
    

    Definition Classes
    FactMatcherWords
  97. val sorted: SortedWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    seq will be (sorted)
                  ^
    

    Definition Classes
    FactMatcherWords
  98. val startWith: StartWithWord

    Permalink

    This field enables syntax such as the following:

    This field enables syntax such as the following:

    string will (startWith ("Four") and include ("year"))
                   ^
    

    Definition Classes
    FactMatcherWords
  99. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  100. def the[T](implicit arg0: ClassTag[T]): ResultOfTheTypeInvocation[T]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    the [FileNotFoundException] will be thrownBy { ... }
    ^
    

    Definition Classes
    WillMatchers
  101. def theSameElementsAs(xs: GenTraversable[_]): ResultOfTheSameElementsAsApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) will contain (theSameElementsAs(List(1, 2, 3)))
                                  ^
    

    Definition Classes
    WillMatchers
  102. def theSameElementsInOrderAs(xs: GenTraversable[_]): ResultOfTheSameElementsInOrderAsApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) will contain (theSameElementsInOrderAs(List(1, 2)))
                                  ^
    

    Definition Classes
    WillMatchers
  103. val theSameInstanceAs: TheSameInstanceAsPhrase

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    oneString will not be theSameInstanceAs (anotherString)
                            ^
    

    Definition Classes
    WillMatchers
  104. def thrownBy(fun: ⇒ Any): ResultOfThrownByApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    a [RuntimeException] will be thrownBy {...}
                                   ^
    

    Definition Classes
    WillMatchers
  105. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  106. val typeCheck: TypeCheckWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    
    "val a: String = 1" willNot typeCheck
                                  ^
    

    Definition Classes
    FactMatcherWords
  107. val value: ValueWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    map will not contain value (10)
                           ^
    

    Definition Classes
    WillMatchers
  108. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  109. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  110. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  111. val writable: WritableWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    file will be (writable)
                    ^
    

    Definition Classes
    FactMatcherWords

Inherited from WillMatchers

Inherited from Explicitly

Inherited from FactMatcherWords

Inherited from WillVerb

Inherited from Tolerance

Inherited from Expectations

Inherited from AnyRef

Inherited from Any

Ungrouped