Commit Graph

142 Commits

Author SHA1 Message Date
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
Herman van Rink
cf5d62b7ca Code style 2011-07-05 08:35:15 +02:00
Zarubin Stas
f05749656d Fix for PMA_headerLocation_test 2011-07-01 22:36:54 +03:00
Zarubin Stas
0e2e973f6c Set is_ajax_request to true to avoid notice - "Automatically appended backtick to the end of query!" for queries with unclosed quotes 2011-07-01 18:53:24 +03:00
Zarubin Stas
f7d7102d2f - Unit Test grouped by library directory
- Added configuration file phpunit.xml.dist and bootstraper-dist.php
 - Ignoring phpunit.xml, bootstraper.php and build/
2011-06-29 20:06:27 +03:00
Michal Čihař
c9c9fdf49d Consistent capitalisation of PMA_sqlAddSlashes 2011-06-27 14:48:15 +02:00
Michal Čihař
e57f27e50b Remove @uses tags from docblocks 2011-06-27 11:20:20 +02:00
Michal Čihař
2cae746cc1 Generally we speak only about sTheme, so do not introduce / Style 2011-06-17 14:58:13 +02:00
Tyron Madlener
5e09426666 Merge 2011-06-06 14:38:56 +02:00
Michal Čihař
cefdbde71c The *_cnt variables are gone from parser 2011-06-06 11:15:37 +02:00
Michal Čihař
bbbf2c49ed Drop $GLOBALS['charset'].
It was anyway always set to utf-8 so it does not make sense to keep it
as a variable.
2011-06-03 14:04:29 +02:00
Marc Delisle
baf339f802 Continue to replace warning level with error level 2011-05-04 06:14:28 -04:00