tst_QLocale: rename "emptyCtor" test to better describe it

It's actually testing that the system locale (which it obtains via the
default constructor, relying on setDefault() not being called first in
the helper program - which I'll soon change) behaves as expected.

Change-Id: Iedd2c1bb549288661c910dfbaac509ede9506d04
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Konrad Kujawa <konrad.kujawa@qt.io>
This commit is contained in:
Edward Welbourne 2023-07-19 17:20:12 +02:00
parent 9972e03485
commit efff7bdf9f

View File

@ -48,8 +48,8 @@ private slots:
#endif
void ctor();
void emptyCtor_data();
void emptyCtor();
void systemLocale_data();
void systemLocale();
void consistentC();
void matchingLocales();
void stringToDouble_data();
@ -573,7 +573,7 @@ static inline bool runSysAppTest(const QString &binary,
}
#endif
void tst_QLocale::emptyCtor_data()
void tst_QLocale::systemLocale_data()
{
#if !QT_CONFIG(process)
QSKIP("No qprocess support");
@ -653,7 +653,7 @@ void tst_QLocale::emptyCtor_data()
#endif // process
}
void tst_QLocale::emptyCtor()
void tst_QLocale::systemLocale()
{
#if QT_CONFIG(process) // for runSysAppTest
QLatin1String request(QTest::currentDataTag());