Commit graph

6 commits

Author SHA1 Message Date
Alexandre Gaigalas
88f0d82cce Improved several tests, fixed bug on Arr::check() that was calling methods on non-objects 2011-10-05 20:05:36 -03:00
Alexandre Gomes Gaigalas
5d7a9e191d Removed AtLeast and MostOf (pointless validators). Lots of fixes and new tests and assertions. >96% code coverage achieved. 2011-04-27 20:41:12 -03:00
Alexandre
895ce93ed1 - Splitted up ValidationException into simple exceptions and composite exceptions
- Changed the string formater from sprintf to custom function. Exception parameters should be more readable now.
	- Several refactorings on the exception reporting model
	- Improved builders ( new v(array('int', 'positive', 'between'=>array(1,256))); is now possible, great for dependency injection.
	Note: There are nasty things on this commit. Duplicated code, orphan methods and such. Next step is a nice quality-wide refactoring.
2011-02-10 18:49:48 -02:00
Alexandre Gomes Gaigalas
9a5536dd69 Several new validators (Int, In, Negative, Positive, String). Refactored Length to work with strings and arrays. Better tests for several validators. Updated README and PEAR package file. 2010-12-07 17:17:43 -02:00
Alexandre Gomes Gaigalas
42999f796a Very unstable commit. Lot of changes to the exception model. 2010-12-02 19:04:10 -02:00
Alexandre Gomes Gaigalas
2408730f48 Changed the Exceptions to Match Rules names 2010-11-30 13:36:04 -02:00
Renamed from tests/library/Respect/Validation/Rules/DigitTest.php (Browse further)