add new packages to ArchitectureTest
This commit is contained in:
parent
6f36cb215b
commit
3b7c35cfe4
@ -40,8 +40,10 @@ public class ArchitectureTest {
|
|||||||
"..test.pac",
|
"..test.pac",
|
||||||
"..test.dom",
|
"..test.dom",
|
||||||
"..context",
|
"..context",
|
||||||
|
"..hash",
|
||||||
"..generated..",
|
"..generated..",
|
||||||
"..persistence..",
|
"..persistence..",
|
||||||
|
"..system..",
|
||||||
"..validation..",
|
"..validation..",
|
||||||
"..hs.office.bankaccount",
|
"..hs.office.bankaccount",
|
||||||
"..hs.office.contact",
|
"..hs.office.contact",
|
||||||
@ -110,6 +112,13 @@ public class ArchitectureTest {
|
|||||||
.should().onlyDependOnClassesThat()
|
.should().onlyDependOnClassesThat()
|
||||||
.resideOutsideOfPackage(NET_HOSTSHARING_HSADMINNG);
|
.resideOutsideOfPackage(NET_HOSTSHARING_HSADMINNG);
|
||||||
|
|
||||||
|
@ArchTest
|
||||||
|
@SuppressWarnings("unused")
|
||||||
|
public static final ArchRule hashPackageRule = classes()
|
||||||
|
.that().resideInAPackage("..hash..")
|
||||||
|
.should().onlyDependOnClassesThat()
|
||||||
|
.resideOutsideOfPackage(NET_HOSTSHARING_HSADMINNG);
|
||||||
|
|
||||||
@ArchTest
|
@ArchTest
|
||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
public static final ArchRule errorsPackageRule = classes()
|
public static final ArchRule errorsPackageRule = classes()
|
||||||
@ -117,6 +126,13 @@ public class ArchitectureTest {
|
|||||||
.should().onlyDependOnClassesThat()
|
.should().onlyDependOnClassesThat()
|
||||||
.resideOutsideOfPackage(NET_HOSTSHARING_HSADMINNG);
|
.resideOutsideOfPackage(NET_HOSTSHARING_HSADMINNG);
|
||||||
|
|
||||||
|
@ArchTest
|
||||||
|
@SuppressWarnings("unused")
|
||||||
|
public static final ArchRule systemPackageRule = classes()
|
||||||
|
.that().resideInAPackage("..system..")
|
||||||
|
.should().onlyDependOnClassesThat()
|
||||||
|
.resideOutsideOfPackage(NET_HOSTSHARING_HSADMINNG);
|
||||||
|
|
||||||
@ArchTest
|
@ArchTest
|
||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
public static final ArchRule testPackagesRule = classes()
|
public static final ArchRule testPackagesRule = classes()
|
||||||
|
@ -9,7 +9,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
|||||||
import static org.assertj.core.api.Assertions.catchThrowable;
|
import static org.assertj.core.api.Assertions.catchThrowable;
|
||||||
import static org.junit.jupiter.api.condition.OS.LINUX;
|
import static org.junit.jupiter.api.condition.OS.LINUX;
|
||||||
|
|
||||||
class SystemProcessTest {
|
class SystemProcessUnitTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@EnabledOnOs(LINUX)
|
@EnabledOnOs(LINUX)
|
Loading…
Reference in New Issue
Block a user