summaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2015-03-30changed to lowercase array and space.Heesung Ahn1-3/+3
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-03-30updated array style and removed assert trueHeesung Ahn1-2/+5
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-30Added more unit tests to CI_Form_validationDavid Woods1-0/+147
Unit tests for set_select, set_checkbox, and set_radio currently all fail for the same reason. Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-29Improved unit test code coverage.Heesung Ahn1-0/+46
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-03-29removed spaceHeesung Ahn1-1/+1
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-03-29Increased code coverageHeesung Ahn1-1/+24
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-03-28Added more units tests for Form_validationDavid Woods1-2/+108
Up to 65% coverage Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-26Remove an unnecessary checkAndrey Andreev1-2/+1
#3700 #3706
2015-03-26Add FSCommand and seekSegmentTime to evil HTML attributes listAndrey Andreev1-0/+2
2015-03-26Polish changes from PR #3678Andrey Andreev1-91/+63
... and make it run on 5.2.
2015-03-26Merge pull request #3678 from djwoods/unit-test/form-validationAndrey Andreev1-0/+373
Added CI_Form_validation unit tests
2015-03-22Corrected invalid matches, differs, and set_data test casesDavid Woods1-34/+61
Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-21[ci skip] Whitespace cleanup following PR #3682Andrey Andreev1-20/+20
2015-03-21Changed scenario based tests to unit testsDavid Woods1-148/+175
Added tests for set_data() & set_message() Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-20updated based on commentHeesung Ahn1-2/+2
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-03-19updated based on commentHeesung Ahn1-2/+1
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-03-19minor updateHeesung Ahn1-2/+3
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-03-18Updated CI_Input unit test and fixed error "undefined offset" caused by ↵Heesung Ahn1-5/+56
using the same variable name, $i, twice for for loop inside for loop. Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-03-18Switched spaces to tabs on the few lines that were missed from previous ↵David Woods1-7/+7
refactors Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-18Fixed bug of clearing POST array before every test.David Woods1-12/+14
Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-18Corrected incorrect assertion in test_rule_valid_base64David Woods1-1/+1
Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-18Corrected match, differs, base64, and valid_url test cases.David Woods1-307/+310
Also changed spaces to tabs Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-18Polish some recent changes in test casesAndrey Andreev2-16/+14
2015-03-17Corrected an invalid test caseDavid Woods1-2/+2
Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-17Reformatted unit tests for easier debuggingDavid Woods1-114/+265
Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-17Fixed bugs in form_validation for methods matches, differs, and valid_base64.David Woods1-4/+132
Implemented tests for valid and invalid inputs for all basic rules available for form_validation. The invalid input data currently doesn't pass all tests. Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-17Created setup and construct for Form_Validation unit testDavid Woods1-0/+35
Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-17Updated fetch_from_array unit testHeesung Ahn1-0/+9
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-03-10Fixed indentationHeesung Ahn1-66/+65
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-03-10Update Security Unit testHeesung Ahn1-18/+18
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-03-10Update Security Unit testHeesung Ahn1-3/+91
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-03-05adding more img tags Heesung Ahn1-2/+14
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-03-02test_strip_omage_tagsHeesung Ahn1-0/+19
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-02-27Make CI_Input:: read-only as wellAndrey Andreev1-0/+8
2015-02-26Fix .travis.yml for PHP7 and try to fix a DB testAndrey Andreev1-1/+1
2015-02-19Revert last commit & just ignore E_DEPRECATEDAndrey Andreev1-0/+8
2015-02-19OK, finally 'fix' this testAndrey Andreev1-13/+10
2015-02-19test_db_invalid fails tooAndrey Andreev1-6/+12
2015-02-19test_db_failover is failing after 'autoinit' removal ...Andrey Andreev2-1/+4
2015-02-19Remove 'autoinit' DB settingAndrey Andreev1-2/+1
It doesn't make sense to do a load->database() call but not connect to the database. IIRC there was more stuff in CI_DB_driver::initialize() at some point, so that was probably the reason why the setting existed in the first place. However, now it only results in users making invalid bug reports because they don't understand the feature ... Examples during just the past 2 weeks: #3571 #3601 #3607
2015-02-17Fix #3572: CI_Security::_remove_evil_attributes()Andrey Andreev2-0/+17
2015-02-15[ci skip] Fix a PHP7 BC break in a test that wouldn't even runAndrey Andreev1-1/+1
2015-01-29fix typo in commentsClaudio Galdiolo1-2/+2
2015-01-29fix typo in commentsClaudio Galdiolo1-2/+2
2015-01-29fix typo in commentsClaudio Galdiolo1-3/+3
2015-01-21Remove closing blocks at end of PHP filesvlakoff5-11/+0
2015-01-21Make libraries matching controller names loadableAndrey Andreev1-8/+8
2015-01-20Ignore mysql_*connect() E_DEPRECATED errors in testsAndrey Andreev1-0/+7
2015-01-12Merge branch 'develop' into feature/sessionAndrey Andreev8-66/+68