PHP Class Sokil\Mongo\DocumentRelationTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: sokil/php-mongo

Méthodes publiques

Méthode Description
setUp ( )
tearDown ( )
testAddRelation_Belongs ( )
testAddRelation_HasMany ( )
testAddRelation_HasOne ( )
testAddRelation_ManyMany ( )
testAddRelation_WronkRelationType ( )
testGetRelated_Belongs ( ) B -> BELONGS -> A
testGetRelated_Belongs_Cache ( )
testGetRelated_Belongs_EmptyRelation ( ) B -> BELONGS -> A
testGetRelated_HasMany ( ) A -> HAS_MANY -> B
testGetRelated_HasMany_EmptyRelation ( ) A -> HAS_MANY -> B
testGetRelated_HasOne ( ) A -> HAS_ONE -> B
testGetRelated_HasOne_DisabledDocumentPool ( ) A -> HAS_ONE -> B
testGetRelated_HasOne_EmptyRelation ( ) A -> HAS_ONE -> B
testGetRelated_ManyMany_RequestFromCollectionWithLocalyStoredRelationData ( )
testGetRelated_ManyMany_RequestFromCollectionWithoutLocalyStoredRelationData ( )
testGetRelated_WrongRelationType ( )
testRelationDefinitionInMapping ( )
testRemoveRelation_Belongs ( )
testRemoveRelation_HasMany ( )
testRemoveRelation_HasOne ( )
testRemoveRelation_ManyMany ( )
testRemoveRelation_WronkRelationType ( )
testUnconsistedState ( )

Method Details

setUp() public méthode

public setUp ( )

tearDown() public méthode

public tearDown ( )

testAddRelation_Belongs() public méthode

testAddRelation_HasMany() public méthode

testAddRelation_HasOne() public méthode

testAddRelation_ManyMany() public méthode

testAddRelation_WronkRelationType() public méthode

testGetRelated_Belongs() public méthode

B -> BELONGS -> A

testGetRelated_Belongs_Cache() public méthode

testGetRelated_Belongs_EmptyRelation() public méthode

B -> BELONGS -> A

testGetRelated_HasMany() public méthode

A -> HAS_MANY -> B

testGetRelated_HasMany_EmptyRelation() public méthode

A -> HAS_MANY -> B

testGetRelated_HasOne() public méthode

A -> HAS_ONE -> B

testGetRelated_HasOne_DisabledDocumentPool() public méthode

A -> HAS_ONE -> B

testGetRelated_HasOne_EmptyRelation() public méthode

A -> HAS_ONE -> B

testGetRelated_ManyMany_RequestFromCollectionWithLocalyStoredRelationData() public méthode

testGetRelated_ManyMany_RequestFromCollectionWithoutLocalyStoredRelationData() public méthode

testGetRelated_WrongRelationType() public méthode

testRelationDefinitionInMapping() public méthode

testRemoveRelation_Belongs() public méthode

testRemoveRelation_HasMany() public méthode

testRemoveRelation_HasOne() public méthode

testRemoveRelation_ManyMany() public méthode

testRemoveRelation_WronkRelationType() public méthode

testUnconsistedState() public méthode