Michal Čihař
ec9139edef
Do not try to run gd based tests if gd extension is not there
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-06 10:44:06 +01:00
Michal Čihař
d31ff5a1e7
Merge branch 'QA_4_6' into QA_4_6-security
2016-07-28 09:43:26 +02:00
Michal Čihař
4072c1d29a
Use example.com for sample test urls
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-28 09:12:01 +02:00
Michal Čihař
af337d2054
Use https to access phpmyadmin.net
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-27 16:29:08 +02:00
Michal Čihař
1543be7138
Use https to access phpmyadmin.net
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-18 16:22:33 +02:00
Michal Čihař
af8385dc87
Fix tests for transformations
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-13 12:16:45 +02:00
Michal Čihař
2ef4fe3d84
Use iframe sandbox for rendering HTML in transformation
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-12 14:15:30 +02:00
Michal Čihař
2ea0b722d7
Use _blank target instead of invalid _new
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-12 11:22:23 +02:00
Michal Čihař
3b0115a321
Adjust tests to recent changes
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-12 11:17:47 +02:00
Michal Čihař
be3ecbb4cc
Simplify and cleanup transformation plugins
...
Remove PMA_transformation_global_html_replace which makes the code only
more confusing.
Also add escaping to browse transformations.
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-17 16:18:13 +02:00
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