org.specs2.specification

Analysis

trait Analysis extends DependencyMatchers

This trait provides integrated analysis method for a scala project

Self Type
Analysis with FragmentsBuilder with Expectations
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Analysis
  2. DependencyMatchers
  3. DependencyBeHaveMatchers
  4. DependencyBaseMatchers
  5. LayersAnalysis
  6. ClassycleDependencyFinder
  7. DependencyFinder
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class Layer(names: Set[String], prefix: String = "", sourceDir: String = "src/main/scala/", targetDir: String = ..., included: Seq[String] = ..., excluded: Seq[String] = ...) extends Product with Serializable

    The Layer class represent a list of packages.

  2. case class Layers(layers: Seq[Layer]) extends Product with Serializable

    This class represents an ordered set of layers, where each package on a given layer can only depend on packages defined in lower layers

  3. class LayersDependenciesMatcher extends Matcher[matcher.DependencyBaseMatchers.Layers]

    this matcher checks that dependencies are satisfied for a given Layers definition

    this matcher checks that dependencies are satisfied for a given Layers definition

    Definition Classes
    DependencyBaseMatchers
  4. class LayersResultMatcher extends AnyRef

    Definition Classes
    DependencyBeHaveMatchers

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. implicit def LayersToExample(layers: (Analysis.this)#Layers): Example

    this implicit definition allows to insert a Layers definition directly into the specification, as a Fragment

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def beRespected: (Analysis.this)#LayersDependenciesMatcher

    matcher for Layers declarations

    matcher for Layers declarations

    Definition Classes
    DependencyBaseMatchers
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def getPackageDependents(packageName: String, sourceDir: String, targetDir: String): Seq[Dependency]

    returns

    the class depending on the classes of a given package

    Definition Classes
    ClassycleDependencyFinderDependencyFinder
  15. def hashCode(): Int

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

    Definition Classes
    Any
  17. def layer(names: String*): (Analysis.this)#Layer

    returns

    a new Layer object. If a prefix is defined, it will apply to each given name

    Definition Classes
    LayersAnalysis
  18. def layers(ls: (Analysis.this)#Layer*): (Analysis.this)#Layers

    returns

    a new Layers object, composed of other layers. If a prefix is defined it will apply to each layer

    Definition Classes
    LayersAnalysis
  19. implicit def layersAsResult: AsResult[(Analysis.this)#Layers]

    this implicit definition allows to check if a Layers definition is respected.

    this implicit definition allows to check if a Layers definition is respected. It needs to take precedence over the inherited one

  20. implicit def layersToResult(layers: (Analysis.this)#Layers): Result

    this implicit definition allows to check if a Layers definition is respected

  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def respected: (Analysis.this)#LayersDependenciesMatcher

    Definition Classes
    DependencyBeHaveMatchers
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. implicit def toLayer(s: String): (Analysis.this)#Layer

    this implicit definition allows to use a single string instead of a Layer object

    this implicit definition allows to use a single string instead of a Layer object

    Definition Classes
    LayersAnalysis
  27. implicit def toLayersResultMatcher(result: MatchResult[(Analysis.this)#Layers]): (Analysis.this)#LayersResultMatcher

    Definition Classes
    DependencyBeHaveMatchers
  28. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DependencyMatchers

Inherited from DependencyBeHaveMatchers

Inherited from DependencyBaseMatchers

Inherited from LayersAnalysis

Inherited from ClassycleDependencyFinder

Inherited from DependencyFinder

Inherited from AnyRef

Inherited from Any

Ungrouped