Package com.hazelcast.test.archunit
Class ArchUnitRules
java.lang.Object
com.hazelcast.test.archunit.ArchUnitRules
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.tngtech.archunit.lang.ArchRule
Backup operations should not implementMutatingOperation
interface, otherwise there may be failures to apply backups.static final com.tngtech.archunit.lang.ArchRule
ArchUnit rule checking that onlyCompletableFuture
async
methods version with explicitly defined executor service is used.static final com.tngtech.archunit.lang.ArchRule
static final com.tngtech.archunit.lang.ArchRule
ArchUnit rule checking that Hamcrest matchers are not mixed with AssertJ.static final com.tngtech.archunit.lang.ArchRule
ArchUnit rule checking that JUnit4 and JUnit5 annotations are not mixed within the same tesstatic final com.tngtech.archunit.lang.ArchRule
Operations should not implement bothReadonlyOperation
andMutatingOperation
interfaces, otherwise split brain protection may not work as expected.static final com.tngtech.archunit.lang.ArchRule
ArchUnit rule checking that Serializable classes have a valid serialVersionUIDstatic final com.tngtech.archunit.lang.ArchRule
-
Method Summary
-
Field Details
-
SERIALIZABLE_SHOULD_HAVE_VALID_SERIAL_VERSION_UID
public static final com.tngtech.archunit.lang.ArchRule SERIALIZABLE_SHOULD_HAVE_VALID_SERIAL_VERSION_UIDArchUnit rule checking that Serializable classes have a valid serialVersionUID -
COMPLETABLE_FUTURE_USED_ONLY_WITH_EXPLICIT_EXECUTOR
public static final com.tngtech.archunit.lang.ArchRule COMPLETABLE_FUTURE_USED_ONLY_WITH_EXPLICIT_EXECUTORArchUnit rule checking that onlyCompletableFuture
async
methods version with explicitly defined executor service is used. -
MATCHERS_USAGE
public static final com.tngtech.archunit.lang.ArchRule MATCHERS_USAGEArchUnit rule checking that Hamcrest matchers are not mixed with AssertJ. -
NO_JUNIT_MIXING
public static final com.tngtech.archunit.lang.ArchRule NO_JUNIT_MIXINGArchUnit rule checking that JUnit4 and JUnit5 annotations are not mixed within the same tes -
TESTS_HAVE_RUNNNERS
public static final com.tngtech.archunit.lang.ArchRule TESTS_HAVE_RUNNNERS- See Also:
-
OPERATIONS_SHOULD_NOTIMPL_BOTH_READONLY_AND_MUTATINGOPERATION
public static final com.tngtech.archunit.lang.ArchRule OPERATIONS_SHOULD_NOTIMPL_BOTH_READONLY_AND_MUTATINGOPERATIONOperations should not implement bothReadonlyOperation
andMutatingOperation
interfaces, otherwise split brain protection may not work as expected. -
BACKUP_OPERATIONS_SHOULD_NOTIMPL_MUTATINGOPERATION
public static final com.tngtech.archunit.lang.ArchRule BACKUP_OPERATIONS_SHOULD_NOTIMPL_MUTATINGOPERATIONBackup operations should not implementMutatingOperation
interface, otherwise there may be failures to apply backups. -
CONFIG_CLASSES_EXPOSING_INTERNAL_IMPLEMENTATION
public static final com.tngtech.archunit.lang.ArchRule CONFIG_CLASSES_EXPOSING_INTERNAL_IMPLEMENTATION
-