Class PrimitivePropertyProcessorUnitTest


  • @UnitTest
    public class PrimitivePropertyProcessorUnitTest
    extends java.lang.Object
    • Constructor Detail

      • PrimitivePropertyProcessorUnitTest

        public PrimitivePropertyProcessorUnitTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • testIsPropertySupportedWithPrimitiveCollection

        public void testIsPropertySupportedWithPrimitiveCollection()
      • testIsPropertySupportedWithNonPrimitiveCollection

        public void testIsPropertySupportedWithNonPrimitiveCollection()
      • testIsPropertySupportedWithPrimitiveNotCollection

        public void testIsPropertySupportedWithPrimitiveNotCollection()
      • testIsPropertySupportedWithNotPrimitiveNotCollection

        public void testIsPropertySupportedWithNotPrimitiveNotCollection()
      • testItemWithNoProperties

        public void testItemWithNoProperties()
                                      throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • testProcessItemWithNoSupportedProperties

        public void testProcessItemWithNoSupportedProperties()
                                                      throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • testProcessItemWithSupportedPropertiesNoSettableProperties

        public void testProcessItemWithSupportedPropertiesNoSettableProperties()
                                                                        throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • testProcessItemWithSupportedPropertiesWithSettableProperties

        public void testProcessItemWithSupportedPropertiesWithSettableProperties()
                                                                          throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • testProcessItemWithKeyPropertyForExistingItemNotSetAgainstItemModel

        public void testProcessItemWithKeyPropertyForExistingItemNotSetAgainstItemModel()
                                                                                 throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • testProcessItemWithKeyPropertyForNewItemSetAgainstItemModel

        public void testProcessItemWithKeyPropertyForNewItemSetAgainstItemModel()
                                                                         throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • testProcessItemWithNonKeyPropertyForExistingItemSetAgainstItemModel

        public void testProcessItemWithNonKeyPropertyForExistingItemSetAgainstItemModel()
                                                                                 throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • testProcessItemWithIntegrationKeyPresent

        public void testProcessItemWithIntegrationKeyPresent()
                                                      throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • testProcessesCharValueForCharProperty

        public void testProcessesCharValueForCharProperty()
                                                   throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • testProcessesOneCharacterLongStringValueForCharProperty

        public void testProcessesOneCharacterLongStringValueForCharProperty()
                                                                     throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • testProcessMoreThanOneCharacterLongStringValueForCharPropertyThrowsException

        public void testProcessMoreThanOneCharacterLongStringValueForCharPropertyThrowsException()
                                                                                          throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • testProcessesNullValueForCharProperty

        public void testProcessesNullValueForCharProperty()
                                                   throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • testProcessesEmptyValueForCharPropertyThrowsException

        public void testProcessesEmptyValueForCharPropertyThrowsException()
                                                                   throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • testProcessEntityWithNoSupportedProperties

        public void testProcessEntityWithNoSupportedProperties()
                                                        throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • testProcessEntityWithNoProperties

        public void testProcessEntityWithNoProperties()
                                               throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • testProcessEntityWithSupportedAndSettableProperties

        public void testProcessEntityWithSupportedAndSettableProperties()
                                                                 throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • testProcessEntityAttributeDescriptorNotFoundExceptionIsRethrown

        public void testProcessEntityAttributeDescriptorNotFoundExceptionIsRethrown()
                                                                             throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • testProcessItemAttributeDescriptorNotFoundExceptionIsRethrown

        public void testProcessItemAttributeDescriptorNotFoundExceptionIsRethrown()
                                                                           throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException