summaryrefslogtreecommitdiffstats
path: root/tests/mocks/core
AgeCommit message (Collapse)AuthorFilesLines
2015-02-27Make CI_Input:: read-only as wellAndrey Andreev1-0/+8
2015-02-17Fix #3572: CI_Security::_remove_evil_attributes()Andrey Andreev1-0/+5
2015-01-29fix typo in commentsClaudio Galdiolo1-3/+3
2014-10-05config_item() to return NULL instead of FALSE for non-existing itemsAndrey Andreev1-1/+1
Close #3001 Close #3232 Related: #3244
2014-02-24Don't use globalsAndrey Andreev1-0/+2
- Use load_class() to get objects during bootstrap process. - Change load_class() to accept a class constructor parameter instead of previously unused class name prefix. - Change CI_Router::__construct() to accept as a parameter.
2014-02-20CI_Utf8-related changesAndrey Andreev1-3/+6
- Give priority to mb_convert_encoding() over iconv() in clean_string() (partially fixes #261) - Add more proper unit tests
2014-02-20Remove a few empty 'mock' classesAndrey Andreev1-3/+0
2014-02-15Rename CI_Utf8::_is_ascii() to is_ascii() and make it publicAndrey Andreev1-5/+0
No reason for it to be protected.
2014-02-12Move mbstring/iconv configuration and MB_ENABLED, ICONV_ENABLED out of ↵Andrey Andreev1-23/+2
CI_Utf8::__construct() Also, use mb_substitute_character() instead of ini_set()
2014-02-12Remove pointless mocks for remove_invisible_characters(), is_php(), ↵Andrey Andreev1-51/+0
is_really_writable()
2014-02-11Utf8/iconv/mbstring-related changesAndrey Andreev1-0/+11
2014-01-16Add a unit test for CI_Utf8::_is_ascii()Andrey Andreev1-0/+5
2014-01-15CI_URI changes related to the 'permitted_uri_chars' settingAndrey Andreev1-2/+13
- Initialize and cache the value in the class constructor instead of searching for it every time - Removed the preg_quote() call from _filter_uri() to allow more fine-tuning from configuration - Renamed _filter_uri() to filter_uri() - it was public anyway and using it cannot break anything Related: issue #2799
2013-11-12Deprecate CI_Input::is_cli_request() and add common function is_cli() to ↵Andrey Andreev2-5/+9
replace it Calls to this function are often needed before the Input library is available
2013-09-13Drop the unused parameter from log_message() / CI_Log::write_log()Andrey Andreev1-1/+1
2013-05-07Logging functions: level parameter is not optionalvlakoff1-1/+1
This parameter cannot be optional, as the following parameter is mandatory. Also completed the corresponding documentation.
2012-12-03[ci skip] Cleaned some spacesAndrey Andreev1-1/+0
2012-11-25Replaced Mock_Core_Lang with PHPUnit mockupsdchill421-15/+0
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-10-24[ci skip] style and phpdoc-related changes (rel #1295)Andrey Andreev1-2/+2
2012-10-22Raised CI_Loader test coverage to 93%dchill422-16/+4
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-10-12Integrated vfsStream better and made paths constants VFS-baseddchill422-31/+25
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-10-10Merge branch 'develop' of github.com:/EllisLab/CodeIgniter into ↵dchill422-0/+25
load_config_units
2012-10-09Overloaded is_cli_request in Input mock for Session testdchill421-0/+10
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-08-30Better way - autoloader uses first config pathdchill421-1/+0
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-08-30Added lang mock and upload mockAlex Bilbie1-0/+15
2012-08-29Added autoloader unit test with minor supporting change in Loaderdchill421-0/+9
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-08-28Improved VFS usage in Loader and Config units, added Loader driver test, and ↵dchill421-14/+18
moved config load testing to Config unit Signed-off-by: dchill42 <dchill42@gmail.com>
2012-06-10Revert a change in tests/mocks/core/common.phpAndrey Andreev1-1/+2
2012-06-10Revert a change in tests/mocks/core/common.phpAndrey Andreev1-1/+2
2012-06-09Cleanup/optimize tests/mocks/Andrey Andreev6-37/+34
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /testsAlex Bilbie1-1/+1
2012-05-27Adding more flexibilities to mock-commonTaufan Aditya1-64/+103
2012-05-15Input class code-coverageTaufan Aditya3-1/+59
2012-05-15Comment block for explanationTaufan Aditya1-0/+3
2012-05-15Security Code coverageTaufan Aditya1-0/+27
2012-05-15Benchmark code-coverageTaufan Aditya1-0/+3
2012-03-28Adding core and libraries mock classesTaufan Aditya2-5/+0
2012-03-28Adding autoloader and mocks directoryTaufan Aditya3-0/+192