Package

org.specs2

matcher

Permalink

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 DependencyBaseMatchers extends LayersAnalysis

    Permalink
  2. trait DependencyBeHaveMatchers extends BeHaveMatchers

    Permalink
  3. trait DependencyMatchers extends DependencyBaseMatchers with DependencyBeHaveMatchers

    Permalink

    The dependency matchers trait provides a way to specify the dependencies that should be verified in your project and then to check that there's no unwanted dependency in the code.

    The dependency matchers trait provides a way to specify the dependencies that should be verified in your project and then to check that there's no unwanted dependency in the code.

    It does so by:

    • specifying the dependencies as "layers" where a package name declared in one layer can only be dependent on a package name declared in a lower layer
    • using the scala compiler BuildManager class to recompile the files and get dependency analysis data

    Usage:

    layers( "package1", layer("package2", "package3", "package4"), layer("package6", "package7") ) must beRespected

  4. implicit class Returns[T] extends AnyRef

    Permalink
    Definition Classes
    ReturnsSyntax

Value Members

  1. def checkFailure[T](m: MatchResult[T]): MatchResult[T]

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  4. def createExpectable[T](t: ⇒ T, alias: Option[(String) ⇒ String]): Expectable[T]

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

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

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

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

    Permalink
    Definition Classes
    ExpectationsCreation
  9. def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]

    Permalink
    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  10. def sandboxMatchResult[T](mr: ⇒ MatchResult[T]): MatchResult[T]

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

    Permalink
    Attributes
    protected
    Definition Classes
    MatchResultStackTrace

Inherited from ReturnsSyntax

Inherited from ExpectationsCreation

Inherited from MatchResultStackTrace

Inherited from AnyRef

Inherited from Any

Ungrouped