trait Analysis extends DependencyMatchers with FragmentsDsl
This trait provides integrated dependency analysis method for a Scala project
- Self Type
- Analysis with FragmentsFactory with Expectations
- Alphabetic
- By Inheritance
- Analysis
- FragmentsDsl
- AcceptanceDsl1
- ActionDsl
- TagDsl
- ReferenceCreation
- SpecStructureDsl1
- FragmentsFactory
- DependencyMatchers
- DependencyBeHaveMatchers
- BeHaveMatchers
- DependencyBaseMatchers
- LayersAnalysis
- ClassycleDependencyFinder
- DependencyFinder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
Layer(names: Set[String], prefix: String = "", sourceDir: DirectoryPath = "src" / "main" / "scala", targetDir: DirectoryPath = ..., included: Seq[String] = Seq(), excluded: Seq[String] = Seq()) extends Product with Serializable
The Layer class represent a list of packages.
The Layer class represent a list of packages.
If those packages share a common prefix, it will be stored in the
prefix
member- Definition Classes
- LayersAnalysis
-
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
This class represents an ordered set of layers, where each package on a given layer can only depend on packages defined in lower layers
- Definition Classes
- LayersAnalysis
-
class
LayersDependenciesMatcher extends Matcher[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
-
class
LayersResultMatcher extends AnyRef
- Definition Classes
- DependencyBeHaveMatchers
- implicit class appendLayersToString extends (Analysis.this)#appendToString
-
implicit
class
appendToArguments extends AnyRef
- Definition Classes
- SpecStructureDsl1
-
implicit
class
HiddenFragment extends AnyRef
- Definition Classes
- FragmentsDsl
-
implicit
class
MutedFragment extends AnyRef
- Definition Classes
- FragmentsDsl
-
implicit
class
appendToFragment extends AnyRef
- Definition Classes
- FragmentsDsl
-
implicit
class
appendToFragments extends AnyRef
- Definition Classes
- FragmentsDsl
-
implicit
class
appendToString extends AnyRef
- Definition Classes
- FragmentsDsl
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
def
LayersToExample(layers: (Analysis.this)#Layers): Fragment
this implicit definition allows to insert a Layers definition directly into the specification, as a Fragment
-
def
action(a: ⇒ Any): Fragment
- Definition Classes
- ActionDsl
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
be: NeutralMatcher[Any]
- Definition Classes
- BeHaveMatchers
-
def
beRespected: (Analysis.this)#LayersDependenciesMatcher
matcher for Layers declarations
matcher for Layers declarations
- Definition Classes
- DependencyBaseMatchers
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fragmentFactory: FragmentFactory
- Attributes
- protected
- Definition Classes
- FragmentsFactory
-
implicit
def
fragmentToFragments(f: Fragment): Fragments
- Definition Classes
- FragmentsDsl
-
implicit
def
fragmentsAsSpecStructure(fs: ⇒ Fragments): SpecStructure
- Definition Classes
- SpecStructureDsl1
-
def
fragmentsBlock(fragments: Seq[Fragment], offset: Int = 2): Fragments
create a block of new fragments where each of them is separated by a newline and there is a specific offset from the left margin
create a block of new fragments where each of them is separated by a newline and there is a specific offset from the left margin
- Definition Classes
- FragmentsDsl
-
val
fs: FilePathReader.type
- Definition Classes
- ClassycleDependencyFinder
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getPackageDependents(sourceDir: DirectoryPath, targetDir: DirectoryPath): (String) ⇒ Operation[Seq[Dependency]]
- returns
the classes depending on the classes of package, given its name
- Definition Classes
- ClassycleDependencyFinder → DependencyFinder
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
have: NeutralMatcher[Any]
- Definition Classes
- BeHaveMatchers
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
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
-
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
-
implicit
def
layersToResult(layers: (Analysis.this)#Layers): Result
this implicit definition allows to check if a Layers definition is respected
-
def
link(s: ⇒ SpecificationStructure): Fragment
- Definition Classes
- ReferenceCreation
-
def
link(s: SpecStructure): Fragment
- Definition Classes
- ReferenceCreation
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
not: NotMatcher[Any]
- Definition Classes
- BeHaveMatchers
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
respected: (Analysis.this)#LayersDependenciesMatcher
- Definition Classes
- DependencyBeHaveMatchers
-
def
section(tag: NamedTag): Fragment
- Definition Classes
- TagDsl
-
def
section(names: String*): Fragment
- Definition Classes
- TagDsl
-
def
see(s: ⇒ SpecificationStructure): Fragment
- Definition Classes
- ReferenceCreation
-
def
see(s: SpecStructure): Fragment
- Definition Classes
- ReferenceCreation
-
def
step(a: ⇒ Any, global: Boolean): Fragment
- Definition Classes
- ActionDsl
-
def
step(a: ⇒ Any): Fragment
- Definition Classes
- ActionDsl
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tag(tag: NamedTag): Fragment
- Definition Classes
- TagDsl
-
def
tag(names: String*): Fragment
- Definition Classes
- TagDsl
-
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
-
implicit
def
toLayersResultMatcher(result: MatchResult[(Analysis.this)#Layers]): (Analysis.this)#LayersResultMatcher
- Definition Classes
- DependencyBeHaveMatchers
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )