All Data Structures Functions Variables Pages
Public Member Functions
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 ()
 
- Public Member Functions inherited from BaseTest
 setup ()
 
 teardown ()
 

Additional Inherited Members

- Static Public Member Functions inherited from BaseTest
static setUpBeforeClass ()
 
static tearDownAfterClass ()
 
static resetAndPopulateFilesArrayByFilePathAndName ($arrayName, $filePath, $fileName)
 
static getDependentTestModelClassNames ()
 
static getReflectedPropertyValue ($object, $propertyName)
 
- Static Public Attributes inherited from BaseTest
static $activateDefaultLanguages = false
 
- Protected Member Functions inherited from BaseTest
 assertWithinTolerance ($expected, $actual, $plusMinus)
 
 assertWithinPercentage ($expected, $actual, $percentage)
 
 isDebug ()
 
- Static Protected Member Functions inherited from BaseTest
static getProtectedMethod ($className, $methodName)
 

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:
Generated on Thu Jan 23 2020 07:10:43