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 ()

Static Public Member Functions

static setUpBeforeClass ()
static getDependentTestModelClassNames ()

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:
 All Data Structures Functions Variables
Generated on Tue May 23 07:10:28 2017