Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-10-11 | Clean up form validation tests | Zach Ploskey | 1 | -21/+21 | |
Remove a number unnecessary calls to reset_validation(). A new form_validation object is already initialized for every test in set_up(), so these lines do nothing unless multiple validations are done in the same test. Explicitly empty the $_POST array after each test that modifies it. Signed-off-by: Zach Ploskey <zach@ploskey.com> | |||||
2017-10-06 | Fix issue 5202 | Zach Ploskey | 1 | -0/+14 | |
Fix attempting to access data_ref before it is defined when validating an array input with multiple explicitly specified keys. Adds a test for the issue. Signed-off-by: Zach Ploskey <zach@ploskey.com> | |||||
2017-06-22 | Implement #2436 (access to FV processed data) | Andrey Andreev | 1 | -0/+18 | |
2017-06-21 | Implement #193: Validating entire arrays in a single function call | Andrey Andreev | 1 | -1/+7 | |
2017-06-19 | Merge branch '3.1-stable' into develop | Andrey Andreev | 1 | -0/+1 | |
Conflicts resolved: system/core/CodeIgniter.php tests/codeigniter/libraries/Form_validation_test.php user_guide_src/source/changelog.rst user_guide_src/source/conf.py user_guide_src/source/installation/downloads.rst user_guide_src/source/installation/upgrading.rst | |||||
2017-06-19 | [ci skip] Fix a bug in FV valid_email() | Andrey Andreev | 1 | -1/+1 | |
2017-03-24 | Merge branch '3.1-stable' into develop | Andrey Andreev | 1 | -2/+14 | |
Conflicts resolved: system/core/CodeIgniter.php system/core/Common.php system/core/Input.php system/helpers/cookie_helper.php tests/codeigniter/helpers/html_helper_test.php user_guide_src/source/changelog.rst user_guide_src/source/conf.py user_guide_src/source/installation/downloads.rst user_guide_src/source/installation/upgrading.rst user_guide_src/source/libraries/input.rst | |||||
2017-01-19 | Fix byte-safety issues & actually test for them | Andrey Andreev | 1 | -2/+14 | |
2017-01-06 | Add valid_mac() FV rule | Andrey Andreev | 1 | -2/+13 | |
Close #3992 | |||||
2016-12-14 | Move csrf_verify() call out of CI_Input | Andrey Andreev | 3 | -5/+6 | |
2016-12-14 | Isolate CI_Security instantiation from CI_Input; improve tests | Andrey Andreev | 1 | -3/+1 | |
2016-12-01 | Remove previously deprecated FV Library method/rule prep_for_form() | Andrey Andreev | 1 | -14/+0 | |
2016-10-20 | FV: throw BadMethodCallException when set_rules() called without | Andrey Andreev | 1 | -0/+6 | |
2016-08-22 | Skip mcrypt-related testcases on PHP 7.1 | Andrey Andreev | 2 | -2/+14 | |
ext/mcrypt is deprecated and the test cases in question trigger E_DEPRECATED messages as a result. | |||||
2016-08-10 | Add changelog entry and a test case for #4758 | Andrey Andreev | 1 | -0/+3 | |
2016-08-10 | Use getMockBuilder() in PHPUnit instead of the deprecated getMock() | Andrey Andreev | 4 | -9/+9 | |
2016-07-28 | Remove dead code written for PHP 5.2 | Andrey Andreev | 1 | -8/+4 | |
2016-05-25 | Fix #4639 | Andrey Andreev | 1 | -2/+13 | |
Really fix #4633 | |||||
2016-05-17 | Fix #4633 | Andrey Andreev | 1 | -1/+1 | |
2016-03-12 | Fix #4516 | Andrey Andreev | 1 | -0/+10 | |
2016-01-30 | Fix #4415 and add unit tests for https://bugs.php.net/bug.php?id=51192 | Andrey Andreev | 1 | -0/+7 | |
2016-01-11 | Alter a valid URL test | Andrey Andreev | 1 | -1/+1 | |
2015-08-03 | [ci skip] Normalize tabs/spaces | Andrey Andreev | 1 | -5/+6 | |
Partial changes from PR #4016 | |||||
2015-04-01 | [ci skip] Whitespace cleanup following PR #3716 | Andrey Andreev | 1 | -29/+29 | |
2015-04-01 | Style changes and variable name changes | David Woods | 1 | -22/+21 | |
2015-03-30 | Fix for parsing error in PHP 5.2 and 5.3 | David Woods | 1 | -1/+2 | |
2015-03-30 | Corrected unit tests for set_select, set_radio, and set_checkbox | David Woods | 1 | -32/+27 | |
Coverage now at ~75% | |||||
2015-03-30 | Added more unit tests to CI_Form_validation | David Woods | 1 | -0/+147 | |
Unit tests for set_select, set_checkbox, and set_radio currently all fail for the same reason. Signed-off-by: David Woods <d.woods92@gmail.com> | |||||
2015-03-28 | Added more units tests for Form_validation | David Woods | 1 | -2/+108 | |
Up to 65% coverage Signed-off-by: David Woods <d.woods92@gmail.com> | |||||
2015-03-26 | Polish changes from PR #3678 | Andrey Andreev | 1 | -91/+63 | |
... and make it run on 5.2. | |||||
2015-03-22 | Corrected invalid matches, differs, and set_data test cases | David Woods | 1 | -34/+61 | |
Signed-off-by: David Woods <d.woods92@gmail.com> | |||||
2015-03-21 | Changed scenario based tests to unit tests | David Woods | 1 | -148/+175 | |
Added tests for set_data() & set_message() Signed-off-by: David Woods <d.woods92@gmail.com> | |||||
2015-03-18 | Switched spaces to tabs on the few lines that were missed from previous ↵ | David Woods | 1 | -7/+7 | |
refactors Signed-off-by: David Woods <d.woods92@gmail.com> | |||||
2015-03-18 | Fixed bug of clearing POST array before every test. | David Woods | 1 | -12/+14 | |
Signed-off-by: David Woods <d.woods92@gmail.com> | |||||
2015-03-18 | Corrected incorrect assertion in test_rule_valid_base64 | David Woods | 1 | -1/+1 | |
Signed-off-by: David Woods <d.woods92@gmail.com> | |||||
2015-03-18 | Corrected match, differs, base64, and valid_url test cases. | David Woods | 1 | -307/+310 | |
Also changed spaces to tabs Signed-off-by: David Woods <d.woods92@gmail.com> | |||||
2015-03-17 | Corrected an invalid test case | David Woods | 1 | -2/+2 | |
Signed-off-by: David Woods <d.woods92@gmail.com> | |||||
2015-03-17 | Reformatted unit tests for easier debugging | David Woods | 1 | -114/+265 | |
Signed-off-by: David Woods <d.woods92@gmail.com> | |||||
2015-03-17 | Fixed bugs in form_validation for methods matches, differs, and valid_base64. | David Woods | 1 | -4/+132 | |
Implemented tests for valid and invalid inputs for all basic rules available for form_validation. The invalid input data currently doesn't pass all tests. Signed-off-by: David Woods <d.woods92@gmail.com> | |||||
2015-03-17 | Created setup and construct for Form_Validation unit test | David Woods | 1 | -0/+35 | |
Signed-off-by: David Woods <d.woods92@gmail.com> | |||||
2014-11-11 | Fix merge conflicts | Andrey Andreev | 1 | -3/+4 | |
2014-11-07 | Fix #3317 ... MCrypt sucks | Andrey Andreev | 1 | -3/+4 | |
2014-10-05 | Merge branch 'develop' into feature/session | Andrey Andreev | 2 | -34/+9 | |
2014-08-14 | Skip CI_Encrypt tests if MCrypt is not available | Andrey Andreev | 1 | -26/+8 | |
Rel: #3185 | |||||
2014-06-19 | Remove the custom IV option from CI_Encryption | Andrey Andreev | 1 | -8/+1 | |
It serves for no practical purpose and can only do harm. | |||||
2014-06-02 | Disable session tests | Andrey Andreev | 1 | -0/+14 | |
2014-05-01 | PHPUnit, what's wrong with you? | Andrey Andreev | 1 | -2/+0 | |
2014-03-04 | CI_Encryption: Remove MCrypt 'work-arounds' for CAST-128 compatibility | Andrey Andreev | 1 | -12/+4 | |
Turns out it's OpenSSL's fault for performing 16 rounds instead of 12 for key sizes of 5-11 bytes. Reference: http://tools.ietf.org/rfc/rfc2144.txt | |||||
2014-02-21 | Add test cases for CI_Upload::__construct(), CI_Upload::initialize() | Andrey Andreev | 1 | -3/+44 | |
2014-02-21 | CI_Upload changes | Andrey Andreev | 1 | -6/+0 | |
- Method chaining support. - A more abstract resetting of the default settings. - Added an option to initialize() to disable resetting to default settings. - Removed method mimes_types() and slightly optimized chunks of code where it was used. - Added the ability to pass allowed_types as an array. |