SearchUtilTest Class Reference

Inheritance diagram for SearchUtilTest:
BaseTest

Public Member Functions

 testResolveSortFromStickyData ()
 testResolveSearchFormByStickyFilteredByData ()
 testGetSorAttributeFromSortArray ()
 testIsSortDescending ()
 testGetSearchAttributesFromSearchArray ()
 testResolveSearchAttributesFromGetArrayForDynamicSearch ()
 testResolveSearchAttributesFromGetArrayForAnyMixedAttributeScopeName ()
 testGetSearchAttributesFromSearchArrayChangeEmptyArrayValuesToNull ()
 testGetSearchAttributesFromSearchArrayForSavingExistingSearchCriteria ()
 testAdaptSearchAttributesToSetInRedBeanModel ()
 testResolveAnyMixedAttributesScopeForSearchModelFromGetArray ()
 testResolveSelectedListAttributesForSearchModelFromGetArray ()
 testResolveFilterByStarredFromGetArray ()
 testResolveFilteredByFromGetArray ()
 testGetDynamicSearchAttributesFromGetArray ()
 testSanitizeDynamicSearchAttributesByDesignerTypeForSavingModel ()
 testSanitizeDynamicSearchAttributesByDesignerTypeForSavingModelWithNestedAttributes ()
 testSanitizeDynamicSearchAttributesByDesignerTypeForSavingModelWithSanitizableItems ()
 testSanitizeDynamicSearchAttributesByDesignerTypeForSavingModelWithSanitizableItemsNestedSingleLevel ()
 testSanitizeDynamicSearchAttributesByDesignerTypeForSavingModelWithSanitizableItemsNestedNMultipleLevelsDeep ()
 testGetDynamicSearchStructureFromGetArray ()
 testGetSearchAttributesFromSearchArrayWithRecursiveNullResolution ()
 testGetFilteredByFromArray ()

Detailed Description

Definition at line 37 of file SearchUtilTest.php.


Member Function Documentation

testGetSearchAttributesFromSearchArrayChangeEmptyArrayValuesToNull (  ) 

This test is for testing the method SearchUtil::changeEmptyArrayValuesToNull. if a value in the search array for multiselect attribute has an empty element it is removed(eliminated).

Definition at line 221 of file SearchUtilTest.php.

testGetSearchAttributesFromSearchArrayWithRecursiveNullResolution (  ) 

Checks if the empty values are properly converted to null when nested

Definition at line 711 of file SearchUtilTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Nov 24 07:10:29 2017