ModelDataProviderUtilRecursiveDataTest Class Reference

Inheritance diagram for ModelDataProviderUtilRecursiveDataTest:
BaseTest

Public Member Functions

 testHasOneToHasOneToHasOne ()
 testHasOneToHasOneToHasOneUsingRelatedAttributeName ()
 testHasOneToHasManyToHasOne ()
 testHasManyToManyManyToHasOne ()
 testHasManyToHasOneToHasOne ()
 testManyManyToHasManyToHasOne ()
 testManyManyToHasOneToHasOne ()
 testManyManyToHasOneToHasOneWithMultipleClauses ()
 testHasOneBelongsToHasOneToHasOne ()
 testHasOneBelongsToHasOneToHasOneWithMultipleClauses ()

Static Public Member Functions

static setUpBeforeClass ()
static getDependentTestModelClassNames ()

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:
 All Data Structures Functions Variables
Generated on Wed Mar 22 07:10:27 2017