Commit Graph

5 Commits

Author SHA1 Message Date
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ř
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