Class EdmAnnotationUtilsUnitTest


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

      • EdmAnnotationUtilsUnitTest

        public EdmAnnotationUtilsUnitTest()
    • Method Detail

      • testEntityIsPartOf

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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