Class AverageServiceUsageUnitValidatorTest

  • All Implemented Interfaces:
    de.hybris.platform.testframework.JaloSessionHolder

    @IntegrationTest
    public class AverageServiceUsageUnitValidatorTest
    extends de.hybris.platform.validation.model.constraints.jsr303.AbstractConstraintTest
    Since:
    6.7
    • Nested Class Summary

      • Nested classes/interfaces inherited from class de.hybris.platform.validation.model.constraints.jsr303.AbstractConstraintTest

        de.hybris.platform.validation.model.constraints.jsr303.AbstractConstraintTest.Constraint
    • Field Summary

      • Fields inherited from class de.hybris.platform.validation.model.constraints.jsr303.AbstractConstraintTest

        constraintDao, flexibleSearchService, i18nService, modelService, typeService, validationService
      • Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest

        importService
      • Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test

        jaloSession
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setup()  
      void testInvalidCompatibleUnitConversion()  
      void testInvalidPSCV()  
      void testIsCompatibleUnitConversion()  
      void testIsInvalidASUDates()  
      void testIsOfNumericTypeOnly()  
      void testIsSameASUDates()  
      void testIsValidASU()  
      void testIsValidASUDates()  
      • Methods inherited from class de.hybris.platform.validation.model.constraints.jsr303.AbstractConstraintTest

        assertModelSavingExceptionWithEvaluatedMessage, assertModelSavingExceptionWithEvaluatedMessage, assertModelSavingExceptionWithMessageKey, assertModelSavingExceptionWithMessageKey, assertTrimmedException, calculateFractionPrecision, checkException, checkException, checkException, getDefaultMessage, resetConstraints, unloadEngine
      • Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest

        createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
      • Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest

        autowireProperties, getBeanName, prepareApplicationContextAndSession
      • Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test

        establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AverageServiceUsageUnitValidatorTest

        public AverageServiceUsageUnitValidatorTest()
    • Method Detail

      • setup

        public void setup()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIsInvalidASUDates

        public void testIsInvalidASUDates()
                                   throws java.text.ParseException
        Throws:
        java.text.ParseException
      • testIsSameASUDates

        public void testIsSameASUDates()
                                throws java.text.ParseException
        Throws:
        java.text.ParseException
      • testIsValidASUDates

        public void testIsValidASUDates()
                                 throws java.text.ParseException
        Throws:
        java.text.ParseException
      • testIsValidASU

        public void testIsValidASU()
      • testIsCompatibleUnitConversion

        public void testIsCompatibleUnitConversion()
      • testIsOfNumericTypeOnly

        public void testIsOfNumericTypeOnly()
      • testInvalidPSCV

        public void testInvalidPSCV()
      • testInvalidCompatibleUnitConversion

        public void testInvalidCompatibleUnitConversion()