MCPcopy Create free account
hub / github.com/comaps/comaps / OnRunTests

Method OnRunTests

qt/mainwindow.cpp:740–757  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

738}
739
740void MainWindow::OnRunTests()
741{
742 try
743 {
744 std::pair<bool, QString> res = build_style::RunCurrentStyleTests();
745 InfoDialog dlg(QString("Style tests: ") + (res.first ? "OK" : "FAILED"), res.second, NULL);
746 dlg.exec();
747 }
748 catch (std::exception & e)
749 {
750 QMessageBox msgBox;
751 msgBox.setWindowTitle("Error");
752 msgBox.setText(e.what());
753 msgBox.setStandardButtons(QMessageBox::Ok);
754 msgBox.setDefaultButton(QMessageBox::Ok);
755 msgBox.exec();
756 }
757}
758
759void MainWindow::OnBuildPhonePackage()
760{

Callers

nothing calls this directly

Calls 2

RunCurrentStyleTestsFunction · 0.85
whatMethod · 0.45

Tested by

no test coverage detected