#include #include #include using namespace CppUnit; void noMessageOutput(QtMsgType, const QMessageLogContext&, const QString&) { } int main() { qInstallMessageHandler(noMessageOutput); TextTestRunner runner; TestFactoryRegistry ®istry = TestFactoryRegistry::getRegistry(); runner.addTest(registry.makeTest()); return runner.run() ? 1 : 0; }