Class ValidationServiceIntegrationTest

    • Constructor Detail

      • ValidationServiceIntegrationTest

        public ValidationServiceIntegrationTest()
    • Method Detail

      • prepareTest

        public void prepareTest()
      • testLocalizedPropertyForVariantForCustomGroup

        public void testLocalizedPropertyForVariantForCustomGroup()
        test validating a VariantProduct with constraint for a custom group PLA-10962
      • testLocalizedPropertyForVariantForDefaultGroup

        public void testLocalizedPropertyForVariantForDefaultGroup()
        test validating a VariantProduct with constraint for a default group PLA-10962
      • testOneConstraintForProductAndOneForVariantProductValidatingProduct

        public void testOneConstraintForProductAndOneForVariantProductValidatingProduct()
         test case two constraint
         * one for ProductModel.getName() assigned to xxx group
         * second for  ProductModel.getName() assigned to yyy group
        
         validating a  product which violates both of them validating goes
         * for default group no violation should be reported
         * for xx group first violation should be reported
         * for yy group second violation should  be reported
         * for xx,yy group both violation should be reported
         
      • testLocalizedPropertyForProductForDefaultGroup

        public void testLocalizedPropertyForProductForDefaultGroup()
      • testLocalizedPropertyForProductForCustomGroup

        public void testLocalizedPropertyForProductForCustomGroup()
      • shouldValidateAttributeStartingWithUppercaseChar

        public void shouldValidateAttributeStartingWithUppercaseChar()
      • shouldValidateDynamicAttributes

        public void shouldValidateDynamicAttributes()