Method |
Description |
|
providerForValidateConstraintsKO ( ) |
|
|
providerForValidateConstraintsOK ( ) |
|
|
providerForValidateKO ( ) |
|
|
providerForValidateOK ( ) |
|
|
testConstraintsInitializeGet ( ) |
Tests setting and getting constraints. |
|
testConstraintsSetGet ( ) |
Tests setting and getting constraints. |
|
testConstructor ( ) |
This test ensure an StringLengthValidator can be created. |
|
testGetBadConstraint ( ) |
Tests getting a wrong constraint. |
|
testGetConstraintsSchema ( ) |
Test getting constraints schema. |
|
testInitializeBadConstraint ( ) |
Tests initializing with a wrong constraint. |
|
testSetBadConstraint ( ) |
Tests setting a wrong constraint. |
|
testValidateConstraintsCorrectValues ( $constraints ) |
Tests validation of constraints. |
|
testValidateConstraintsWrongValues ( $constraints, $expectedMessages, $values ) |
Tests validation of constraints. |
|
testValidateCorrectValues ( $value ) |
Tests validating a correct value. |
|
testValidateWrongValues ( $value, $messageSingular, $messagePlural, $values ) |
Tests validating a wrong value. |
|