Commit Graph

2621 Commits

Author SHA1 Message Date
Hugues Peccatte
5bc3a665fa Fix unit tests.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-29 23:17:11 +02:00
Hugues Peccatte
747a174257 Add missing namespaces.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-29 23:17:00 +02:00
Hugues Peccatte
f54bbe7a70 Remove classes require_once.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-29 23:02:10 +02:00
Hugues Peccatte
475e5f9fae Rename classes files.
Rename classes.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-29 22:44:33 +02:00
Hugues Peccatte
567a628947 Rename classes files.
Rename classes.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-29 22:29:21 +02:00
Hugues Peccatte
90b234220d Attempt to fix unit tests.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-29 21:45:48 +02:00
Hugues Peccatte
cd30684589 Skip test.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-29 21:26:52 +02:00
Hugues Peccatte
f3793afb83 Attempt to fix unit tests.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-29 20:32:55 +02:00
Hugues Peccatte
8397d8069a Skip test.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-29 20:12:48 +02:00
Hugues Peccatte
2fe6ff4655 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-08-29 16:27:21 +02:00
Madhura Jayaratne
154d62d27d Fix #11436 CREATE DATABASE should be enabled by default on server exports
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-28 18:52:37 +10:00
Michal Čihař
3e6be008e1 Merge branch 'QA_4_4' into QA_4_5 2015-08-27 07:08:33 +02:00
Michal Čihař
f849c697a9 Stick to known working version of runkit
Current runkit doesn't seem to compile...

Signed-off-by: Michal Čihař <michal@cihar.com>
2015-08-27 07:04:16 +02:00
Madhura Jayaratne
5605ec6652 Update tests with sentence case
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-26 17:35:50 +10:00
Madhura Jayaratne
6eb6786506 Standardize to sentence case
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-26 16:57:42 +10:00
Madhura Jayaratne
b40312deea Simplify be using the plural form as its the general case
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-26 16:43:36 +10:00
Madhura Jayaratne
c14da41682 Use sentence case here as well
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-26 16:37:47 +10:00
Hugues Peccatte
6ff67388d2 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-25 17:06:40 +02:00
Hugues Peccatte
b8475ef154 Fix syntax error.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-25 16:32:37 +02:00
Hugues Peccatte
ac955df90d Fix syntax error.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-25 16:27:01 +02:00
Hugues Peccatte
17fb74d2cf Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-25 16:20:31 +02:00
Madhura Jayaratne
a451c80370 Use sentence case - more instances
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-25 21:24:41 +10:00
Madhura Jayaratne
d0fe37bbc7 Use sentence case
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-25 21:21:11 +10:00
Atul Pratap Singh
917add1528 Merge pull request #11370 from gzzhanghao/unittest
Recover test coverage
2015-08-25 13:30:44 +05:30
Madhura Jayaratne
e29ba1df22 Fix tests. Now there are only 5 as CREATE TABLE options are under 'Add CREATE TABLE statement' option
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-25 09:02:56 +10:00
Hugues Peccatte
d7986e0d8d Change variable type.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-24 22:38:48 +02:00
Hugues Peccatte
03f5aaaf98 Update PHPDoc.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-24 21:50:17 +02:00
Hugues Peccatte
fad2c6912d Comment query to fix unit tests.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-24 20:54:52 +02:00
Hugues Peccatte
48071fb0c5 Remove duplicated space.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-24 16:16:23 +02:00
Deven Bansod
30c754c350 MariaDB 10.0.21 also does not support sha256_password auth plugin
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-08-23 21:33:21 +05:30
Marc Delisle
6a9d80eb89 Minimum supported PHP version is now 5.5
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-08-21 07:55:16 -04:00
Madhura Jayaratne
88132a7fc6 Update tests
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-21 06:49:47 +05:30
Madhura Jayaratne
5f4e8e0f2b Fix tests
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-20 10:53:01 +05:30
Madhura Jayaratne
259564b979 Fix tests
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-20 10:46:35 +05:30
Jason
d6577f5d1a Add tests for TableSearchController, TableStructureController.
- Also fix a missing include in operations.lib.php

Signed-off-by: Jason <jason.daurus@gmail.com>
2015-08-20 01:20:08 +08:00
Michal Čihař
003a828d38 Merge branch 'QA_4_4' 2015-08-19 14:54:01 +02:00
Michal Čihař
24df856fd9 PHP 5.3 should now work as well
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-08-19 14:53:42 +02:00
Michal Čihař
7e41134174 Merge branch 'QA_4_4' 2015-08-18 17:27:11 +02:00
Michal Čihař
6328c5a8f2 Ignore actually 5.3...
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-08-18 17:27:04 +02:00
Michal Čihař
079cb4f283 Merge branch 'QA_4_4' 2015-08-18 16:21:18 +02:00
Michal Čihař
bcc4c77f43 Disable runkit for 4.3 as well
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-08-18 16:21:13 +02:00
Michal Čihař
b0655cf775 Disable runkit for 4.3 as well
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-08-18 16:21:03 +02:00
Michal Čihař
84564360f6 Merge branch 'QA_4_4' 2015-08-18 16:14:22 +02:00
Michal Čihař
7a92707952 PHP 5.6 patch is merged upstream
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-08-18 16:14:13 +02:00
Jason
fae4d6ce14 Fix failures in TableStructureController_Test
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-08-18 14:55:29 +08:00
Jason
fffcb7bc8b Add tests for TableStructureController and TableRelationController
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-08-18 02:35:18 +08:00
Jason
a121073c31 Add tests for DatabaseStructureController
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-08-17 01:31:14 +08:00
Jason
0cfaa66032 Complete tests for TableIndexesController
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-08-12 16:50:09 +08:00
Jason
3613f2b6bd Introduce the ResponseStub
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-08-12 16:50:09 +08:00
Jason
59b11954f4 Recover tests for PMA_Table and rename sGetStatusInfo to getStatusInfo
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-08-12 16:48:40 +08:00