Packages

p

org.specs2

matcher

package matcher

Linear Supertypes
ReturnsSyntax, ExpectationsCreation, MatchResultStackTrace, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. matcher
  2. ReturnsSyntax
  3. ExpectationsCreation
  4. MatchResultStackTrace
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait JUnitExpectations extends ThrownExpectations

    This trait throws AssertionFailed errors when a match fails.

    This trait throws AssertionFailed errors when a match fails.

    It is involved when reusing Matchers with JUnit

  2. trait JUnitMustExpectations extends MustThrownExpectations with JUnitExpectations

    This trait can be imported to use MustMatchers in JUnit

  3. trait JUnitMustMatchers extends Matchers with JUnitMustExpectations

    These traits and objects can be used in JUnit

  4. trait JUnitShouldExpectations extends ShouldThrownExpectations with JUnitExpectations

    This trait can be imported to use ShouldMatchers in JUnit

  5. trait JUnitShouldMatchers extends Matchers with JUnitShouldExpectations
  6. implicit class Returns[T] extends AnyRef
    Definition Classes
    ReturnsSyntax

Value Members

  1. def checkFailure[T](m: MatchResult[T]): MatchResult[T]
    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  2. def checkMatchResultFailure[T](m: MatchResult[T]): MatchResult[T]
    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  3. def checkResultFailure(r: ⇒ Result): Result
    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  4. def createExpectable[T](t: ⇒ T, alias: Option[(String) ⇒ String]): Expectable[T]
    Definition Classes
    ExpectationsCreation
  5. def createExpectable[T](t: ⇒ T, alias: (String) ⇒ String): Expectable[T]
    Definition Classes
    ExpectationsCreation
  6. def createExpectable[T](t: ⇒ T, alias: ⇒ String): Expectable[T]
    Definition Classes
    ExpectationsCreation
  7. def createExpectable[T](t: ⇒ T): Expectable[T]
    Definition Classes
    ExpectationsCreation
  8. def createExpectableWithShowAs[T](t: ⇒ T, showAs: ⇒ String): Expectable[T]
    Definition Classes
    ExpectationsCreation
  9. def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]
    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  10. def sandboxMatchResult[T](mr: ⇒ MatchResult[T]): MatchResult[T]
    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  11. def setStacktrace[T](m: MatchResult[T]): MatchResult[T]
    Attributes
    protected
    Definition Classes
    MatchResultStackTrace
  12. object JUnitMustExpectations extends JUnitMustExpectations
  13. object JUnitMustMatchers extends JUnitMustMatchers with NoMatchResultStackTrace
  14. object JUnitShouldExpectations extends JUnitShouldExpectations
  15. object JUnitShouldMatchers extends JUnitShouldMatchers with NoMatchResultStackTrace

Inherited from ReturnsSyntax

Inherited from ExpectationsCreation

Inherited from MatchResultStackTrace

Inherited from AnyRef

Inherited from Any

Ungrouped