summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter
AgeCommit message (Collapse)AuthorFilesLines
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)
2014-01-06Remove redudant Loader tests for library() & driver() with no parametersAndrey Andreev1-6/+0
2013-10-17Replace the last rand() with mt_rand()vlakoff1-1/+1
Better entropy, faster. Also fixed a few "it's" typos.
2013-08-19Lower precision for the CI_Benchmark::elapsed_time() test - there's no way ↵Andrey Andreev1-1/+1
to reliably test it
2013-08-11Input class: change behavior of get_post() method, add post_get() methodvlakoff1-1/+11
followup to PR #2522
2013-07-25Uniformize slash_item() with item()vlakoff1-1/+1
2013-07-25Adjustments to the previous commitvlakoff1-4/+4
2013-07-23Loader changes & optimizations related to issue #2551Andrey Andreev1-2/+2
2013-07-22Fix Loader_test::test_non_existent_model()Andrey Andreev1-1/+1
2013-07-22Fix CI_Loader::model() testsAndrey Andreev1-14/+12
2013-07-19Simplify directory_map test skipvlakoff1-1/+1
2013-07-19Proper directory_map test skipvlakoff1-2/+2
* added the needed trailing backslash * use is_dir() instead of opendir() as it doesn't throw error on failure
2013-07-19[ci skip] Skip directory_map() test when opendir() fails to open a VFS dirAndrey Andreev1-0/+7
2013-07-19Fix an argument in test_directory_helpervlakoff1-1/+1
2013-07-19Fix test_directory_mapvlakoff1-4/+6
See #2475 and point 2 of #2334
2013-05-25Try a different method, the previous one wasn't working in Travisvlakoff1-1/+2
2013-05-25Fix tests executionvlakoff1-0/+2
See #2442
2013-03-31fix typo : StdClass should be stdClassAbdul Malik Ikhsan1-1/+1
Signed-off-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
2013-02-21CI_Output [set/append/get]_output() testsAndrey Andreev1-0/+35
2013-02-21Some miscellaneous testsAndrey Andreev1-1/+24
2013-02-21Add CI_Utf8::convert_to_utf8() testAndrey Andreev1-0/+20
2013-02-19Fix form_upload() testAndrey Andreev1-1/+1
2013-02-15Various cosmetic fixesvlakoff1-1/+1
2013-01-30Remove tests for now non-existent method CI_Upload::clean_file_name()Andrey Andreev1-6/+0
See 7e5597782a589e4171ca08abdd9ce1a185542ff4
2013-01-28Update unit tests with the ucfirst-library-filename requirementAndrey Andreev1-9/+9
2013-01-28Fix auto_link() for the Nth timeAndrey Andreev1-5/+6
- anchor() is for local links and breaks ones that don't have a protocol prefix - Allow :// links (no actual protocol specified) - Further simplified the URL regular expression
2013-01-03Replaced array_push function reference with a faster ordinary element ↵and-ers1-1/+1
insertion method
2012-12-28Update CI_Output::get_header() testAndrey Andreev1-2/+2
2012-12-03[ci skip] Cleaned some spacesAndrey Andreev7-6/+7
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-29Fix #2041Andrey Andreev1-1/+3
2012-11-29Added CI_Output::get_header()Andrey Andreev1-0/+35
(an improved version of PR #645) Also fixed get_content_type() to only return the MIME value and created Output library unit tests for both of these methods.
2012-11-26Update Language helper test caseAndrey Andreev1-1/+1
2012-11-25MySQLi testsAndrey Andreev1-0/+5
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 mockupsdchill423-10/+10
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-11-20Update tests following 77bd21b15305412b63c8f448787d5b275efd07e2Andrey Andreev1-22/+2
2012-11-06directory_map() ... the final oneAndrey Andreev1-1/+1
2012-11-06Fix directory_map() testsAndrey Andreev1-3/+3
2012-11-03Revert 679525d0237ac2e0a94d7b05377eb31eb3398f19Andrey Andreev1-1/+1
It appears to break get_instance()->*_package_path*() usage which is very common. Need to figure out how to resolve this.
2012-11-03Fix the bloody testsAndrey Andreev1-35/+37
2012-11-02An attempt to fix Loader testsAndrey Andreev1-38/+35
2012-11-02Some micro-optimizationsAndrey Andreev1-1/+1
2012-11-01Fix issue #1953 (form values being escaped twice)Andrey Andreev1-0/+15
Re-instaing an improved form_prep() function, reverting most of the changes from 74ffd17ab06327ca62ddfe28a186cae7ba6bd459.
2012-10-27Fix Loader testsAndrey Andreev1-2/+2
2012-10-27Docblock improvements to the Config library and remove ↵Andrey Andreev1-23/+2
CI_Config::_assign_to_config() Existance of _assign_to_config() is pointless as this method consists just of a foreach calling CI_Config::set_item() and is only called by CodeIgniter.php - moved that foreach() in there instead.
2012-10-26Deprecated form helper function form_prep().Andrey Andreev2-12/+45
This function has been broken for YEARS and it's value-caching logic has only introduced various problems. We have html_escape() since CI 2.1.0 which is a perfect replacement, so it should be used instead. Fixes #228 & #1630