summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/libraries
AgeCommit message (Collapse)AuthorFilesLines
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>
2012-10-12Integrated vfsStream better and made paths constants VFS-baseddchill427-59/+48
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-10-09Overloaded is_cli_request in Input mock for Session testdchill421-11/+6
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-09-03Added Calendar library unit testAlex Bilbie1-0/+204
2012-08-30Finished the final tests (except do_upload)Alex Bilbie1-7/+46
2012-08-30Added initial upload library testsAlex Bilbie1-0/+231
2012-08-28Minor session test improvementsdchill421-65/+117
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-07-31Coding standard cleanup and added userdata resync on sess_regenerate()dchill421-12/+61
2012-07-31Added Session driver library unit tests and added driver library autoloading ↵dchill421-0/+304
to test framework
2012-06-09Cleanup/optimize tests/codeigniter/Andrey Andreev5-208/+183
2012-06-07tests for encryption classJoffrey Jaffeux1-0/+71
2012-05-27Continuation for Security and Table code-coverage, add coverage report to travisTaufan Aditya1-2/+22
2012-03-28Implementation of Mock class, remove ugly reflection classTaufan Aditya1-32/+3
2012-03-28Implementation of Mock class, remove ugly reflection classTaufan Aditya1-17/+7