summaryrefslogtreecommitdiffstats
path: root/system/libraries/Unit_test.php
AgeCommit message (Collapse)AuthorFilesLines
2016-01-11[ci skip] Update codeigniter.com links to httpsAndrey Andreev1-2/+2
2016-01-11[ci skip] Bump year to 2016Andrey Andreev1-2/+2
2015-07-08[ci skip] Cleanup some whitespace in CI_Unit_testAndrey Andreev1-23/+23
2015-07-08Fix #3963Andrey Andreev1-3/+5
2015-07-06Added "is_resource" into the list of unit tests capable of being run.ftwbzhao1-1/+1
2015-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-20[ci skip] Change some log messages' levelAndrey Andreev1-1/+1
'Class Loaded' type of messages flood log files when log_threshold is set to 2 (debug). They're now logged as 'info' level. This is manually applying PR #1528, which was created to do the same thing, but became outdated.
2015-01-09Bulk (mostly documentation) updateAndrey Andreev1-3/+3
- Remove PHP version from license notices - Bump year number in copyright notices - Recommend PHP 5.4 or newer to be used - Tell Travis-CI to test on PHP 5.3.0 instead of the latest 5.3 version Related: #3450
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-02-112013 > 2014darwinel1-1/+1
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2014-01-03Make CI_Unit_test::set_test_items()'s parameter mandatory (optional doesn't ↵Andrey Andreev1-2/+2
make sense)
2014-01-03[ci skip] Some spaces & docblock fixesAndrey Andreev1-14/+12
2013-01-14Replace is_null() with === / !== NULLvlakoff1-2/+2
Exact same behavior, but faster. I also think it's more readable.
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-11-22Fix issue #118 (manually implementing PR #1832)Andrey Andreev1-2/+2
2012-11-03Refactored Unit_test in order to remove redundant code.Daniel Paul Searles1-25/+6
The Unit_test::run method was adding another dimension to the Unit_test::$results array. For example: Array ( [0] => Array ( [0] => Array ( [test_name] => first_test [test_datatype] => integer [res_datatype] => integer [result] => passed [file] => ######################################## [line] => 60 [notes] => Im expecting this test to pass! ) ) [1] => Array ( [0] => Array ( [test_name] => second_test [test_datatype] => integer [res_datatype] => boolean [result] => failed [file] => ####################################### [line] => 65 [notes] => Im expecting this to fail. ) ) ) The above unneeded dimension created a need to loop through an array in the Unit_test::result method if the method was looping through all results. Signed-off-by: Daniel Paul Searles <daniel.paul.searles@gmail.com>
2012-11-01[ci skip] DocBlocks for Email, Ftp, Unit_test and Javascript librariesAndrey Andreev1-6/+45
Partially fixes issue #1295
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev1-1/+2
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
2012-10-24[ci skip] style and phpdoc-related changes (rel #1295)Andrey Andreev1-9/+25
2012-10-05Fix issue #116 + other space/style fixes [ci skipAndrey Andreev1-1/+1
2012-10-03Updated result function to check for visible items as defined in issue #395Kyle Johnson1-0/+5
2012-06-07Remove some unnecessary function_exists() checks and some minor improvementsAndrey Andreev1-10/+6
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /system/librariesAlex Bilbie1-5/+5
2012-05-17Clean up the librariesAndrey Andreev1-2/+2
2012-04-03Minor cleanup and style fixes in the Unit_test and Image_lib librariesAndrey Andreev1-16/+12
2012-03-09Bumped CodeIgniter's PHP requirement to 5.2.4.Phil Sturgeon1-1/+1
Yes I know PHP 5.4 just came out, and yes I know PHP 5.3 has lovely features, but there are plenty of corporate systems running on CodeIgniter and PHP 5.3 still is not widely supported enough. CodeIgniter is great for distributed applications, and this is the highest we can reasonably go without breaking support. PHP 5.3 will most likely happen in another year or so. Fingers crossed on that one anyway...
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
2011-12-27Remove access lines from method descriptionsAndrey Andreev1-12/+0
2011-12-26Replace private with protected, so the class can be easily extendedAndrey Andreev1-10/+10
2011-12-25Improve the Unit test libraryAndrey Andreev1-54/+36
2011-10-20adding new license file (OSL 3.0) and updating readme to ReSTDerek Jones1-4/+16
added notice of license to all source files. OSL to all except the few files we ship inside of the application folder, those are AFL. Updated license in user guide. incrementing next dev version to 3.0 due to licensing change
2011-09-24Fixing the documentation link in the Unit_test library so that it points to ↵Gerry1-2/+2
the correct page
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-1/+1
broke the Typography class's string replacements, for instance
2011-04-25Fixed double-space typo.Razican1-1/+1
2011-01-05Hey look, it's 2011Greg Aker1-1/+1
2010-11-10Changing all class constructors to __construct()Greg Aker1-1/+1
2010-11-10Updating PHP requirements in files 5.1.6Greg Aker1-1/+1
2010-10-04Cleanup of stray spaces and tabsBarry Mieny1-55/+55
2010-01-18The Unit Test Class now has an optional "notes" field available to it, and ↵Derek Allard1-12/+48
allows for discrete display of test result items using $this->unit->set_test_items().
2010-01-05updated copyrightsDerek Jones1-1/+1
2009-12-22Added "is_object" into the list of unit tests capable of being run.Derek Allard1-1/+1
2009-04-22updated copyrights to 2009Derek Jones1-1/+1
2008-11-13Changing EOL style to LFDerek Allard1-346/+346
2008-09-13updated copyrightRick Ellis1-1/+1
2008-08-31grammar changesDerek Allard1-1/+1
2008-05-13Some sweeping syntax changes for consistency:Derek Jones1-5/+5
(! foo) changed to ( ! foo) || changed to OR changed newline standardization code in various places from preg_replace to str_replace
2008-05-12removed an ereg from configDerek Allard1-3/+5
added a qualifier to a str_replace for \t in Input changed substr to strncmp in Codeigniter.php and directory_map function added braces in an if statement of unit test Removed "scripts" from the auto-load search path. Scripts were deprecated in Version 1.4.1 (September 21, 2006). If you still need to use them for legacy reasons, they must now be manually loaded in each Controller.
2008-05-11Removed closing PHP tags, replaced with a comment block identifying the end ↵Derek Jones1-1/+3
of the file
2008-05-11Undoing change committed in r1115Derek Jones1-0/+1
2008-05-11removed closing PHP tag from all framework filesDerek Jones1-1/+0