PHP Class Phalcon\Test\Unit\Mvc\ModelTest

Author: Andres Gutierrez ([email protected])
Author: Serghei Iakovlev ([email protected])
Author: Wojciech Ślawski ([email protected])
Inheritance: extends Phalcon\Test\Module\UnitTest
Afficher le fichier Open project: phalcon/cphalcon

Méthodes publiques

Méthode Description
testBehaviorsSoftDelete ( )
testBehaviorsTimestampable ( )
testCamelCaseRelation ( )
testEmptyConditions ( ) Tests find with empty conditions + bind and limit.
testFindersNormal ( )
testFindersRenamed ( )
testGettersAndSetters ( )
testInvalidVirtualForeignKeys ( ) Tests virtual foreign keys.
testJsonSerialize ( )
testMassAssignmentNormal ( )
testMassAssignmentRenamed ( )
testMultiRelationColumn ( ) Tests Model::hasMany by using multi relation column
testReusableRelation ( ) Tests reusing Model relation
testSerialize ( )
testSerializeSnapshotCache ( ) Tests serializing model while using cache and keeping snapshots
testSnapshotNormal ( )
testSnapshotNormalComplex ( )
testSnapshotRenamed ( )

Méthodes protégées

Méthode Description
_before ( )

Method Details

_before() protected méthode

protected _before ( )

testBehaviorsSoftDelete() public méthode

testBehaviorsTimestampable() public méthode

testCamelCaseRelation() public méthode

testEmptyConditions() public méthode

Tests find with empty conditions + bind and limit.
Since: 2016-07-29
Author: Serghei Iakovlev ([email protected])
public testEmptyConditions ( )

testFindersNormal() public méthode

public testFindersNormal ( )

testFindersRenamed() public méthode

public testFindersRenamed ( )

testGettersAndSetters() public méthode

testInvalidVirtualForeignKeys() public méthode

When having multiple virtual foreign keys, check of the first one should affect the check of the next one.
Since: 2016-08-03
Author: Radek Crlik ([email protected])

testJsonSerialize() public méthode

public testJsonSerialize ( )

testMassAssignmentNormal() public méthode

testMassAssignmentRenamed() public méthode

testMultiRelationColumn() public méthode

Tests Model::hasMany by using multi relation column
Since: 2016-08-02
Author: Serghei Iakovlev ([email protected])

testReusableRelation() public méthode

Tests reusing Model relation
Since: 2016-08-03
Author: Serghei Iakovlev ([email protected])

testSerialize() public méthode

public testSerialize ( )

testSerializeSnapshotCache() public méthode

The snapshot should be saved while using cache
Since: 2016-08-26
Author: Wojciech Ślawski ([email protected])

testSnapshotNormal() public méthode

public testSnapshotNormal ( )

testSnapshotNormalComplex() public méthode

testSnapshotRenamed() public méthode

public testSnapshotRenamed ( )