1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-29 21:24:44 +03:00
Commit Graph

58 Commits

Author SHA1 Message Date
Michal Čihař
19f76066f2 Separate adding string and Message objects to Message
This way we can rely on type checking and avoid potential problems with
escaping.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-16 15:16:29 +02:00
Michal Čihař
912bf964c7 Replace embedded php-gettext library with motranslator
Fixes #12018

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-24 11:49:43 +01:00
Michal Čihař
b8c39d413d Do not try to run selenium tests if not told so
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 09:26:28 +01:00
Michal Čihař
faa87a31c8 Load gettext earlier
It's used by SQLParser, so it should be included before autloader.

See #11677

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 08:05:49 +01:00
Michal Čihař
04a41eaf10 Remove forgotten auloader for sql parser
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 08:03:19 +01:00
Michal Čihař
38482bfa9f Use Componser autloader for external libraries
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 08:03:19 +01:00
Michal Čihař
b3a2b74aa4 Merge branch 'QA_4_6' 2016-02-17 12:13:22 +01:00
Michal Čihař
35dae12574 Define cell_align_left for tests
It's defined early in common.inc.php so it's always available.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-17 12:12:49 +01:00
Michal Čihař
86d3d0bc04 Define theme for all tests
This allows to unify environment.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-12 15:14:39 +01:00
Michal Čihař
6da017fcfc Load vendor_config just once at testsuite startup
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-03 14:21:57 +01:00
Michal Čihař
ac9714cf6a Autoloading for phpseclib
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-01 21:53:53 +01:00
Michal Čihař
25260a0a94 Ensure we initialize language before running tests
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-12 16:41:21 +01:00
Michal Čihař
cc07b737dc Remove unused PMA_String class
The class is no longer used:

- the ctype part is not needed by new SQL parser
- the utf-8 manipulation was replaced by direct usage of mbstring

Signed-off-by: Michal Čihař <michal@cihar.com>
2015-12-21 12:09:06 +01:00
Hugues Peccatte
a5d35d41b6 Revert PMA_String rename.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-14 22:39:03 +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
Dan Ungureanu
91b97fadc2 Remove unneeded closing tags.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-19 00:18:38 +03:00
Madhura Jayaratne
80259fe7ee Fix typo
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-13 16:30:21 +05:30
Madhura Jayaratne
f09a583368 Fix tests
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-13 16:18:00 +05:30
Dan Ungureanu
bb1c380572 Include sql-parser in tests.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:11 +03:00
Nisarg Jhaveri
0c704996fa Fix tests, use proxy settings from env
Signed-off-by: Nisarg Jhaveri <nisargjhaveri@gmail.com>
2015-07-02 20:08:03 +05:30
Isaac Bennetch
7634905762 Feature request 1675: MySQL and MariaDB functions INET6_ATON and INET6_NTOA
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2015-05-31 09:48:20 -04:00
Marc Delisle
504b80adbf phpunit 4.2: assertTag is deprecated
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-05-07 10:16:20 -04:00
Michal Čihař
a5337bf0ea Set timezone in PHP snippet
There is no clean way to adjust HHVM settings from Travis, see
https://github.com/travis-ci/travis-ci/issues/2523

Caused by HHVM configuration no longer including timezone settings, see
https://github.com/travis-ci/travis-ci/issues/2812

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-11-03 10:40:43 +01:00
Hugues Peccatte
42e0bdd47a Fix typos.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-02 18:32:42 +01:00
Madhura Jayaratne
aaa2116b01 Fix some of the failing tests
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-10-18 21:59:33 +05:30
Hugues Peccatte
9b77d746ab Mass modifications to use PMA_String.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-06 10:44:03 +02:00
Chirayu Chiripal
85390a7169 rfe-982: Support for editing binary fields in hexadecimal
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
2014-05-21 21:42:21 +05:30
Michal Čihař
64e77be0f9 Set coverageScriptUrl for Travis
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-01 15:53:54 +02:00
Michal Čihař
ffa8d32b64 More descriptive message from test bootstrap
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-24 11:01:19 +01:00
Michal Čihař
c33fb59567 Use globals for passing testsuite configuration
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-18 09:20:42 +01:00
Michal Čihař
d336553bcb Unify handling of environment configuration of testsuite
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-18 09:08:27 +01:00
Michal Čihař
11812af0d5 Allow to configure Selenium server manually
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-18 08:59:14 +01:00
Michal Čihař
a9ec7def44 Remove unused code
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-18 08:54:15 +01:00
Michal Čihař
e50caedee8 Use single variable for server URL
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-18 08:53:22 +01:00
Michal Čihař
5b93ccf150 Specify port for browserstack connection
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-17 13:44:06 +01:00
Michal Čihař
778a641c34 Fix comments in testsuite setup
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-17 12:05:49 +01:00
Michal Čihař
6922e3653a Reintroduce forgotten user config
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-17 12:02:48 +01:00
Michal Čihař
5f4988567e Move selenium configuration to test/bootstrap-dist.php
This way it can be overridden from environment.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-17 11:58:44 +01:00
Michal Čihař
b9187f7a69 Document this section
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-17 11:58:44 +01:00
Ayush Chaudhary
6d90d5eb81 configure Selenium tests for browserstack
Signed-off-by: Ayush Chaudhary <ayushchd@gmail.com>
2014-02-14 16:39:24 +05:30
ayushchd
4b7edee82b Fix date-second issue with Tracker tests 2013-09-14 16:29:03 +05:30
ayushchd
b9a5bffaba Testsuite code-compliance fixes 2013-08-07 22:28:46 +05:30
ayushchd
c1d787edf8 Move getTagArray to bootstrap 2013-07-16 21:40:53 +05:45
Michal Čihař
493c23d18f Add shared code to setup header testing using runkit 2013-07-15 10:42:02 +02:00
Michal Čihař
68b10df573 Enable error reporting for tests 2013-07-01 16:01:38 +02:00
Michal Čihař
498b7a7012 Nedd to have defined ajax flag for most of the tets as well 2013-06-11 14:17:08 +02:00
Michal Čihař
bb922686e0 Globally set language 2013-06-11 14:00:44 +02:00
Michal Čihař
ba9cff2736 Set token in single place for all tests 2013-06-11 13:53:31 +02:00