summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/libraries
AgeCommit message (Collapse)AuthorFilesLines
2016-12-01Remove previously deprecated FV Library method/rule prep_for_form()Andrey Andreev1-14/+0
2016-10-20FV: throw BadMethodCallException when set_rules() called withoutAndrey Andreev1-0/+6
2016-08-22Skip mcrypt-related testcases on PHP 7.1Andrey Andreev2-2/+14
ext/mcrypt is deprecated and the test cases in question trigger E_DEPRECATED messages as a result.
2016-08-10Add changelog entry and a test case for #4758Andrey Andreev1-0/+3
2016-08-10Use getMockBuilder() in PHPUnit instead of the deprecated getMock()Andrey Andreev4-9/+9
2016-07-28Remove dead code written for PHP 5.2Andrey Andreev1-8/+4
2016-05-25Fix #4639Andrey Andreev1-2/+13
Really fix #4633
2016-05-17Fix #4633Andrey Andreev1-1/+1
2016-03-12Fix #4516Andrey Andreev1-0/+10
2016-01-30Fix #4415 and add unit tests for https://bugs.php.net/bug.php?id=51192Andrey Andreev1-0/+7
2016-01-11Alter a valid URL testAndrey Andreev1-1/+1
2015-08-03[ci skip] Normalize tabs/spacesAndrey Andreev1-5/+6
Partial changes from PR #4016
2015-04-01[ci skip] Whitespace cleanup following PR #3716Andrey Andreev1-29/+29
2015-04-01Style changes and variable name changesDavid Woods1-22/+21
2015-03-30Fix for parsing error in PHP 5.2 and 5.3David Woods1-1/+2
2015-03-30Corrected unit tests for set_select, set_radio, and set_checkboxDavid Woods1-32/+27
Coverage now at ~75%
2015-03-30Added more unit tests to CI_Form_validationDavid Woods1-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-28Added more units tests for Form_validationDavid Woods1-2/+108
Up to 65% coverage Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-26Polish changes from PR #3678Andrey Andreev1-91/+63
... and make it run on 5.2.
2015-03-22Corrected invalid matches, differs, and set_data test casesDavid Woods1-34/+61
Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-21Changed scenario based tests to unit testsDavid Woods1-148/+175
Added tests for set_data() & set_message() Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-18Switched spaces to tabs on the few lines that were missed from previous ↵David Woods1-7/+7
refactors Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-18Fixed bug of clearing POST array before every test.David Woods1-12/+14
Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-18Corrected incorrect assertion in test_rule_valid_base64David Woods1-1/+1
Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-18Corrected match, differs, base64, and valid_url test cases.David Woods1-307/+310
Also changed spaces to tabs Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-17Corrected an invalid test caseDavid Woods1-2/+2
Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-17Reformatted unit tests for easier debuggingDavid Woods1-114/+265
Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-17Fixed bugs in form_validation for methods matches, differs, and valid_base64.David Woods1-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-17Created setup and construct for Form_Validation unit testDavid Woods1-0/+35
Signed-off-by: David Woods <d.woods92@gmail.com>
2014-11-11Fix merge conflictsAndrey Andreev1-3/+4
2014-11-07Fix #3317 ... MCrypt sucksAndrey Andreev1-3/+4
2014-10-05Merge branch 'develop' into feature/sessionAndrey Andreev2-34/+9
2014-08-14Skip CI_Encrypt tests if MCrypt is not availableAndrey Andreev1-26/+8
Rel: #3185
2014-06-19Remove the custom IV option from CI_EncryptionAndrey Andreev1-8/+1
It serves for no practical purpose and can only do harm.
2014-06-02Disable session testsAndrey Andreev1-0/+14
2014-05-01PHPUnit, what's wrong with you?Andrey Andreev1-2/+0
2014-03-04CI_Encryption: Remove MCrypt 'work-arounds' for CAST-128 compatibilityAndrey Andreev1-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-21Add test cases for CI_Upload::__construct(), CI_Upload::initialize()Andrey Andreev1-3/+44
2014-02-21CI_Upload changesAndrey Andreev1-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.
2014-02-20Remove a few empty 'mock' classesAndrey Andreev4-4/+4
2014-02-20Fix CI_Calendar testsAndrey Andreev2-7/+27
2014-02-13[ci skip] Test fixesAndrey Andreev2-5/+10
2014-02-11Some other small writing consistency fixesdarwinel1-1/+1
As described in the Style guide. Found after some grep’ing.
2014-02-11A bug fix and optimizations in CI_TableAndrey Andreev1-20/+27
2014-02-10CI_Encryption: Rename 'base64' parameter to 'raw_data' and add docsAndrey Andreev1-4/+6
2014-02-09Merge branch 'develop' into 'feature/encryption'Andrey Andreev1-1/+1
2014-02-08Small Style fixdarwinel1-1/+1
General Style and Syntax
2014-02-07CI_Encryption: Optimizations and test casesAndrey Andreev1-66/+267
2014-02-06CI_Encryption: CAST-128/CAST5 and RC4/ARCFour compatibilityAndrey Andreev1-0/+23
2014-02-05CI_Encryption: HMAC to not be derived from the encryption keyAndrey Andreev1-4/+6