org.specs2.specification

Analysis

trait Analysis extends DependencyMatchers with FragmentsDsl

This trait provides integrated dependency analysis method for a Scala project

Self Type
Analysis with FragmentsFactory with Expectations
Linear Supertypes
FragmentsDsl, AcceptanceDsl1, ActionDsl, TagDsl, ReferenceCreation, SpecStructureDsl1, FragmentsFactory, DependencyMatchers, DependencyBeHaveMatchers, BeHaveMatchers, DependencyBaseMatchers, LayersAnalysis, ClassycleDependencyFinder, DependencyFinder, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Analysis
  2. FragmentsDsl
  3. AcceptanceDsl1
  4. ActionDsl
  5. TagDsl
  6. ReferenceCreation
  7. SpecStructureDsl1
  8. FragmentsFactory
  9. DependencyMatchers
  10. DependencyBeHaveMatchers
  11. BeHaveMatchers
  12. DependencyBaseMatchers
  13. LayersAnalysis
  14. ClassycleDependencyFinder
  15. DependencyFinder
  16. AnyRef
  17. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. implicit class HiddenFragment extends AnyRef

    Definition Classes
    FragmentsDsl
  2. case class Layer(names: Set[String], prefix: String = "", sourceDir: DirectoryPath = ..., targetDir: DirectoryPath = ..., included: Seq[String] = ..., excluded: Seq[String] = ...) extends Product with Serializable

    The Layer class represent a list of packages.

  3. 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

  4. class LayersDependenciesMatcher extends Matcher[Layers]

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

  5. class LayersResultMatcher extends AnyRef

    Definition Classes
    DependencyBeHaveMatchers
  6. implicit class appendLayersToString extends (Analysis.this)#appendToString

  7. implicit class appendToArguments extends AnyRef

    Definition Classes
    SpecStructureDsl1
  8. implicit class appendToFragment extends AnyRef

    Definition Classes
    FragmentsDsl
  9. implicit class appendToFragments extends AnyRef

    Definition Classes
    FragmentsDsl
  10. implicit class appendToString extends AnyRef

    Definition Classes
    FragmentsDsl

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): Fragment

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

  7. def action(a: ⇒ Any): Fragment

    Definition Classes
    ActionDsl
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def be: NeutralMatcher[Any]

    Definition Classes
    BeHaveMatchers
  10. def beRespected: (Analysis.this)#LayersDependenciesMatcher

    matcher for Layers declarations

    matcher for Layers declarations

    Definition Classes
    DependencyBaseMatchers
  11. def clone(): AnyRef

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def fragmentFactory: FragmentFactory

    Attributes
    protected
    Definition Classes
    FragmentsFactory
  16. implicit def fragmentToFragments(f: Fragment): Fragments

    Definition Classes
    FragmentsDsl
  17. implicit def fragmentsAsSpecStructure(fs: ⇒ Fragments): SpecStructure

    Definition Classes
    SpecStructureDsl1
  18. def fragmentsBlock(fragments: Seq[Fragment], offset: Int): Fragments

    Definition Classes
    FragmentsDsl
  19. val fs: FilePathReader.type

    Definition Classes
    ClassycleDependencyFinder
  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def getPackageDependents(sourceDir: DirectoryPath, targetDir: DirectoryPath): (String) ⇒ Action[Seq[Dependency]]

    returns

    the classes depending on the classes of package, given its name

    Definition Classes
    ClassycleDependencyFinderDependencyFinder
  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. def have: NeutralMatcher[Any]

    Definition Classes
    BeHaveMatchers
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. 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
  26. 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
  27. 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

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

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

  29. def link(s: ⇒ SpecificationStructure): Fragment

    Definition Classes
    ReferenceCreation
  30. def link(s: SpecStructure): Fragment

    Definition Classes
    ReferenceCreation
  31. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. def not: NotMatcher[Any]

    Definition Classes
    BeHaveMatchers
  33. final def notify(): Unit

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

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

    Definition Classes
    DependencyBeHaveMatchers
  36. def section(tag: NamedTag): Fragment

    Definition Classes
    TagDsl
  37. def section(names: String*): Fragment

    Definition Classes
    TagDsl
  38. def see(s: ⇒ SpecificationStructure): Fragment

    Definition Classes
    ReferenceCreation
  39. def see(s: SpecStructure): Fragment

    Definition Classes
    ReferenceCreation
  40. def step(a: ⇒ Any, global: Boolean): Fragment

    Definition Classes
    ActionDsl
  41. def step(a: ⇒ Any): Fragment

    Definition Classes
    ActionDsl
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  43. def tag(tag: NamedTag): Fragment

    Definition Classes
    TagDsl
  44. def tag(names: String*): Fragment

    Definition Classes
    TagDsl
  45. 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
  46. implicit def toLayersResultMatcher(result: MatchResult[(Analysis.this)#Layers]): (Analysis.this)#LayersResultMatcher

    Definition Classes
    DependencyBeHaveMatchers
  47. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from FragmentsDsl

Inherited from AcceptanceDsl1

Inherited from ActionDsl

Inherited from TagDsl

Inherited from ReferenceCreation

Inherited from SpecStructureDsl1

Inherited from FragmentsFactory

Inherited from DependencyMatchers

Inherited from DependencyBeHaveMatchers

Inherited from BeHaveMatchers

Inherited from DependencyBaseMatchers

Inherited from LayersAnalysis

Inherited from ClassycleDependencyFinder

Inherited from DependencyFinder

Inherited from AnyRef

Inherited from Any

Ungrouped