Commit Graph

47 Commits

Author SHA1 Message Date
Michal Čihař
b450e58dbb Remove require of libraries included in test bootstrap
There is no need to specify them in every test when we already do it
globally.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-12 16:43:16 +01:00
Madhura Jayaratne
46a6967c70 Update another plugin test
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-12-18 17:41:05 +11:00
Madhura Jayaratne
ab49273856 Rename test classes
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-10-15 20:57:27 +11:00
Hugues Peccatte
8c289e523b Revert transformation classes rename.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-12 21:48:43 +02:00
Hugues Peccatte
99633d238a Fix wrong case in files.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-12 15:01:59 +02:00
Hugues Peccatte
857c8a92cf Move abstract transformation plugins to abs folder.
Update templates.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-12 14:13:31 +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
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
Dan Ungureanu
ae733edf41 Removed the old parser.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:18 +03:00
Marc Delisle
e4a9d114b6 Fix unit test
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-05-01 08:02:22 -04:00
Madhura Jayaratne
f344c26138 Fix tests
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-20 15:43:15 +05:30
Madhura Jayaratne
33c4f54618 Fix unit tests
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-17 15:05:17 +05:30
Madhura Jayaratne
6a9b787320 Update tests
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-19 14:14:45 +05:30
Marc Delisle
fde42eb2e8 No need to have a distinct file
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-09-06 14:11:04 -04:00
Chirayu Chiripal
871ad6d8ab update transformation path in getInfo method
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
2014-07-24 14:14:03 +05:30
Chirayu Chiripal
43c289ab56 Combined transformation plugins test to avoid duplication issues
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
2014-07-13 17:46:22 +05:30
Marc Delisle
56659dfa8c Fix test
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-07-13 07:58:43 -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ř
dca981481d Remove plugin manager and observer classes
We don't really need the observer pattern, so let's simplify the code.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-06-25 09:25:59 +02:00
Marc Delisle
84f135d048 Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-06-03 12:40:21 -04:00
Marc Delisle
49f1bdd822 Merge commit '0ee881d' 2014-05-16 12:20:52 -04:00
Marc Delisle
0ee881da71 bug #4395 BLOB link transformation is broken
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-05-16 09:56:47 -04:00
Michal Čihař
9f5d592ff3 Add method for getting transoformations options
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-06 15:35:58 +02:00
Jeff Chan
3f0f634c38 Import config to make unit tests friendlier to running independently
The HHVM test runner runs the unit tests in parallel. Currently some tests
fail because not all the dependencies are properly included.

This is similar to 607cb3b0b3

Signed-off-by: Jeff Chan <jefftchan@gmail.com>
2014-03-12 03:30:36 +00:00
Jeff Chan
659efe1a88 Import dependencies to make unit tests friendlier to running independently
The HHVM test runner runs the unit tests in parallel. Currently some tests
fail because not all the dependencies are properly included.

This is similar to 840f7b1215

Signed-off-by: Jeff Chan <jefftchan@gmail.com>
2014-03-09 08:16:24 +00:00
Marc Delisle
4f612de31d Remove unneeded transformation
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-06 06:31:47 -05:00
ptarjan
840f7b1215 Make unit tests friendlier to running independently 2013-11-20 14:43:55 -08:00
Madhura Jayaratne
f311c9c502 Remove trailing white spaces 2013-11-03 19:13:23 +05:30
Madhura Jayaratne
5f72019a66 Fix failing tests 2013-10-19 13:02:43 +05:30
adamgsoc2013
d467f4441a fix code Static Analysis Warnings 2013-08-09 23:19:13 +08:00
adamgsoc2013
09e4190073 using space instead of tab; fixing indention 2013-08-05 22:48:49 +08:00
adamgsoc2013
12a827abc4 add test cases to cover more issues on import and transformations 2013-08-05 22:43:33 +08:00
Madhura Jayaratne
f25e0e8229 Fix class name 2013-07-27 22:34:32 +05:30
Madhura Jayaratne
c03661e950 Fix indentation 2013-07-27 22:34:04 +05:30
adamgsoc2013
5808e8bfc2 add other test case for more coverage 2013-06-23 00:27:04 +08:00
adamgsoc2013
f4e230b180 add timezone setting for Text_Plain_Dateformat 2013-06-18 09:35:45 +08:00
adamgsoc2013
cdfb0b890d fix the assertion due to PMA_IS_GD2 setting 2013-06-17 23:49:04 +08:00
adamgsoc2013
e693108728 Merge branch 'master' of https://github.com/phpmyadmin/phpmyadmin into UT_pluginss 2013-06-17 22:14:15 +08:00
adamgsoc2013
f7051156a2 fix the timezone difference 2013-06-16 12:11:03 +08:00
adamgsoc2013
0c0d67e4c0 add Image transformations class 2013-06-15 22:36:31 +08:00
adamgsoc2013
a2e21be0b7 using HTML tag when testing Text_Plain_Formatted 2013-06-13 22:54:20 +08:00
adamgsoc2013
3cea36f8b0 modify the test cases to better ones 2013-06-13 21:09:33 +08:00
adamgsoc2013
e03be6c62f fix assert failed 2013-06-12 22:45:30 +08:00
adamgsoc2013
cbe0bebbb9 add test case for Text_Plain_$type classes 2013-06-12 22:38:35 +08:00
adamgsoc2013
64415ab4c1 add test for applyTransformation 2013-06-12 18:23:30 +08:00
adamgsoc2013
95f29b01c7 testing Text_Plain_Append::getInfo() instead of Text_Plain_Append_getInfo() 2013-06-12 00:20:12 +08:00
adamgsoc2013
7c07bb3b24 add test for transformation class: Text_Plain_Append 2013-06-12 00:08:33 +08:00