Commit Graph

253 Commits

Author SHA1 Message Date
Michal Čihař
c04a557c02 Drop databases only if they do exist 2011-08-17 14:18:19 +02:00
Madhura Jayaratne
0387ea0b40 Merge branch 'master' of git://phpmyadmin.git.sourceforge.net/gitroot/phpmyadmin/phpmyadmin into OpenGIS 2011-08-17 16:48:50 +05:30
Michal Čihař
aca93f4508 Fix typo in testcase as well 2011-08-17 13:14:26 +02:00
Madhura Jayaratne
46722b8035 Merge branch 'master' into OpenGIS 2011-08-17 16:43:18 +05:30
Piotr Przybylski
a9d583e5d5 Add some missing @return tags in tests 2011-08-16 14:30:46 +02:00
Michal Čihař
74764f3cf1 Add test case for failed eval 2011-08-15 11:24:54 +02:00
Michal Čihař
7654af9632 Add test for errors 2011-08-15 11:21:38 +02:00
Michal Čihař
670b6ea38b Fix test with lang set 2011-08-15 11:18:25 +02:00
Michal Čihař
83b859f679 Add test for quotes handling 2011-08-15 11:07:35 +02:00
Michal Čihař
e4c101c4d6 Add more cases for adding rules 2011-08-15 11:02:39 +02:00
Michal Čihař
9889e68133 Add testcase for adding rules 2011-08-15 10:54:53 +02:00
Michal Čihař
843de6fdf5 Fix testcase 2011-08-15 10:39:57 +02:00
Michal Čihař
099be90fba Add test for parsing 2011-08-15 10:38:09 +02:00
Michal Čihař
aec113c7b7 Rename file to match standards 2011-08-15 10:36:01 +02:00
Michal Čihař
4a4933c294 Add testscase for advisor escaping 2011-08-15 09:22:03 +02:00
Madhura Jayaratne
7d7dd02e8c Merge branch 'master' into OpenGIS
Conflicts:
	tbl_select.php
2011-08-13 14:12:46 +05:30
Madhura Jayaratne
16a039392b Remove tab characters 2011-08-13 10:11:08 +05:30
Madhura Jayaratne
9ed1cd7c3e Use abstract test class to avoid code duplications in tests 2011-08-13 10:10:32 +05:30
Madhura Jayaratne
cb176b2648 Unit tests for PMA_GIS_Factory class 2011-08-13 00:17:36 +05:30
Madhura Jayaratne
005a4ce61b Unit test for PMA_GIS_modifyQuery 2011-08-12 15:09:03 +05:30
Madhura Jayaratne
333dc9ccec Unit tests for PMA_GIS_Multipolygon class 2011-08-12 11:59:22 +05:30
Madhura Jayaratne
f60672d0d3 More tests for PMA_GIS_Polygon class 2011-08-12 11:22:57 +05:30
Madhura Jayaratne
760d895036 Unit tests for PMA_GIS_Polygon class 2011-08-12 08:30:14 +05:30
Madhura Jayaratne
68d617ad17 Unit tests for PMA_GIS_Multilinestring class 2011-08-12 07:03:24 +05:30
Madhura Jayaratne
591be45324 Unit tests for PMA_GIS_Linestring class 2011-08-11 22:40:55 +05:30
Madhura Jayaratne
881d2f29b7 Tests for PMA_GIS_Multipoint class 2011-08-11 22:01:24 +05:30
Madhura Jayaratne
81667ad578 Unit tests for PMA_GIS_Point class 2011-08-11 21:45:24 +05:30
Michal Čihař
64a33bd6bc Also do aliases 2011-08-10 16:17:18 +02:00
Michal Čihař
b0951818b5 Add class for creating PDF document 2011-08-10 16:17:18 +02:00
Michal Čihař
af6954fe82 Add testcase for PMA_File::getContent 2011-08-10 11:31:48 +02:00
Michal Čihař
e3306f098d Make test not dependending on set/non set variables 2011-08-10 11:28:39 +02:00
Michal Čihař
9b4128ed6e Make test not dependending on set/non set token 2011-08-10 11:26:29 +02:00
Michal Čihař
0c965a91ad Make test not dependending on set/non set variables 2011-08-10 11:25:13 +02:00
Michal Čihař
f9e2218d96 Fix doc 2011-08-10 10:09:02 +02:00
Michal Čihař
096d06eda0 Move class tests to test/classes 2011-08-10 10:06:54 +02:00
Michal Čihař
f1e2897da0 Return true on succsess 2011-08-10 10:04:17 +02:00
Michal Čihař
2df16b3187 Start testcases for PMA_File class 2011-08-10 09:48:42 +02:00
Rouslan Placella
2ebf0702f1 Fixed trigger editor unit test 2011-08-09 22:40:57 +01:00
Michal Čihař
8f618e6f01 Convert more occurences of inline autosubmit code to external js 2011-08-08 13:29:20 +02:00
Michal Čihař
44f007a879 Add tests for theme manager 2011-08-08 11:54:23 +02:00
Michal Čihař
3c425a16bc Add test for PMA_List_Database for functions not requiring DB connection 2011-08-08 10:38:54 +02:00
Herman van Rink
a5394bdc1d Merge branch 'master' of ssh://phpmyadmin.git.sourceforge.net/gitroot/phpmyadmin/phpmyadmin 2011-08-06 17:13:04 +02:00
Herman van Rink
f1025544e6 Added SQL dump of databases and tables useful for security testing 2011-08-06 17:09:01 +02:00
Michal Čihař
efee7ec870 Definie missing variable 2011-08-05 16:10:31 +02:00
Michal Čihař
43161e7876 Ensure that ColumnTypes is set on test run 2011-08-05 16:01:39 +02:00
Michal Čihař
64c30e51e7 Coding style, class definitions 2011-08-05 15:12:08 +02:00
Michal Čihař
872ddd034f Fix comments 2011-08-04 19:43:29 +02:00
Dieter Adriaenssens
46cd0d6afa fix typo 2011-08-04 19:24:15 +02:00
Dieter Adriaenssens
d1f124492f fix typo 2011-08-04 19:20:23 +02:00
Michal Čihař
d4c9e4135e Fix comments 2011-08-04 17:32:18 +02:00
Michal Čihař
85eb9c74a1 Add testcase for PMA_expandUserString 2011-08-04 17:31:55 +02:00
Michal Čihař
22b46564e1 Add testcase for another way of escaping 2011-08-04 17:21:51 +02:00
Michal Čihař
83d3c0d2fd Move attribute processing to PMA_extractFieldSpec 2011-08-04 17:08:49 +02:00
Michal Čihař
809258e49b Docs 2011-08-04 16:50:29 +02:00
Michal Čihař
542738dd88 Export print_type and make it usable for set/enum as well 2011-08-04 16:33:34 +02:00
Michal Čihař
5adf2fb352 Processing of varbinary fields 2011-08-04 16:21:47 +02:00
Michal Čihař
04c5a81b8c Make short type also always lowercase 2011-08-04 16:10:41 +02:00
Michal Čihař
42df62c050 Make type lowercase everytime 2011-08-04 16:09:17 +02:00
Michal Čihař
11acfe2651 Add testcase for varchar 2011-08-04 16:08:34 +02:00
Michal Čihař
cbcde38db1 Add more testcases 2011-08-04 16:07:13 +02:00
Michal Čihař
1c356718ea Add test case for PMA_extractFieldSpec 2011-08-04 16:03:56 +02:00
Michal Čihař
4fb5b65fd2 Remove unused parameter $container from PMA_getIcon 2011-08-04 13:47:44 +02:00
Michal Čihař
264829a991 Add documentation to testcases 2011-07-25 14:42:46 +02:00
Michal Čihař
26a9bb4581 Unset variables which can poison output 2011-07-25 14:30:23 +02:00
Michal Čihař
d9f91b4f5d Testcase for escaping 2011-07-25 14:27:07 +02:00
Michal Čihař
42d704eadb Test case for invalid target 2011-07-25 14:21:38 +02:00
Michal Čihař
c2b530c005 Add another testcase for xss 2011-07-25 14:18:36 +02:00
Michal Čihař
a418fa95b9 Add testcase for combined link and XSS attempt 2011-07-25 14:13:03 +02:00
Michal Čihař
ef4f1717b2 Add testcase for documenation link 2011-07-25 14:10:22 +02:00
Michal Čihař
7b6043c619 Re-enable test for links 2011-07-25 14:08:46 +02:00
Rouslan Placella
8489f415c9 Added unit tests for Routines, Triggers and Events 2011-07-22 11:54:03 +01:00
Michal Čihař
d55306252b Replace tabs with spaces, cleanup identation 2011-07-22 10:15:08 +02:00
Michal Čihař
41b23ebf4a Wrap long lines 2011-07-21 16:50:12 +02:00
Michal Čihař
08d83ae4d5 Coding style 2011-07-21 16:47:59 +02:00
Michal Čihař
5187db7343 The themes path is no longer used here 2011-07-21 16:37:32 +02:00
Michal Čihař
8a3aa86f36 The themes path is no longer used here 2011-07-21 16:37:06 +02:00
Michal Čihař
e490bdd262 Adjust test cases to sprited icons 2011-07-21 16:26:07 +02:00
Michal Čihař
9730a6b3d7 Merge commit '97b1375605f241481a953e2c78eb42d43f84fa9d'
Conflicts:
	js/functions.js
	libraries/common.lib.php
	libraries/header.inc.php
	server_status.php
2011-07-21 15:51:05 +02:00
Michal Čihař
c8c68cc588 Need to set db parameter when we're checking for it 2011-07-21 12:57:28 +02:00
Michal Čihař
8e511c16ff I've simplified this too much
Each test needs different params.
2011-07-21 11:47:00 +02:00
Michal Čihař
578bb63d76 Another variable needed for test 2011-07-21 11:46:14 +02:00
Michal Čihař
f080342e7a Add missing bits to test cases setup 2011-07-21 11:39:15 +02:00
Michal Čihař
9fe1aefb8a Add missing setup to PMA_buildActionTitles_test 2011-07-21 10:24:23 +02:00
Michal Čihař
dd0e9396a9 Add missing step to setup phase 2011-07-21 10:22:29 +02:00
Herman van Rink
f787d74f10 Merge remote-tracking branch 'zarubin/master' into unittesting 2011-07-19 09:51:53 +02:00
Zarubin Stas
2ca6e70154 Small fixes. New tests for Config.class.php and Theme.class.php, 2011-07-18 09:34:04 +03:00
Herman van Rink
72de42f47d Elaborate on .htaccess comment 2011-07-15 10:28:20 +02:00
Tyron Madlener
3b3a9fc762 pma spritify part 2 2011-07-15 09:42:16 +03:00
Zarubin Stas
c9c110969f Typo 2011-07-14 07:46:42 +03:00
Zarubin Stas
b309cf3e98 Small changes in Selenium tests configuration 2011-07-14 07:45:20 +03:00
Zarubin Stas
05a79cbbf8 Test for PMA_langDetails_test(), PMA_langList_test() and PMA_langName_test() from select_lang.lib.php 2011-07-14 07:34:38 +03:00
Zarubin Stas
09660a6624 PHPUnit database configuration and Environment test 2011-07-11 03:25:17 +03:00
Zarubin Stas
cf733f1f55 New tests for common.lib.php 2011-07-11 03:23:34 +03:00
Zarubin Stas
b00f268cca session_start() moved to bootstrap-dist.php 2011-07-06 14:42:25 +03:00
Zarubin Stas
e093653e46 Comments for testBackquote and new testBackquoteForbidenWords. 2011-07-06 13:12:34 +03:00
Zarubin Stas
2e93b81172 Merge remote-tracking branch 'upstream/unittesting' 2011-07-06 11:30:43 +03:00
Herman van Rink
fc5a9a6131 Added htaccess and README to test directory 2011-07-06 10:27:52 +02:00
Zarubin Stas
91709ec0c1 New PHPUnit tests for common.lib.php 2011-07-06 10:47:10 +03:00
Tyron Madlener
2ee9f03cbb Merge remote-tracking branch 'origin/master' into tyronm 2011-07-05 18:09:55 +02:00
Herman van Rink
d17aab53e4 Disabled two blowfish tests due to differences in the initialization factor between systems 2011-07-05 08:36:18 +02:00