summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/libraries
AgeCommit message (Collapse)AuthorFilesLines
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
2014-02-05CI_Encryption: More MCrypt/OpenSSL compatibility and get rid of the ↵Andrey Andreev1-13/+46
MCRYPT_MODE_* constants
2014-02-05CI_Encryption: Add Blowfish to compatibility listAndrey Andreev1-5/+3
2014-02-04CI_Encryption: Fix more errors and add a 'portability' test caseAndrey Andreev1-1/+50
2014-02-04CI_Encryption: Fix some errors and add unit tests for hkdf()Andrey Andreev1-0/+81
2014-01-24Righting a wrong in the Session libraryAndrey Andreev1-10/+10
- Change userdata(), flashdata(), tempdata() to return all the respective data when no parameter is passed. - Revert the addition of all_flashdata(). - Deprecate all_userdata(). - Fix related changelog entries that were all inconsistent.
2014-01-17Minor changes related to CI_User_agentAndrey Andreev2-19/+52
Fixed a bug where both accept_charset() and accept_lang() improperly parsed headers if they contained spaces between data separators (which is valid). Also made is_referral() testable by replacing its static cache var with a class property and added some more unit tests for the library as a whole.
2014-01-09Update Calendar library test following PR #2802Andrey Andreev1-15/+18
2014-01-06Fix #2237: Parser library failed if the same tag pair is used more than once ↵Andrey Andreev1-2/+2
within a template (manually applying PR #2238 + updated unit tests)
2013-01-30Remove tests for now non-existent method CI_Upload::clean_file_name()Andrey Andreev1-6/+0
See 7e5597782a589e4171ca08abdd9ce1a185542ff4
2012-12-03[ci skip] Cleaned some spacesAndrey Andreev3-3/+5
2012-11-30Merge pull request #2043 from johnathancroom/keep_flash_data_arrayAndrey Andreev1-0/+50
Test for keep_flashdata accepting an array
2012-11-30keep_flashdata array testJohnathan Croom1-1/+51
2012-11-25Revert some of the changes from PR #2029Andrey Andreev1-1/+1
We have file naming conventions and any extension filename needs to match MY_<orig_filename>, so we don't need to check for lowercase equivalents.
2012-11-25Merge pull request #2029 from dchill42/driver_extAndrey Andreev2-51/+199
Added driver extension support
2012-11-25Replaced Mock_Core_Lang with PHPUnit mockupsdchill422-9/+7
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-11-25Added support for extending individual driver classes and driver unit testsdchill422-51/+199
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-10-24Fix #1922Andrey Andreev1-0/+25
2012-10-21Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into ↵dchill421-5/+5
load_config_units
2012-10-18Marked tests that can't easily be tests as skippedAlex Bilbie1-5/+5
Signed-off-by: Alex Bilbie <alex@alexbilbie.com>