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

Public Member Functions

 testHasOneToHasOneToHasOne ()
 
 testHasOneToHasOneToHasOneUsingRelatedAttributeName ()
 
 testHasOneToHasManyToHasOne ()
 
 testHasManyToManyManyToHasOne ()
 
 testHasManyToHasOneToHasOne ()
 
 testManyManyToHasManyToHasOne ()
 
 testManyManyToHasOneToHasOne ()
 
 testManyManyToHasOneToHasOneWithMultipleClauses ()
 
 testHasOneBelongsToHasOneToHasOne ()
 
 testHasOneBelongsToHasOneToHasOneWithMultipleClauses ()
 
- 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

Testing recursive nested relation data. This would occur if you are searching across multiple models that span multiple relationships.

See Also
SearchDataProviderMetadataAdapterForRecursiveSearchesTest

Models and relations used in this class

                        III -> hasOne EEE
                          |
                          | CCC hasMany III
                          | III hasOne  CCC
                        CCC -> hasOne EEE
                          |
                          | CCC hasMany BBB
 /-> hasOne EEE           | BBB hasOne  CCC
 |                        |
 |                        |/---> BBB hasOne GGG -> hasOne EEE
 |                        ||
 |                        ||
 FFF <-hasOnehasMany ->  BBB <- manyMany -> DDD -> hasOne EEE
                          |
  FFF hasOne  BBB         | BBB hasMany AAA
  BBB hasMany FFF         | AAA hasOne  BBB
                          |
                          |
                         AAA --- hasOne HHH -> hasOne EEE
                              HHH hasOneBelongsTo AAA

Definition at line 64 of file ModelDataProviderUtilRecursiveDataTest.php.

Member Function Documentation

testHasOneToHasOneToHasOne ( )

AAA -> hasOne -> BBB -> hasOne -> CCC -> hasOne -> EEE

Definition at line 80 of file ModelDataProviderUtilRecursiveDataTest.php.

testHasOneToHasOneToHasOneUsingRelatedAttributeName ( )

AAA -> hasOne -> BBB -> hasOne -> CCC -> hasOne -> EEE Use relatedAttributeName which should function the same as the previous method. This is how the search attributes will get converted.

Definition at line 138 of file ModelDataProviderUtilRecursiveDataTest.php.

testHasOneToHasManyToHasOne ( )

AAA -> hasOne -> BBB -> hasMany -> FFF -> hasOne -> EEE testHasOneToHasOneToHasOneUsingRelatedAttributeName

Definition at line 193 of file ModelDataProviderUtilRecursiveDataTest.php.

testHasManyToManyManyToHasOne ( )

CCC -> hasMany -> BBB -> ManyMany -> DDD -> hasOne -> EEE testHasOneToHasOneToHasOne

Definition at line 251 of file ModelDataProviderUtilRecursiveDataTest.php.

testHasManyToHasOneToHasOne ( )

CCC -> hasMany -> BBB -> hasOne -> GGG -> hasOne -> EEE testHasManyToManyManyToHasOne

Definition at line 312 of file ModelDataProviderUtilRecursiveDataTest.php.

testManyManyToHasManyToHasOne ( )

DDD -> manyMany -> BBB -> hasMany -> FFF -> hasOne -> EEE testHasManyToHasOneToHasOne

Definition at line 370 of file ModelDataProviderUtilRecursiveDataTest.php.

testManyManyToHasOneToHasOne ( )

DDD -> manyMany -> BBB -> hasOne -> GGG -> hasOne -> EEE testManyManyToHasManyToHasOne

Definition at line 431 of file ModelDataProviderUtilRecursiveDataTest.php.

testManyManyToHasOneToHasOneWithMultipleClauses ( )

DDD -> manyMany -> BBB -> hasOne -> GGG -> hasOne -> EEE (eeeMember and eeeMember2) testManyManyToHasOneToHasOne

Definition at line 492 of file ModelDataProviderUtilRecursiveDataTest.php.

testHasOneBelongsToHasOneToHasOne ( )

HHH -> hasOneBelongsTo -> AAA -> hasOne -> BBB -> hasOne GGG testManyManyToHasOneToHasOneWithMultipleClauses

Definition at line 568 of file ModelDataProviderUtilRecursiveDataTest.php.

testHasOneBelongsToHasOneToHasOneWithMultipleClauses ( )

HHH -> hasOneBelongsTo -> AAA -> hasOne -> BBB -> hasOne GGG (gggMember and gggMember2) testHasOneBelongsToHasOneToHasOne

Definition at line 626 of file ModelDataProviderUtilRecursiveDataTest.php.


The documentation for this class was generated from the following file:
Generated on Mon Apr 6 2020 07:11:13