Maurício Meneghini Fauth
2005cca77f
Fix methods and properties visibility issues
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-30 21:02:26 -03:00
Maurício Meneghini Fauth
285e38e931
Fix some PSR-2 coding standard errors
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-30 09:07:56 -03:00
Maurício Meneghini Fauth
b9c0463d96
Use short array syntax instead of long array syntax
...
Replaces array() with [].
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-30 01:42:21 -03:00
Maurício Meneghini Fauth
baf0985e5f
Fix phpcs errors
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-18 01:59:38 -03:00
Maurício Meneghini Fauth
dc8c92bfd8
Enable strict mode in test files
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-16 04:36:04 -03:00
William Desportes
2f84b4034e
#14260 Fixed configuration for DefaultLang and Lang
...
Closes : #14260
Signed-off-by: William Desportes <williamdes@wdes.fr>
2018-05-07 01:03:15 +02:00
Gabriel Caruso
d0b3ca5d48
Refactoring tests
...
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
2017-12-12 06:46:53 -02:00
Maurício Meneghini Fauth
c00245fa0a
Move PMATestCase to PhpMyAdmin\Tests\PmaTestCase
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-30 16:34:53 -03:00
Maurício Meneghini Fauth
df30240015
Add namespace to test classes
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-20 13:03:50 -03:00
Maurício Meneghini Fauth
13c0f7bc3c
Move classes to PhpMyAdmin namespace
...
- Move Advisor to PhpMyAdmin namespace
- Move Bookmark to PhpMyAdmin namespace
- Move Charsets to PhpMyAdmin namespace
- Move Config class to PhpMyAdmin namespace
- Move Console class to PhpMyAdmin namespace
- Move Core to PhpMyAdmin namespace
- Move DatabaseInterface to PhpMyAdmin namespace
- Move DbList to PhpMyAdmin namespace
- Move DbQbe to PhpMyAdmin namespace
- Move DbSearch to PhpMyAdmin namespace
- Move DisplayResults to PhpMyAdmin namespace
- Move Encoding to PhpMyAdmin namespace
- Move Error to PhpMyAdmin namespace
- Move ErrorHandler to PhpMyAdmin namespace
- Move File to PhpMyAdmin namespace
- Move Font to PhpMyAdmin namespace
- Move Footer to PhpMyAdmin namespace
- Move Header to PhpMyAdmin namespace
- Move Index to PhpMyAdmin namespace
- Move IndexColumn to PhpMyAdmin namespace
- Move LanguageManager to PhpMyAdmin namespace
- Move Language to PhpMyAdmin namespace
- Move Linter to PhpMyAdmin namespace
- Move ListAbstract to PhpMyAdmin namespace
- Move ListDatabase to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-28 21:17:18 -03:00
Michal Čihař
a586c8ca4f
Ensure we reset locales back to English after running tests
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-06-01 14:29:08 +02:00
Michal Čihař
f86aca5b80
Merge branch 'QA_4_6'
2016-12-06 10:48:16 +01:00
Michal Čihař
79d33084f3
Add validation prior to using object
...
Otherwise the test failure is really not obvious.
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-06 10:04:44 +01:00
Michal Čihař
9bdca83305
Improve LanguageManager tests
...
- test for MySQL locale on locale we have complete enough coverage
- add test for getting non existing locale
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-18 10:49:17 +01:00
Michal Čihař
ccd6163563
Add test for getting MySQL locale
...
Issue #11789
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-13 08:51:56 +01:00
Michal Čihař
60b7bb1733
Add method for getting current language
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-13 08:30:23 +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
Michal Čihař
fd045a94e7
Initial implementation of LanguageManager
...
The LanguageManager is responsible for choosing correct language and
Language class wraps invididual locales, allows matching and their
activation.
Issue #11847
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-12 14:51:07 +01:00