Class AverageServiceUsageUnitValidatorTest

java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTest
de.hybris.platform.servicelayer.ServicelayerTransactionalTest
de.hybris.platform.validation.model.constraints.jsr303.AbstractConstraintTest
de.hybris.platform.b2ctelcoservices.constraints.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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    void
     
    void
     
    void
     
    void
     
    void
     
    void
     
    void
     

    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 Details

    • AverageServiceUsageUnitValidatorTest

      public AverageServiceUsageUnitValidatorTest()
  • Method Details

    • setup

      public void setup() throws Exception
      Throws:
      Exception
    • testIsInvalidASUDates

      public void testIsInvalidASUDates() throws ParseException
      Throws:
      ParseException
    • testIsSameASUDates

      public void testIsSameASUDates() throws ParseException
      Throws:
      ParseException
    • testIsValidASUDates

      public void testIsValidASUDates() throws ParseException
      Throws:
      ParseException
    • testIsValidASU

      public void testIsValidASU()
    • testIsCompatibleUnitConversion

      public void testIsCompatibleUnitConversion()
    • testIsOfNumericTypeOnly

      public void testIsOfNumericTypeOnly()
    • testInvalidPSCV

      public void testInvalidPSCV()
    • testInvalidCompatibleUnitConversion

      public void testInvalidCompatibleUnitConversion()