Class AbstractConstraintTest

    • Constructor Detail

      • AbstractConstraintTest

        public AbstractConstraintTest()
    • Method Detail

      • resetConstraints

        public void resetConstraints()
      • calculateFractionPrecision

        protected double calculateFractionPrecision​(double adjust)
      • checkException

        protected void checkException​(java.lang.Throwable exception,
                                      java.lang.Class mainException,
                                      java.lang.Class interceptor)
      • checkException

        protected void checkException​(java.lang.Throwable exception,
                                      java.lang.Class mainException,
                                      java.lang.Class innerException,
                                      java.lang.Class interceptor)
      • checkException

        protected void checkException​(java.lang.Throwable exception,
                                      java.lang.Class mainException,
                                      java.lang.Class innerException,
                                      java.lang.Class interceptor,
                                      boolean checkExactInnerException)
      • getDefaultMessage

        protected java.lang.String getDefaultMessage​(java.lang.String key)
      • assertModelSavingExceptionWithMessageKey

        protected void assertModelSavingExceptionWithMessageKey​(java.lang.Exception msEx,
                                                                java.util.Map<java.lang.String,​java.lang.String> expectedConstraintViolations)
      • assertModelSavingExceptionWithEvaluatedMessage

        protected void assertModelSavingExceptionWithEvaluatedMessage​(java.lang.Exception msEx,
                                                                      java.util.Map<java.lang.String,​java.lang.String> expectedConstraintViolations)
      • assertModelSavingExceptionWithEvaluatedMessage

        protected void assertModelSavingExceptionWithEvaluatedMessage​(java.lang.Exception msEx,
                                                                      java.lang.String expectedMessageKey,
                                                                      java.lang.String expectedPropertyType)
        Assert for an expected exception, expected evaluated for current locale message , expected Property/Type
      • assertModelSavingExceptionWithMessageKey

        protected void assertModelSavingExceptionWithMessageKey​(java.lang.Exception msEx,
                                                                java.lang.String expectedMessageKey,
                                                                java.lang.String expectedPropertyType)
        Assert for an expected exception, expected message key , expected Property/Type
      • assertTrimmedException

        protected void assertTrimmedException​(java.lang.Exception msEx,
                                              java.lang.String key)
      • unloadEngine

        public void unloadEngine()