summaryrefslogtreecommitdiffstats
path: root/tests/mocks
AgeCommit message (Collapse)AuthorFilesLines
2014-01-13Don't throw in mock autoloaderFred Emmott1-15/+1
This behavior doesn't appear to be used at all. This fixes HHVM compatibility: HHVM optimizes class_exists() to a dedicated bytecode - as it's not a function call, it doesn't show up in the backtrace. 100% of the tests pass with this change.
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-07-15Fix Travis testsAndrey Andreev1-0/+2
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.
2013-03-31fix typo : StdClass should be stdClassAbdul Malik Ikhsan1-1/+1
Signed-off-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
2013-02-21DB_result tests seem to also depend on autoloading via the class_exists() ↵Andrey Andreev1-0/+0
checks ...
2013-02-21Fix Session testsAndrey Andreev1-1/+3
2012-12-03[ci skip] Cleaned some spacesAndrey Andreev4-4/+3
2012-11-25MySQLi testsAndrey Andreev2-0/+51
2012-11-25Merge pull request #2029 from dchill42/driver_extAndrey Andreev2-7/+27
Added driver extension support
2012-11-25Replaced Mock_Core_Lang with PHPUnit mockupsdchill422-40/+0
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-11-25Added support for extending individual driver classes and driver unit testsdchill422-7/+27
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-11-09Move Log class to core in tests as wellAndrey Andreev1-6/+5
2012-11-05Refactored DB ForgeAndrey Andreev2-3/+4
- PDO subdrivers are isolated from each other now. - Added compatibility for pretty much all of the features, for every DB platform. - Unified the way that stuff works in general. - Fixes issue #1005.
2012-11-03Revert 679525d0237ac2e0a94d7b05377eb31eb3398f19Andrey Andreev1-2/+0
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-0/+2
2012-11-02Some micro-optimizationsAndrey Andreev1-5/+3
2012-10-24[ci skip] style and phpdoc-related changes (rel #1295)Andrey Andreev2-10/+10
2012-10-23Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into ↵dchill421-1/+2
load_config_units
2012-10-23Fix a mock db entryAndrey Andreev1-1/+1
2012-10-23Add a test for issue #273Andrey Andreev1-1/+2
2012-10-22Raised CI_Loader test coverage to 93%dchill425-18/+9
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-10-14Adapted DB for VFS changes and fixed Common case in Bootstrap.phpdchill423-3/+60
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-10-12Integrated vfsStream better and made paths constants VFS-baseddchill425-45/+233
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-10-10Merge branch 'develop' of github.com:/EllisLab/CodeIgniter into ↵dchill425-0/+53
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-09-03Added Calendar library unit testAlex Bilbie1-0/+25
2012-08-30Better way - autoloader uses first config pathdchill421-1/+0
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-08-30Finished the final tests (except do_upload)Alex Bilbie1-0/+0
2012-08-30Added lang mock and upload mockAlex Bilbie2-0/+18
2012-08-29Added autoloader unit test with minor supporting change in Loaderdchill421-0/+9
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-08-29Merge branch 'develop' of github.com:/EllisLab/CodeIgniter into ↵dchill422-5/+61
load_config_units
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-07-31Added Session driver library unit tests and added driver library autoloading ↵dchill422-5/+61
to test framework
2012-06-28Merge branch 'develop' of github.com:EllisLab/CodeIgniter into ↵Andrey Andreev1-3/+8
feature/db_subdrivers
2012-06-26Comply styleguideTaufan Aditya1-1/+1
2012-06-26Allow extra SPL autoloaderTaufan Aditya1-4/+9
2012-06-26Alter test pdo/mysql configAndrey Andreev1-1/+1
2012-06-25Work-around for a failover test (currently DSNs are only built on class ↵Andrey Andreev1-1/+1
initialization)
2012-06-23Rename pdodriver property to subdriver and make it available to all driversAndrey Andreev4-13/+13
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 Andreev24-184/+180
2012-06-07tests for encryption classJoffrey Jaffeux1-0/+15
2012-06-04Alter SQLite3's version() method and clear some spacesAndrey Andreev1-4/+4
2012-06-04Fix an SQLite3 pconnect() bug + other minor changesAndrey Andreev1-1/+1
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /testsAlex Bilbie2-4/+4
2012-05-27Adding more flexibilities to mock-commonTaufan Aditya1-64/+103
2012-05-27Continuation for Security and Table code-coverage, add coverage report to travisTaufan Aditya1-2/+2