fix ArchitectureTest
This commit is contained in:
parent
fe7b515b11
commit
49b2aec884
@ -46,6 +46,7 @@ public class ArchitectureTest {
|
|||||||
"..lambda",
|
"..lambda",
|
||||||
"..generated..",
|
"..generated..",
|
||||||
"..persistence..",
|
"..persistence..",
|
||||||
|
"..reflection",
|
||||||
"..system..",
|
"..system..",
|
||||||
"..validation..",
|
"..validation..",
|
||||||
"..hs.office.bankaccount",
|
"..hs.office.bankaccount",
|
||||||
@ -54,6 +55,7 @@ public class ArchitectureTest {
|
|||||||
"..hs.office.coopshares",
|
"..hs.office.coopshares",
|
||||||
"..hs.office.debitor",
|
"..hs.office.debitor",
|
||||||
"..hs.office.membership",
|
"..hs.office.membership",
|
||||||
|
"..hs.office.usecases..",
|
||||||
"..hs.migration",
|
"..hs.migration",
|
||||||
"..hs.office.partner",
|
"..hs.office.partner",
|
||||||
"..hs.office.person",
|
"..hs.office.person",
|
||||||
@ -96,7 +98,7 @@ public class ArchitectureTest {
|
|||||||
public static final ArchRule testClassesAreProperlyNamed = classes()
|
public static final ArchRule testClassesAreProperlyNamed = classes()
|
||||||
.that().haveSimpleNameEndingWith("Test")
|
.that().haveSimpleNameEndingWith("Test")
|
||||||
.and().doNotHaveModifier(ABSTRACT)
|
.and().doNotHaveModifier(ABSTRACT)
|
||||||
.should().haveNameMatching(".*(UnitTest|RestTest|IntegrationTest|AcceptanceTest|ArchitectureTest)$");
|
.should().haveNameMatching(".*(UnitTest|RestTest|IntegrationTest|AcceptanceTest|UseCasesTest|ArchitectureTest)$");
|
||||||
|
|
||||||
@ArchTest
|
@ArchTest
|
||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
|
Loading…
Reference in New Issue
Block a user