summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/core/Loader_test.php
AgeCommit message (Collapse)AuthorFilesLines
2017-09-25Merge branch '3.1-stable' into developAndrey Andreev1-1/+1
2017-06-28#5164 fix for stock librariesAndrey Andreev1-1/+1
2017-06-21Add unit test.tianhe19861-1/+20
Signed-off-by: tianhe1986 <w1s2j3229@163.com>
2017-01-10Add a testcase and changelog entry for #4975Andrey Andreev1-2/+4
2016-08-10Use getMockBuilder() in PHPUnit instead of the deprecated getMock()Andrey Andreev1-2/+2
2015-11-09Merge pull request #4225 from zhanghongyi/loader-testAndrey Andreev1-4/+25
Improve Loader test cases for libraries
2015-07-22Fix testcases broken by b63dc1904e4f34cb48d7dce80155172c6e94d777Andrey Andreev1-2/+2
2015-03-30[ci skip] Whitespace cleanup following PRs #3713 #3714Andrey Andreev1-10/+9
2015-03-30changed to lowercase array.Heesung Ahn1-1/+1
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-03-30added spacesHeesung Ahn1-1/+1
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-03-29Improved unit test code coverage.Heesung Ahn1-0/+46
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-01-21Make libraries matching controller names loadableAndrey Andreev1-8/+8
2014-02-11Some other small writing consistency fixesdarwinel1-4/+4
As described in the Style guide. Found after some grep’ing.
2014-01-07Implement Loader method chainingAndrey Andreev1-28/+28
Requested in issue #2165 Supersedes PR #2319
2014-01-06Remove redudant Loader tests for library() & driver() with no parametersAndrey Andreev1-6/+0
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-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-01-28Update unit tests with the ucfirst-library-filename requirementAndrey Andreev1-9/+9
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-10-27Fix Loader testsAndrey Andreev1-2/+2
2012-10-23Replaced evals with getMock usage in Loader testsdchill421-16/+8
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-10-22Raised CI_Loader test coverage to 93%dchill421-117/+226
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-10-12Integrated vfsStream better and made paths constants VFS-baseddchill421-97/+27
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-08-29Added autoloader unit test with minor supporting change in Loaderdchill421-0/+70
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-08-28Improved VFS usage in Loader and Config units, added Loader driver test, and ↵dchill421-44/+243
moved config load testing to Config unit Signed-off-by: dchill42 <dchill42@gmail.com>
2012-06-09Cleanup/optimize tests/codeigniter/Andrey Andreev1-73/+59
2012-03-28Adding autoloader and mocks directoryTaufan Aditya1-37/+1
2012-03-10Fix test errors in Loader_test.php and URI_test.phpHamza Bhatti1-6/+6
Change exceptions from Exception to RuntimeException since PHPUnit 3.6 doesn't like you to expect generic exceptions. The error it gives is: InvalidArgumentException: You must not expect the generic exception class travis-ci.org/#!/tiyowan/CodeIgniter/builds/832518 This issue addressed by using exceptions that are more specific.
2011-04-22Reworked unit tests to match rest of framework and added a few more.Eric Barnes1-14/+14
2011-04-21load->file() tests.Greg Aker1-4/+16
2011-04-21config CI_Loader tests.Greg Aker1-9/+27
2011-04-21Adding mock testing of libraries in the application directoryGreg Aker1-12/+46
2011-04-21Testing view loading.Greg Aker1-0/+17
2011-04-21Buttoning up model loader tests.Greg Aker1-19/+20
2011-04-21Swap from assertEquals(FALSE, x) to just assertFalse(). Silly Greg.Greg Aker1-1/+1
2011-04-21Working on tests in the loader. Have generic model mocking working with ↵Greg Aker1-44/+90
vfsStream.
2011-04-21Renamed the main test class, fixing test cases.Pascal Kriete1-3/+2
2011-04-21Adding early bootstrap ideas for core test suitePascal Kriete1-0/+144