Run Explorer: the tests of one results folder (one safeAPI merged log per test), with verdict, duration, entry count and failure message.
More...
#include <RunExplorerDialog.hpp>
Run Explorer: the tests of one results folder (one safeAPI merged log per test), with verdict, duration, entry count and failure message.
A non-modal dialog: it stays open next to the main window while logs are opened from it. The folder is scanned on a worker thread (analyzer::ScanResultsFolder through QtConcurrent) with a progress bar and a Cancel button. Rows can be sorted by any column, filtered by verdict, and failures grouped by their normalised message.
Activating a test row emits OpenTestRequested(); "Open with Previous Test" emits OpenWithPreviousRequested() with the test that ran just before it.
◆ RunExplorerDialog()
| ui::qt::RunExplorerDialog::RunExplorerDialog |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ ~RunExplorerDialog()
| ui::qt::RunExplorerDialog::~RunExplorerDialog |
( |
| ) |
|
|
override |
◆ ApplyVerdictFilter()
| void ui::qt::RunExplorerDialog::ApplyVerdictFilter |
( |
| ) |
|
|
private |
◆ CreateTestItem()
| QTreeWidgetItem * ui::qt::RunExplorerDialog::CreateTestItem |
( |
int |
index | ) |
const |
|
private |
◆ CurrentEntry()
| int ui::qt::RunExplorerDialog::CurrentEntry |
( |
| ) |
const |
|
private |
entry index of the current row, -1 for none / a group
◆ Entries()
◆ OnScanFinished()
| void ui::qt::RunExplorerDialog::OnScanFinished |
( |
| ) |
|
|
private |
◆ OpenCurrent()
| void ui::qt::RunExplorerDialog::OpenCurrent |
( |
| ) |
|
|
private |
◆ OpenCurrentWithPrevious()
| void ui::qt::RunExplorerDialog::OpenCurrentWithPrevious |
( |
| ) |
|
|
private |
◆ OpenFolder()
| void ui::qt::RunExplorerDialog::OpenFolder |
( |
const QString & |
folder | ) |
|
Scans folder in the background (a running scan is cancelled first).
◆ OpenTestRequested
| void ui::qt::RunExplorerDialog::OpenTestRequested |
( |
const QString & |
path | ) |
|
|
signal |
◆ OpenWithPreviousRequested
| void ui::qt::RunExplorerDialog::OpenWithPreviousRequested |
( |
const QString & |
previousPath, |
|
|
const QString & |
previousName, |
|
|
const QString & |
path, |
|
|
const QString & |
name |
|
) |
| |
|
signal |
◆ Rebuild()
| void ui::qt::RunExplorerDialog::Rebuild |
( |
| ) |
|
|
private |
◆ ScanFinished
| void ui::qt::RunExplorerDialog::ScanFinished |
( |
| ) |
|
|
signal |
A scan started by OpenFolder() ended (finished or cancelled).
◆ SetEntries()
| void ui::qt::RunExplorerDialog::SetEntries |
( |
const QString & |
folder, |
|
|
std::vector< analyzer::TestRunEntry > |
entries |
|
) |
| |
Shows entries, which must be in run order (as ScanResultsFolder returns them).
◆ UpdateActions()
| void ui::qt::RunExplorerDialog::UpdateActions |
( |
| ) |
|
|
private |
◆ m_cancelButton
| QPushButton* ui::qt::RunExplorerDialog::m_cancelButton {nullptr} |
|
private |
◆ m_entries
◆ m_folder
| QString ui::qt::RunExplorerDialog::m_folder |
|
private |
◆ m_groupByMessage
| QCheckBox* ui::qt::RunExplorerDialog::m_groupByMessage {nullptr} |
|
private |
◆ m_openAction
| QAction* ui::qt::RunExplorerDialog::m_openAction {nullptr} |
|
private |
◆ m_openButton
| QPushButton* ui::qt::RunExplorerDialog::m_openButton {nullptr} |
|
private |
◆ m_openWithPreviousAction
| QAction* ui::qt::RunExplorerDialog::m_openWithPreviousAction {nullptr} |
|
private |
◆ m_openWithPreviousButton
| QPushButton* ui::qt::RunExplorerDialog::m_openWithPreviousButton {nullptr} |
|
private |
◆ m_progress
| QProgressBar* ui::qt::RunExplorerDialog::m_progress {nullptr} |
|
private |
◆ m_summary
| QLabel* ui::qt::RunExplorerDialog::m_summary {nullptr} |
|
private |
◆ m_tree
| QTreeWidget* ui::qt::RunExplorerDialog::m_tree {nullptr} |
|
private |
◆ m_verdictFilter
| QComboBox* ui::qt::RunExplorerDialog::m_verdictFilter {nullptr} |
|
private |
◆ m_watcher
The documentation for this class was generated from the following files: