Commit Graph

39 Commits

Author SHA1 Message Date
Hugues Peccatte
e5e447e937 Set namespace on config classes.
Update config classes.
Add @noinspection tag.
Update documentation and script.
Set ConfigGenerator in a namespace.
Rename ConfigGenerator filename.
Remove ConfigGenerator requires.
Fix namespaces of mock objects.
Remove useless require.
Add missing 'use'.
Add missing require.
Update PHPDoc.
Fix class test typo.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:23 +02:00
Hugues Peccatte
7f8f34e89d Remove classes require_once.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:22 +02:00
Hugues Peccatte
0761fb1801 Rename classes files.
Rename classes.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:21 +02:00
Hugues Peccatte
f0ba28fc1d Set namespace on Advisor, Config, Console and Util classes.
Set namespace on DbQbe.
Set namespace to 'DbSearch'.
Split Advisor.class.php file.
Change Advisor namespace.
Rename DbQbe class and file.
Set namespace on DisplayResults.
Set namespace on Error.
Use namespace for ErrorHandler.
Add class autoloader.
Change ErrorHandler filename.
Remove some require.
Update Config namespace path.
Update PMA_Util to PMA\libraries\Util.
Rename Font and File classes files.
Use namespace for Footer.
Set namespace in all libraries classes.
Namespace OutputBuffering.
Export SubPartition.
Rename Partition file.
Namespace PDF.
Namespace RecentFavoriteTable.
Replace PMA_Response by Response and PMA_Message by Message.
Update uses and calls.
Fix unit tests.
Fix SqlParser autoload.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:22:52 +02:00
Madhura Jayaratne
cd76cb6acc Avoid caching JS and CSS files across phpMyAdmin versions
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-27 21:52:20 +05:30
Marc Delisle
0acbf99549 Fix unit tests for Cloudflare support
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-04-14 13:27:08 -04:00
Madhura Jayaratne
36cb10bd77 Update another test case
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-14 21:05:19 +05:30
Madhura Jayaratne
8cdaf81e27 bug #4702 URL is non RFC-2396 compatible in get_scripts.js.php
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-14 20:56:22 +05:30
Madhura Jayaratne
33c819b8b4 Remove token from JS file requests
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-12-15 13:13:52 +05:30
Hugues Peccatte
dc4b7fc239 Minor test update.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-02 16:07:12 +01:00
Hugues Peccatte
ebda4090db Coding style modifications.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-14 15:47:14 +02:00
Marc Delisle
c8b4217e42 Fix tests
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-09-13 10:54:46 -04:00
Chirayu Chiripal
1f324be4b1 RFE-637: Custom field handlers (input transformations)
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
2014-07-12 01:52:32 +05:30
Michal Čihař
0e2b847f4e Honor URL separator in get_scripts parameters
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-27 09:12:49 +01:00
Madhura Jayaratne
f311c9c502 Remove trailing white spaces 2013-11-03 19:13:23 +05:30
Mohamed Ashraf
7cd2f7a598 Fixed failing tests 2013-09-05 19:56:59 +02:00
Mohamed Ashraf
ed3171cb87 Fixed testcases that test the script class 2013-09-03 15:53:51 +02:00
ayushchd
b9a5bffaba Testsuite code-compliance fixes 2013-08-07 22:28:46 +05:30
Michal Čihař
f04569966f We now use normal double quotes here 2013-08-06 15:13:27 +02:00
Michal Čihař
121845d6d9 Sometimes takes longer 2013-08-06 15:12:07 +02:00
Michal Čihař
92c76b9630 Various class name improvements in testsuite 2013-05-02 15:57:09 +02:00
Madhura Jayaratne
1641845e94 Fix superfluous doc comments 2013-04-12 21:59:14 +05:30
Rouslan Placella
8e635922b0 Fixed unit tests for PMA_Scripts class 2012-12-23 13:31:36 +00:00
Rouslan Placella
37d469462c Fixed PMA_Scripts unit test 2012-11-01 10:41:12 +00:00
Rouslan Placella
91083d1155 Fixed wrong index in test case 2012-10-31 10:57:48 +00:00
Rouslan Placella
3f5000799e Fixed test case for getFiles() in Scripts class 2012-10-31 10:52:30 +00:00
Rouslan Placella
44ea09bbc5 Added test case for getFiles method in Scripts class 2012-10-31 10:40:39 +00:00
Rouslan Placella
d38c8ef018 Fixed "add scripts code" test case 2012-10-31 10:16:50 +00:00
Rouslan Placella
7356b407ad Rewrite and integration of js/common.js 2012-10-30 20:23:59 +00:00
Rouslan Placella
19d1869461 Complete test coverage for Scripts class 2012-10-30 14:23:11 +00:00
Dieter Adriaenssens
6f02ec614e improve comment, fix typo 2012-10-20 02:26:39 +02:00
Madhura Jayaratne
bc5de586c6 Doc block improvements (mostly specifying return types) 2012-09-26 22:55:04 +05:30
Michal Čihař
3b357483c7 No need to use mockup for non abstract classes 2012-09-17 14:01:19 +02:00
Michal Čihař
69fdc5d209 Various coding style improvements 2012-09-04 15:43:25 +02:00
Yasitha Pandithawatta
7823dfffa5 switched assertEquals params in test/classes directory 2012-08-24 22:15:19 +05:30
Yasitha Pandithawatta
dd60cce103 Fix failing test cases 2012-07-20 23:06:57 +05:30
Yasitha Pandithawatta
8c32839796 Fix failing test cases 2012-07-20 23:04:51 +05:30
Michal Čihař
6e0ce2ff08 Use regexp to match as the timestamp will change 2012-07-17 09:52:44 +02:00
Yasitha Pandithawatta
7b1b3137c8 Test cases for Script.class.php 2012-07-04 23:40:22 +05:30