PHP Class Phalcon\Test\Unit\ValidationTest

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

Protected Properties

Свойство Type Description
$validation Phalcon\Validation

Méthodes publiques

Méthode Description
testFilteringEntity ( ) Tests that filters in validation will correctly filter entity values
testGetDefaultValidationMessageShouldReturnEmptyStringIfNoneIsSet ( )
testValidationFiltering ( )
testValidationSetLabels ( )
testWithEntityAndFilter ( ) Tests validate method with entity and filters

Méthodes protégées

Méthode Description
_before ( ) executed before each test

Method Details

_before() protected méthode

executed before each test
protected _before ( )

testFilteringEntity() public méthode

Tests that filters in validation will correctly filter entity values
Since: 2016-09-26
Author: Wojciech Ślawski ([email protected])
public testFilteringEntity ( )

testGetDefaultValidationMessageShouldReturnEmptyStringIfNoneIsSet() public méthode

testValidationFiltering() public méthode

testValidationSetLabels() public méthode

testWithEntityAndFilter() public méthode

Tests validate method with entity and filters
Since: 2016-09-26
Author: Wojciech Ślawski ([email protected])

Property Details

$validation protected_oe property

protected Validation,Phalcon $validation
Résultat Phalcon\Validation