Object/Trait

org.specs2.matcher

SequenceMatchersCreation

Related Docs: trait SequenceMatchersCreation | package matcher

Permalink

object SequenceMatchersCreation extends SequenceMatchersCreation

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SequenceMatchersCreation
  2. SequenceMatchersCreation
  3. ResultImplicits
  4. ExpectationsCreation
  5. MatchResultStackTrace
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class InvariantMatcherFunction[T] extends AnyRef

    Permalink
    Definition Classes
    SequenceMatchersCreation
  2. implicit class resultFunction[T, R] extends AnyRef

    Permalink

    Add functionalities to functions returning matchers so that they can be combined before taking a value and returning actual matchers

    Add functionalities to functions returning matchers so that they can be combined before taking a value and returning actual matchers

    Definition Classes
    ResultImplicits

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def atLeastOnce[T](matcher: Matcher[T]): ContainWithResult[T]

    Permalink

    apply a matcher atLeast one value

    apply a matcher atLeast one value

    Definition Classes
    SequenceMatchersCreation
  6. def atLeastOnce[T, R](values: Traversable[T])(f: (T) ⇒ R)(implicit arg0: AsResult[R]): MatchResult[Traversable[T]]

    Permalink

    verify the function f for at least one value

    verify the function f for at least one value

    Definition Classes
    SequenceMatchersCreation
  7. def atLeastOnceWhen[T, R](values: Traversable[T])(f: PartialFunction[T, R])(implicit arg0: AsResult[R]): MatchResult[Traversable[T]]

    Permalink

    verify the function f for at least one value, where the PartialFunction is defined

    verify the function f for at least one value, where the PartialFunction is defined

    Definition Classes
    SequenceMatchersCreation
  8. def atMostOnce[T](matcher: Matcher[T]): ContainWithResult[T]

    Permalink

    apply a matcher atLeast one value

    apply a matcher atLeast one value

    Definition Classes
    SequenceMatchersCreation
  9. def atMostOnce[T, R](values: Traversable[T])(f: (T) ⇒ R)(implicit arg0: AsResult[R]): MatchResult[Traversable[T]]

    Permalink

    verify the function f for at least one value

    verify the function f for at least one value

    Definition Classes
    SequenceMatchersCreation
  10. def atMostOnceWhen[T, R](values: Traversable[T])(f: PartialFunction[T, R])(implicit arg0: AsResult[R]): MatchResult[Traversable[T]]

    Permalink

    verify the function f for at least one value, where the PartialFunction is defined

    verify the function f for at least one value, where the PartialFunction is defined

    Definition Classes
    SequenceMatchersCreation
  11. def checkFailure[T](m: MatchResult[T]): MatchResult[T]

    Permalink

    this method can be overridden to throw exceptions when checking the match result

    this method can be overridden to throw exceptions when checking the match result

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  12. def checkMatchResultFailure[T](m: MatchResult[T]): MatchResult[T]

    Permalink

    this method can be overridden to throw exceptions when checking the match result

    this method can be overridden to throw exceptions when checking the match result

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  13. def checkResultFailure(r: ⇒ Result): Result

    Permalink

    this method can be overridden to throw exceptions when checking the result

    this method can be overridden to throw exceptions when checking the result

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def createExpectable[T](t: ⇒ T, alias: Option[(String) ⇒ String]): Expectable[T]

    Permalink

    returns

    an Expectable with a description function

    Definition Classes
    ExpectationsCreation
  16. def createExpectable[T](t: ⇒ T, alias: (String) ⇒ String): Expectable[T]

    Permalink

    returns

    an Expectable with a description function

    Definition Classes
    ExpectationsCreation
  17. def createExpectable[T](t: ⇒ T, alias: ⇒ String): Expectable[T]

    Permalink

    returns

    an Expectable with a description

    Definition Classes
    ExpectationsCreation
  18. def createExpectable[T](t: ⇒ T): Expectable[T]

    Permalink

    returns

    an Expectable

    Definition Classes
    ExpectationsCreation
  19. def createExpectableWithShowAs[T](t: ⇒ T, showAs: ⇒ String): Expectable[T]

    Permalink

    returns

    an Expectable with a function to show the element T

    Definition Classes
    ExpectationsCreation
  20. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def forall[T](matcher: Matcher[T]): ContainWithResult[T]

    Permalink

    apply a matcher for all values

    apply a matcher for all values

    Definition Classes
    SequenceMatchersCreation
  24. def forall[T, R](values: Traversable[T])(f: (T) ⇒ R)(implicit arg0: AsResult[R]): MatchResult[Traversable[T]]

    Permalink

    verify the function f for all the values, stopping after the first failure

    verify the function f for all the values, stopping after the first failure

    Definition Classes
    SequenceMatchersCreation
  25. def forallWhen[T, U](values: Traversable[T])(f: PartialFunction[T, MatchResult[U]]): MatchResult[Traversable[T]]

    Permalink

    verify the function f for all the values, stopping after the first failure, where the PartialFunction is defined

    verify the function f for all the values, stopping after the first failure, where the PartialFunction is defined

    Definition Classes
    SequenceMatchersCreation
  26. def foreach[T](matcher: Matcher[T]): ContainWithResult[T]

    Permalink

    apply a matcher foreach value

    apply a matcher foreach value

    Definition Classes
    SequenceMatchersCreation
  27. def foreach[T, R](values: Traversable[T])(f: (T) ⇒ R)(implicit arg0: AsResult[R]): MatchResult[Traversable[T]]

    Permalink

    verify the function f for all the values, and collect all failures

    verify the function f for all the values, and collect all failures

    Definition Classes
    SequenceMatchersCreation
  28. def foreachWhen[T, R](values: Traversable[T])(f: PartialFunction[T, R])(implicit arg0: AsResult[R]): MatchResult[Traversable[T]]

    Permalink

    verify the function f for all the values, and collect all failures, where the PartialFunction is defined

    verify the function f for all the values, and collect all failures, where the PartialFunction is defined

    Definition Classes
    SequenceMatchersCreation
  29. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]

    Permalink

    this method can be overridden to intercept a MatchResult and change its message before it is thrown

    this method can be overridden to intercept a MatchResult and change its message before it is thrown

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  33. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  34. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  36. def sandboxMatchResult[T](mr: ⇒ MatchResult[T]): MatchResult[T]

    Permalink

    returns

    the match result without any side-effects

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  37. def setStacktrace[T](m: MatchResult[T]): MatchResult[T]

    Permalink

    this method can be overridden to avoid filling-in a stacktrace indicating the location of the result

    this method can be overridden to avoid filling-in a stacktrace indicating the location of the result

    Attributes
    protected
    Definition Classes
    MatchResultStackTrace
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  39. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SequenceMatchersCreation

Inherited from ResultImplicits

Inherited from ExpectationsCreation

Inherited from MatchResultStackTrace

Inherited from AnyRef

Inherited from Any

Ungrouped