Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

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 Wed Mar 20 07:11:03 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8