| Package | Description |
|---|---|
| de.spricom.dessert.assertions |
Provides the logic to check assertions.
|
| Modifier and Type | Method and Description |
|---|---|
static SliceAssert |
SliceAssertions.dessert(Iterable<? extends Slice> slices)
Starts an assertion for slices passed.
|
static SliceAssert |
SliceAssertions.dessert(Map<String,? extends Slice> slices)
An other convenience method to specify slices for assertions.
|
static SliceAssert |
SliceAssertions.dessert(Slice... slices)
An convenience method to specify slices for assertions.
|
SliceAssert |
SliceAssert.isCycleFree()
Assert there are no cyclic dependencies.
|
SliceAssert |
SliceAssert.isLayeredRelaxed()
Assert there are no backward references.
|
SliceAssert |
SliceAssert.isLayeredStrict()
Assert there are no backward references and each slice uses only its direct successor.
|
SliceAssert |
SliceAssert.renderCycleWith(CycleRenderer renderer)
Use custom renderer to produces the
AssertionError message
for a detected cycle. |
SliceAssert |
SliceAssert.renderWith(IllegalDependenciesRenderer renderer)
Use custom renderer to produces the
AssertionError message
for dependency violations. |
SliceAssert |
SliceAssert.usesNot(Iterable<Slice> others)
Assert the current slices have no dependency to any class contained by the slices
passed to this method.
|
SliceAssert |
SliceAssert.usesNot(Slice... others)
Alternative for
usesNot(Iterable). |
SliceAssert |
SliceAssert.usesOnly(Iterable<Slice> others)
Assert the current slices have no other dependencies than those contained by the slices
passed to this method.
|
SliceAssert |
SliceAssert.usesOnly(Slice... others)
Alternative for
usesOnly(Iterable). |
Copyright © 2017–2021 Hans Jörg Heßmann. All rights reserved.