MCPcopy Create free account
hub / github.com/TeXworks/texworks / OSVersionString

Method OSVersionString

unit-tests/Utils_test.cpp:806–811  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

804
805#ifdef Q_OS_DARWIN
806void TestUtils::OSVersionString()
807{
808 QString version = GetMacOSVersionString();
809 QRegularExpression pattern(QStringLiteral("^Mac OS X (\\d+)\\.(\\d+)\\.(\\d+)$"));
810 QVERIFY2(version.contains(pattern), qPrintable(version));
811}
812#endif // defined(Q_OS_DARWIN)
813
814} // namespace UnitTest

Callers

nothing calls this directly

Calls 1

containsMethod · 0.80

Tested by

no test coverage detected