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. final 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 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
  27. 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
  28. 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
  29. 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
  30. class TheAfterWord extends AnyRef

    Permalink
    Definition Classes
    Explicitly
  31. 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
  32. 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], prettifier: Prettifier, pos: Position): 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]], prettifier: Prettifier, pos: Position): 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]], prettifier: Prettifier, pos: Position): 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*)(implicit pos: Position): 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], prettifier: Prettifier, pos: Position): 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]], prettifier: Prettifier, pos: Position): 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]], prettifier: Prettifier, pos: Position): 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*)(implicit pos: Position): 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], prettifier: Prettifier, pos: Position): 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]], prettifier: Prettifier, pos: Position): 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]], prettifier: Prettifier, pos: Position): 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*)(implicit pos: Position): 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], prettifier: Prettifier, pos: Position): 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]], prettifier: Prettifier, pos: Position): 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]], prettifier: Prettifier, pos: Position): 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. implicit macro def booleanToFact(expression: Boolean)(implicit prettifier: Prettifier, pos: Position): Fact

    Permalink

    Implicit conversion that makes (x > 0) implies expect(x > -1) syntax works

    Implicit conversion that makes (x > 0) implies expect(x > -1) syntax works

    Definition Classes
    Expectations
  34. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. 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
  36. 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
  37. implicit def convertExpectationToAssertion(exp: Expectation): Assertion

    Permalink
    Definition Classes
    Expectations
  38. implicit def convertNumericToPlusOrMinusWrapper[T](pivot: T)(implicit arg0: Numeric[T]): PlusOrMinusWrapper[T]

    Permalink
    Definition Classes
    Tolerance
  39. implicit def convertToAnyWillWrapper[T](o: T)(implicit pos: Position, prettifier: Prettifier): 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
  40. 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
  41. implicit def convertToStringWillWrapper(o: String)(implicit pos: Position, prettifier: Prettifier): 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
    WillMatchers
  42. implicit def convertToStringWillWrapperForVerb(o: String)(implicit position: Position): StringWillWrapperForVerb

    Permalink

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

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

    Definition Classes
    WillVerb
  43. val decided: DecidedWord

    Permalink
    Definition Classes
    Explicitly
  44. val defined: DefinedWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    seq will be (defined)
                  ^
    

    Definition Classes
    FactMatcherWords
  45. 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
  46. val determined: DeterminedWord

    Permalink
    Definition Classes
    Explicitly
  47. val empty: EmptyWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    
    list will be (empty)
                    ^
    

    Definition Classes
    FactMatcherWords
  48. 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
  49. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  50. 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
  51. 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
  52. 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
  53. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  54. def every(xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): 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
  55. def every[K, V, JMAP[k, v] <: Map[k, v]](xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): 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
  56. def every[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): 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
  57. def exactly(num: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): 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
  58. 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]], prettifier: Prettifier, pos: Position): 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
  59. def exactly[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): 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
  60. val exist: ExistWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    file will exist
                ^
    

    Definition Classes
    FactMatcherWords
  61. macro def expect(expression: Boolean)(implicit prettifier: Prettifier, pos: Position): Fact

    Permalink
    Definition Classes
    Expectations
  62. macro def expectCompiles(code: String)(implicit prettifier: Prettifier, pos: Position): Fact

    Permalink
    Definition Classes
    Expectations
  63. macro def expectDoesNotCompile(code: String)(implicit prettifier: Prettifier, pos: Position): Fact

    Permalink
    Definition Classes
    Expectations
  64. def expectResult(expected: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Fact

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

    Permalink
    Definition Classes
    Expectations
  66. macro def expectTypeError(code: String)(implicit prettifier: Prettifier, pos: Position): Fact

    Permalink
    Definition Classes
    Expectations
  67. val expectationsHelper: ExpectationsHelper

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  69. 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
  70. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  72. 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
  73. def inOrder(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): 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
  74. 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
  75. def inOrderOnly[T](firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): 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
  76. 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
  77. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  78. 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
  79. 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
  80. 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
  81. 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
  82. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  83. def no(xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): 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
  84. def no[K, V, JMAP[k, v] <: Map[k, v]](xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): 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
  85. def no[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): 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
  86. 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
  87. def noException(implicit pos: Position): FactExceptionWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    noException will be thrownBy
    ^
    

    Definition Classes
    FactMatcherWords
  88. def noneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): 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
  89. 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
  90. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  92. 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
  93. 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
  94. def oneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): 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
  95. def only(xs: Any*)(implicit pos: Position): 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
  96. val readable: ReadableWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    
    file will be (readable)
                    ^
    

    Definition Classes
    FactMatcherWords
  97. 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
  98. 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
  99. val sorted: SortedWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    seq will be (sorted)
                  ^
    

    Definition Classes
    FactMatcherWords
  100. 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
  101. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  102. def the[T](implicit arg0: ClassTag[T], pos: Position): ResultOfTheTypeInvocation[T]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

    Definition Classes
    WillMatchers
  103. 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
  104. 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
  105. 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
  106. 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
  107. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  108. 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
  109. 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
  110. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  113. 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