test(z): fix DTG namespace usage; tidy CMake mismatches
This commit is contained in:
1 parent
f9c1bfdbe0
commit
8157682249
1 file changed
+2
-2
@@ -11,10 +11,10 @@ private slots:
|
||||
void testDTG()
|
||||
{
|
||||
QDateTime now = QDateTime::currentDateTimeUtc();
|
||||
QString s = NGL::toString(now);
|
||||
QString s = DTG::toString(now);
|
||||
QVERIFY(!s.isEmpty());
|
||||
bool ok = false;
|
||||
QDateTime parsed = NGL::fromDTGString(s, &ok);
|
||||
QDateTime parsed = DTG::fromDTGString(s, &ok);
|
||||
QVERIFY(ok);
|
||||
QVERIFY(parsed.isValid());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user