RedBeanModelRelationsTest Class Reference

Inheritance diagram for RedBeanModelRelationsTest:
BaseTest

Public Member Functions

 testSetupAllKindsOfRelations ()
 testOneToOneAndBelongsToRelations ()
 testGetErrorsOnOneToOneRelationsWhenThereAreNoErrors ()
 testValidateAndGetErrorsOnOneToOneRelationsWhenThereAreNoErrors ()
 testValidateAndGetErrorsOnOneToOneRelationsWhenThereAreErrorsOnBothSides ()
 testSaveOnOneToOneRelationsWithAndWithoutErrorsAndValidation ()
 testOneToManyAndBelongsToRelations ()
 testGetErrorsOnOneToManyRelationsWhenThereAreNoErrors ()
 testValidateAndGetErrorsOnOneToManyRelationsWhenThereAreNoErrors ()
 testValidateAndGetErrorsOnOneToManyRelationsWhenThereAreErrorsOnBothSides ()
 testSaveOnOneToManyRelationsWithAndWithoutErrorsAndValidation ()
 testManyToManyRelations ()
 testGetErrorsOnManyToManyRelationsWhenThereAreNoErrors ()
 testValidateAndGetErrorsOnManyToManyRelationsWhenThereAreNoErrors ()
 testValidateAndGetErrorsOnManyToManyRelationsWhenThereAreErrorsOnBothSides ()
 testSaveOnManyToManyRelationsWithAndWithoutErrorsAndValidation ()
 testForgettingModelsAndManyRelations ()
 testMemberMemberOfRelation ()
 testChangingBelongsToSideOfHasManyRelation ()

Static Public Member Functions

static getDependentTestModelClassNames ()

Data Fields

const MANY_COUNT = 10

Detailed Description

Definition at line 48 of file RedBeanModelRelationsTest.php.


Member Function Documentation

testOneToOneAndBelongsToRelations (  ) 

testSetupAllKindsOfRelations

Definition at line 90 of file RedBeanModelRelationsTest.php.

testGetErrorsOnOneToOneRelationsWhenThereAreNoErrors (  ) 

testOneToOneAndBelongsToRelations

Definition at line 105 of file RedBeanModelRelationsTest.php.

testValidateAndGetErrorsOnOneToOneRelationsWhenThereAreNoErrors (  ) 

testOneToOneAndBelongsToRelations

Definition at line 115 of file RedBeanModelRelationsTest.php.

testValidateAndGetErrorsOnOneToOneRelationsWhenThereAreErrorsOnBothSides (  ) 

testValidateAndGetErrorsOnOneToOneRelationsWhenThereAreNoErrors

Definition at line 127 of file RedBeanModelRelationsTest.php.

testSaveOnOneToOneRelationsWithAndWithoutErrorsAndValidation (  ) 

testValidateAndGetErrorsOnOneToOneRelationsWhenThereAreErrorsOnBothSides

Definition at line 155 of file RedBeanModelRelationsTest.php.

testOneToManyAndBelongsToRelations (  ) 

testSetupAllKindsOfRelations

Definition at line 183 of file RedBeanModelRelationsTest.php.

testGetErrorsOnOneToManyRelationsWhenThereAreNoErrors (  ) 

testOneToManyAndBelongsToRelations

Definition at line 199 of file RedBeanModelRelationsTest.php.

testValidateAndGetErrorsOnOneToManyRelationsWhenThereAreNoErrors (  ) 

testOneToManyAndBelongsToRelations

Definition at line 209 of file RedBeanModelRelationsTest.php.

testValidateAndGetErrorsOnOneToManyRelationsWhenThereAreErrorsOnBothSides (  ) 

testValidateAndGetErrorsOnOneToManyRelationsWhenThereAreNoErrors

Definition at line 221 of file RedBeanModelRelationsTest.php.

testSaveOnOneToManyRelationsWithAndWithoutErrorsAndValidation (  ) 

testValidateAndGetErrorsOnOneToManyRelationsWhenThereAreErrorsOnBothSides

Definition at line 249 of file RedBeanModelRelationsTest.php.

testManyToManyRelations (  ) 

testSetupAllKindsOfRelations

Definition at line 272 of file RedBeanModelRelationsTest.php.

testGetErrorsOnManyToManyRelationsWhenThereAreNoErrors (  ) 

testManyToManyRelations

Definition at line 301 of file RedBeanModelRelationsTest.php.

testValidateAndGetErrorsOnManyToManyRelationsWhenThereAreNoErrors (  ) 

testManyToManyRelations

Definition at line 311 of file RedBeanModelRelationsTest.php.

testValidateAndGetErrorsOnManyToManyRelationsWhenThereAreErrorsOnBothSides (  ) 

testValidateAndGetErrorsOnManyToManyRelationsWhenThereAreNoErrors

Definition at line 323 of file RedBeanModelRelationsTest.php.

testSaveOnManyToManyRelationsWithAndWithoutErrorsAndValidation (  ) 

testValidateAndGetErrorsOnManyToManyRelationsWhenThereAreErrorsOnBothSides

Definition at line 351 of file RedBeanModelRelationsTest.php.

testForgettingModelsAndManyRelations (  ) 

testOneToManyAndBelongsToRelations testManyToManyRelations

Definition at line 382 of file RedBeanModelRelationsTest.php.

testMemberMemberOfRelation (  ) 

MemberOf/Members attribute names are i and is.

Definition at line 403 of file RedBeanModelRelationsTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Apr 27 07:10:29 2017