All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions
RedBeanModelDataProviderTest Class Reference
Inheritance diagram for RedBeanModelDataProviderTest:
DataProviderBaseTest BaseTest

Public Member Functions

 testSearchByCustomFieldWithMultipleValues ()
 
 testSearchByMultipleValuesCustomField ()
 
 testSearchByTwoMultipleValuesCustomField ()
 
 testNullOrEmptyOperatorsInWhereClause ()
 
 testEscapedSingleQuoteInWhereClause ()
 
 testSearchByRelationId ()
 
 testSearchBelongsRelationWhenRelationIsSameModelType ()
 
 testSearchHasManyRelationWhenRelationIsSameModelType ()
 
 testRelatedAttributeNeedsToBeJoinedFromCastedUpModel ()
 
 testRelatedAttributeNeedsToBeJoinedFromFartherCastedUpModel ()
 
 testHasManyRelationSqlQuery ()
 
 testManyManyRelationSqlQuery ()
 
 testOrderByCombinations ()
 
 testResolveSortAttributeColumnName ()
 
 testMoreThanTenClausesProperlyTranslateCorrectlyToQuery ()
 
 testGetDataReturningAllResults ()
 
- Public Member Functions inherited from BaseTest
 setup ()
 
 teardown ()
 

Static Public Member Functions

static setUpBeforeClass ()
 
static getDependentTestModelClassNames ()
 
- Static Public Member Functions inherited from BaseTest
static setUpBeforeClass ()
 
static tearDownAfterClass ()
 
static resetAndPopulateFilesArrayByFilePathAndName ($arrayName, $filePath, $fileName)
 
static getDependentTestModelClassNames ()
 
static getReflectedPropertyValue ($object, $propertyName)
 

Additional Inherited Members

- 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

For data provider work that is not specific to the application.

Definition at line 40 of file RedBeanModelDataProviderTest.php.

Member Function Documentation

testSearchByMultipleValuesCustomField ( )

testSearchByCustomFieldWithMultipleValues

Definition at line 154 of file RedBeanModelDataProviderTest.php.

testSearchByTwoMultipleValuesCustomField ( )

testSearchByMultipleValuesCustomField

Definition at line 211 of file RedBeanModelDataProviderTest.php.

testNullOrEmptyOperatorsInWhereClause ( )

testSearchByTwoMultipleValuesCustomField

Definition at line 263 of file RedBeanModelDataProviderTest.php.

testSearchByRelationId ( )

testEscapedSingleQuoteInWhereClause

Definition at line 390 of file RedBeanModelDataProviderTest.php.

testSearchBelongsRelationWhenRelationIsSameModelType ( )

testSearchByRelationId

Definition at line 468 of file RedBeanModelDataProviderTest.php.

testSearchHasManyRelationWhenRelationIsSameModelType ( )

testSearchBelongsRelationWhenRelationIsSameModelType

Definition at line 497 of file RedBeanModelDataProviderTest.php.

testRelatedAttributeNeedsToBeJoinedFromCastedUpModel ( )

testSearchHasManyRelationWhenRelationIsSameModelType

Definition at line 522 of file RedBeanModelDataProviderTest.php.

testRelatedAttributeNeedsToBeJoinedFromFartherCastedUpModel ( )

testRelatedAttributeNeedsToBeJoinedFromCastedUpModel

Definition at line 545 of file RedBeanModelDataProviderTest.php.

testHasManyRelationSqlQuery ( )

testRelatedAttributeNeedsToBeJoinedFromFartherCastedUpModel

Definition at line 588 of file RedBeanModelDataProviderTest.php.

testManyManyRelationSqlQuery ( )

testHasManyRelationSqlQuery

Definition at line 634 of file RedBeanModelDataProviderTest.php.

testOrderByCombinations ( )

testManyManyRelationSqlQuery See ModelDataProviderUtilTest for more order by testing.

Definition at line 692 of file RedBeanModelDataProviderTest.php.

testResolveSortAttributeColumnName ( )

See ModelDataProviderUtilTest->testResolveSortAttributeColumnName

Definition at line 750 of file RedBeanModelDataProviderTest.php.

testMoreThanTenClausesProperlyTranslateCorrectlyToQuery ( )

testResolveSortAttributeColumnName Issue with more than 10 clauses meaning 11 and 12 can get replaced with the value for 1 and 2. This test demonstrates the problem and also demonstrates the fix by passing.

Definition at line 804 of file RedBeanModelDataProviderTest.php.


The documentation for this class was generated from the following file:
Generated on Thu Jun 4 2020 07:10:58