Class AbstractComponentTypeFacadeIntegrationTest


  • public class AbstractComponentTypeFacadeIntegrationTest
    extends java.lang.Object
    • Constructor Detail

      • AbstractComponentTypeFacadeIntegrationTest

        public AbstractComponentTypeFacadeIntegrationTest()
    • Method Detail

      • setup

        public void setup()
      • addTruthyType

        protected void addTruthyType​(java.lang.String typeCode,
                                     java.lang.String category,
                                     java.util.List<ComponentTypeAttributeData> attributes)
      • newAttribute

        protected ComponentTypeAttributeData newAttribute​(java.lang.String qualifier,
                                                          java.lang.String cmsStructureType)
      • shouldGetCategoryPageComponentType_FromAllTypes

        public void shouldGetCategoryPageComponentType_FromAllTypes()
      • assertAvailableComponentTypeData

        protected void assertAvailableComponentTypeData​(ComponentTypeData componentTypeData)
      • assertPage

        protected void assertPage​(ComponentTypeData pageType,
                                  java.lang.String typeCode)
      • getI18nKey

        protected java.lang.String getI18nKey​(java.lang.String typeCode)
      • assertPageTypeAttributes

        protected void assertPageTypeAttributes​(ComponentTypeData pageType)
        Compares the page type attributes with the expected list of attributes defined in the typeBluePrint. Assertion passes when the content and sizes for the page type attributes and the expected list of attributes matches.
        Parameters:
        pageType - the page type containing the attributes to be validated
      • getComponentTypeAttributeQualifiers

        protected java.util.List<java.lang.String> getComponentTypeAttributeQualifiers​(java.util.List<ComponentTypeAttributeData> attributes)