| 738 | } |
| 739 | |
| 740 | void 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 | |
| 759 | void MainWindow::OnBuildPhonePackage() |
| 760 | { |
nothing calls this directly
no test coverage detected