Commit Graph

24 Commits

Author SHA1 Message Date
Gabriel Caruso
45828153b6 Use PSR-1 for PHPUnit TestCase
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
2017-11-06 06:29:04 -02:00
Michal Čihař
a82f8fc768 Move databaase interface load to static method
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 14:46:56 +02:00
Michal Čihař
bb95ecf852 Extend Dummy driver to be able to inject expected queries results
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 10:52:37 +01:00
Michal Čihař
4ed47fc4b4 Move charset conversion to a class
Also removes ancient support for AIX iconv.

Issue #11731

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-03-08 14:05:59 +01: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
Marc Delisle
d9bec7f085 HTML line break shown after a MySQL connection error message
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-12-07 09:02:07 -05:00
Madhura Jayaratne
a19c8a2e83 Remove tab characters
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-10-16 18:24:51 +11:00
Madhura Jayaratne
df813fb312 Fix tests
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-10-16 18:09:56 +11: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
58b10807c8 Rename classes files.
Rename classes.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:22 +02:00
Michal Čihař
b485c6105c Remove blank lines from the end of PHP files (causing extra output)
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-24 10:57:21 +01:00
ptarjan
840f7b1215 Make unit tests friendlier to running independently 2013-11-20 14:43:55 -08:00
ayushchd
a9e9fa5fd5 Fix unit test failures 2013-07-01 22:18:42 +05:45
Michal Čihař
4b787d4505 Do not rely too much on previous state 2013-06-11 14:16:17 +02:00
Madhura Jayaratne
0dab7f2463 Separate DatabaseInterface class and creation of an instance of it 2013-05-26 21:28:42 +05:30
Madhura Jayaratne
650a8cdda3 Convert database interface to a class 2013-05-24 17:30:59 +05:30
Madhura Jayaratne
a78a75754a Make database extension code object oriented 2013-05-24 13:33:06 +05:30
Kasun Chathuranga
03fc9b9256 PMA_is_system_schema --> PMA_isSystemSchema 2013-05-12 08:51:54 +05:30
Kasun Chathuranga
2a2eac9b53 PMA_DBI_fetch_array --> PMA_DBI_fetchArray 2013-05-04 08:28:57 +05:30
Kasun Chathuranga
f8bdff415e PMA_DBI_real_query --> PMA_DBI_realQuery 2013-05-04 08:27:28 +05:30
Michal Čihař
0cb933732d Add test for error formatting 2012-09-18 16:33:29 +02:00
Michal Čihař
5abe0dee3f Add docs 2012-09-18 16:33:29 +02:00
Michal Čihař
e08c1f6431 Add test for PMA_is_system_schema 2012-09-18 16:33:29 +02:00
Michal Čihař
9e53cc82a6 Add dummy dbi driver to be used in testsuite 2012-09-17 15:18:50 +02:00