Commit graph

445 commits

Author SHA1 Message Date
Guilherme Siani 1c254ab682 Refactor "ArrayVal" rule and add integration tests 2015-10-18 18:50:07 -02:00
João Torquato f08a1fa9fc Create "ArrayType" rule 2015-10-18 18:01:11 -02:00
Guilherme Siani 767fcaaccf Create "Iterable" rule 2015-10-18 17:27:25 -02:00
Reginaldo Junior 7398588c56 Create "FloatType" rule 2015-10-18 16:57:49 -02:00
Henrique Moody c84020f7f1 Set timezone for tests that work with dates 2015-10-18 16:22:46 -02:00
Henrique Moody f0d249346f Complete tests for "AbstractRule" class 2015-10-18 16:22:43 -02:00
Henrique Moody 4a0ca6d8b7 Remove unnecessary tests from "RuleTestCase" class
The tests of `assert()` and `check()` method must be done by the
`AbstractRuleTest` instead.
2015-10-18 15:36:47 -02:00
Henrique Moody 4964d561c4 Rename namespace of *TestCase classes 2015-10-18 14:50:59 -02:00
Justin Hook 4145faab39 Create "CurrencyCode" rule 2015-10-18 14:42:39 -02:00
João Torquato a3694241f2 Create "Countable" rule 2015-10-18 11:37:50 -02:00
Henrique Moody 9c49dd3bcf Use short array syntax 2015-10-17 22:56:32 -03:00
Rafael-BP 6fb15a697c Create integration tests for "ObjectType" rule 2015-10-17 22:25:35 -03:00
Felipe Martins cbbf082c15 Increase tests for "CountryCode" rule
- Add alpha-3 and numeric country codes and unit test for it
- Add new integration tests for CountryCode rule alpha-3 and numeric
2015-10-17 22:21:33 -03:00
Edson Lima 31f1f1c25e Create integration tests for "Beetween" rule 2015-10-17 22:16:01 -03:00
Edson Lima 16ad8f804d Create integration tests for "KeyValue" rule 2015-10-17 22:13:45 -03:00
Danilo Correa 5dc5410617 Crete integration tests for "BoolType" rule 2015-10-17 22:09:54 -03:00
Nawarian 85633cd8b0 Create integration tests for "Length" rule 2015-10-17 21:58:25 -03:00
Antonio Spinelli c6638b9ffb Create integration tests for "When" rule 2015-10-17 21:53:43 -03:00
Antonio Spinelli b4a9253a03 Create RuleTestCase
It is a abstract test class to provide simple way to test rules and
create a mock rule.
2015-10-17 21:53:03 -03:00
William Espindola c289b44fe9 Improve integration tests for "Yes" rule 2015-10-17 21:33:40 -03:00
Henrique Moody 59fe72794d Remove integration tests for bank rule 2015-10-17 21:24:47 -03:00
Rogerio Prado de Jesus b1a86e6065 Create integration tests for "Bank" rule
Thanks @gabriercouto and @marcelgsantos for all the words about how to
make it, you guys are amazing :-D.
2015-10-17 18:16:42 -03:00
Gabriel Rodrigues Couto 3c75524cba Create integration tests for "Alpha" rule 2015-10-17 17:46:21 -03:00
Henrique Moody 87604434cf Fix typo on "callableType_4.phpt" test 2015-10-17 17:33:27 -03:00
Rafael-BP 94e552d60c Create integration tests for "CallableType" rule 2015-10-17 17:16:44 -03:00
Gabriel Rodrigues Couto d56905aeba Create Integration tests for "Numeric" rule 2015-10-17 17:10:47 -03:00
Reginaldo Junior 311bd1d762 Create integration tests for "CreditCard" rule 2015-10-17 17:06:18 -03:00
Danilo Correa 68b5cbe94a Create integration tests for "Digit" rule 2015-10-17 17:02:46 -03:00
Emmerson 21c2b4361e Creates integration tests for "Ip" rule 2015-10-17 17:00:11 -03:00
William Espindola 86f4822af3 Create integration test for "Bsn" rule 2015-10-17 16:54:10 -03:00
Marcel dos Santos 1e057c7687 Create integration tests for 'StringType' rule 2015-10-17 16:51:58 -03:00
Nawarian ffd199d2b0 Refactoring unit tests of "Contains" rule 2015-10-17 16:48:17 -03:00
Felipe Martins 141103f085 Improve "CountryCode" rule
Add "alpha-3" and "numeric" country codes and unit test for it.
2015-10-17 16:42:43 -03:00
Guilherme Siani fe17a2a6d8 Increase integration tests of "Alnum" rule
Created integration tests with extra functions of Alnum rule. Also
remove unecessary asserts from the AlnumTest.
2015-10-17 16:31:41 -03:00
Rafael-BP 4e894a7022 Create integration tests of "Optional" rule 2015-10-17 16:10:28 -03:00
Emmerson 24a65d712b Refactor tests of "Cnpj" rule 2015-10-17 16:04:59 -03:00
Alexandre Gaigalas 9c03380f24 Adds partial test suite for AbstractRule 2015-10-17 16:02:12 -03:00
Gabriel Rodrigues Couto 503143a90b Create integration tests for "NotEmpty" rule 2015-10-17 15:49:10 -03:00
Marcel dos Santos 8e6b5f5834 Refactor unit tests for "StringType" rule 2015-10-17 15:45:11 -03:00
Gabriel Rodrigues Couto 6ab3467d69 Create integration tests for "NullType" rule 2015-10-17 15:43:20 -03:00
Felipe Martins 08ce0fa455 Increase integration tests for "CountryCode" rule 2015-10-17 15:31:47 -03:00
Marcel dos Santos 669fd48e58 Create integration tests for "Slug" rule 2015-10-17 15:30:07 -03:00
Paulo Eduardo 0526c14cc9 Create integration tests for "Tld" rule 2015-10-17 15:26:09 -03:00
Guilherme Siani 780cedbec3 Created integration tests for "Alnum" rule 2015-10-17 15:22:08 -03:00
Nawarian Nickolas b8f2f03289 Refactor tests of "Length" rule 2015-10-17 15:09:48 -03:00
Rafael-BP e3a18c6665 Increase tests for "NotOptional" rule 2015-10-17 15:03:03 -03:00
João Torquato cbb0fa74a5 Create integration tests for "MinimumAge" rule 2015-10-17 15:01:21 -03:00
Danilo Correa 2aa368b8c8 Create integration tests from "CNPJ" rule 2015-10-17 14:43:56 -03:00
Gabriel Rodrigues Couto 142486bfcc Create integration tests for "NotBlank" rules 2015-10-17 14:26:58 -03:00
William Espindola ae1dfe6a66 Create integration test for "Yes" rule 2015-10-17 14:24:15 -03:00