Class ArchUnitRules

java.lang.Object
com.hazelcast.test.archunit.ArchUnitRules

public final class ArchUnitRules extends Object
  • Field Details

    • SERIALIZABLE_SHOULD_HAVE_VALID_SERIAL_VERSION_UID

      public static final com.tngtech.archunit.lang.ArchRule SERIALIZABLE_SHOULD_HAVE_VALID_SERIAL_VERSION_UID
      ArchUnit 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_EXECUTOR
      ArchUnit rule checking that only CompletableFuture async methods version with explicitly defined executor service is used.
    • MATCHERS_USAGE

      public static final com.tngtech.archunit.lang.ArchRule MATCHERS_USAGE
      ArchUnit rule checking that Hamcrest matchers are not mixed with AssertJ.
    • NO_JUNIT_MIXING

      public static final com.tngtech.archunit.lang.ArchRule NO_JUNIT_MIXING
      ArchUnit rule checking that JUnit4 and JUnit5 annotations are not mixed within the same tes