Skip to content

Commit

Permalink
Merge commit 'bb6087e0f765d25e917e9110d81bc5e0a35ca5f3'
Browse files Browse the repository at this point in the history
  • Loading branch information
dfuchss committed Mar 8, 2024
2 parents 7f0926f + bb6087e commit e8fa64d
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,16 @@ public class ArchitectureTest {
.haveSimpleName("Model")
.should()
.onlyHaveDependentClassesThat()
.resideInAnyPackage("..models..", "..connectiongenerator..", "..inconsistency..", "..pipeline..", "..common..", "..output..", "..tests..");
.resideInAnyPackage("..models..", "..connectiongenerator..", "..inconsistency..", "..id..", "..pipeline..", "..common..", "..output..",
"..tests..");

@ArchTest
public static final ArchRule linksOnlyAfterConnectionGenerator = classes().that()
.haveSimpleNameEndingWith("Link")
.should()
.onlyHaveDependentClassesThat()
.resideInAnyPackage("..connectiongenerator..", "..codetraceability..", "..tracelinks..", "..inconsistency..", "..pipeline..", "..common..",
"..api..", "..tests..");
.resideInAnyPackage("..connectiongenerator..", "..codetraceability..", "..tracelinks..", "..inconsistency..", "..id..", "..pipeline..",
"..common..", "..api..", "..tests..");

@ArchTest
public static final ArchRule usingLinkAsNamingOnlyInConnectionGenerator = classes().that()
Expand All @@ -63,7 +64,7 @@ public class ArchitectureTest {
.haveSimpleNameContaining("Inconsistency")
.should()
.onlyHaveDependentClassesThat()
.resideInAnyPackage("..inconsistency..", "..execution..", "..api..", "..common..", "..tests..");
.resideInAnyPackage("..inconsistency..", "..id..", "..execution..", "..api..", "..common..", "..tests..");

@ArchTest
public static final ArchRule layerRule = layeredArchitecture().consideringAllDependencies()
Expand All @@ -79,7 +80,7 @@ public class ArchitectureTest {
.layer("ConnectionGenerator")
.definedBy("..connectiongenerator..")
.layer("InconsistencyDetection")
.definedBy("..inconsistency..")
.definedBy("..inconsistency..", "..id..")
.layer("CodeTraceability")
.definedBy("..codetraceability..")
.layer("Pipeline")
Expand Down

0 comments on commit e8fa64d

Please sign in to comment.