Fixed unit test.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-10-08 09:31:22 +03:00
parent a43e852977
commit 2a742497ea

View File

@ -69,11 +69,11 @@ void TST_MeasurementRegExp::TestOriginalMeasurementNamesRegExp()
// cppcheck-suppress unusedFunction // cppcheck-suppress unusedFunction
void TST_MeasurementRegExp::TestMeasurementRegExp_data() void TST_MeasurementRegExp::TestMeasurementRegExp_data()
{ {
const int systemCounts = 55; const int systemCounts = 56;
const QStringList locales = SupportedLocales(); const QStringList locales = SupportedLocales();
{ {
const int combinations = systemCounts * locales.size(); // 55*12=660 const int combinations = systemCounts * locales.size(); // 56*12=660
QDir dir(TranslationsPath()); QDir dir(TranslationsPath());
const QStringList fileNames = dir.entryList(QStringList("measurements_p*_*.qm")); const QStringList fileNames = dir.entryList(QStringList("measurements_p*_*.qm"));