This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/tests/Symfony/Tests/Component/Validator
Bernhard Schussek a30a679135 [Validator] Made ExecutionContext immutable and introduced new class GlobalExecutionContext
A new ExecutionContext is now created everytime that GraphWalker::walkConstraint() is
launched. Because of this, a validator B launched from within a validator A can't break
A anymore by changing the context.

Because we have a new ExecutionContext for every constraint validation, there is no point
in modifying its state anymore. Because of this it is now immutable.
2012-01-31 21:35:48 +01:00
..
Constraints [Validator] Made ExecutionContext immutable and introduced new class GlobalExecutionContext 2012-01-31 21:35:48 +01:00
Fixtures [Validator] Made ExecutionContext immutable and introduced new class GlobalExecutionContext 2012-01-31 21:35:48 +01:00
Mapping [CS] Fix usage of assertCount 2012-01-18 14:42:47 +01:00
ConstraintTest.php Increase code coverage for: YamlParser, Validators, PhpEngine + Helpers, HttpFoundation 2011-06-16 11:43:27 +02:00
ConstraintViolationListTest.php [Validator] Made ExecutionContext immutable and introduced new class GlobalExecutionContext 2012-01-31 21:35:48 +01:00
ExecutionContextTest.php [Validator] Made ExecutionContext immutable and introduced new class GlobalExecutionContext 2012-01-31 21:35:48 +01:00
GlobalExecutionContextTest.php [Validator] Made ExecutionContext immutable and introduced new class GlobalExecutionContext 2012-01-31 21:35:48 +01:00
GraphWalkerTest.php [Validator] Made ExecutionContext immutable and introduced new class GlobalExecutionContext 2012-01-31 21:35:48 +01:00
ValidatorContextTest.php Add missing "tearDown" functions, and some missing variable declaration (this saves for me almost 20MB when run all tests) 2011-06-16 15:06:36 +02:00
ValidatorFactoryTest.php Add missing "tearDown" functions, and some missing variable declaration (this saves for me almost 20MB when run all tests) 2011-06-16 15:06:36 +02:00
ValidatorTest.php [Validator] Fixed: GraphWalker does not add constraint violation if error message is empty 2012-01-30 20:56:10 +01:00