Package archunit

Class GeneralArchRulesTest

java.lang.Object
archunit.GeneralArchRulesTest

public class GeneralArchRulesTest extends Object
  • Constructor Details

    • GeneralArchRulesTest

      public GeneralArchRulesTest()
  • Method Details

    • loggersShouldBePrivateStaticFinal

      @Test @DisplayName("ArchUnit test to ensure loggers should be private static final") public void loggersShouldBePrivateStaticFinal()
    • classesShouldNotUseJavaUtilLogging

      @Test @DisplayName("ArchUnit test to ensure that the classes should not use JavaUtil logging") public void classesShouldNotUseJavaUtilLogging()
    • classesShouldNotUseJodaTime

      @Test @DisplayName("ArchUnit test to ensure that the classes should not use Joda time") public void classesShouldNotUseJodaTime()
    • classesShouldNotUseFieldInjectionExceptTests

      @Test @DisplayName("ArchUnit test to ensure that the classes should not use field injection except tests") public void classesShouldNotUseFieldInjectionExceptTests()