MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / MacroTest2_test

Function MacroTest2_test

test/cfg/qt.cpp:600–613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

598};
599
600void MacroTest2_test()
601{
602 QString str = MacroTest2::tr("hello");
603 QByteArray ba = str.toLatin1();
604 printf(ba.data());
605
606#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
607#ifndef QT_NO_DEPRECATED
608 str = MacroTest2::trUtf8("test2");
609 ba = str.toLatin1();
610 printf(ba.data());
611#endif
612#endif
613}
614
615void MacroTest3()
616{

Callers

nothing calls this directly

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected