|
LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
|
"Test Steps" tab: the step outline of a test-harness log. More...
#include <TestStepsPanel.hpp>


Public Slots | |
| void | Refresh () |
| Re-analyses the events if they changed since the last call. | |
Signals | |
| void | NavigateToEvent (int actualRow) |
Public Member Functions | |
| TestStepsPanel (db::EventsContainer &events, QWidget *parent=nullptr) | |
Protected Member Functions | |
| bool | eventFilter (QObject *watched, QEvent *event) override |
| Enter / Return on the tree activates the current row. | |
Private Member Functions | |
| void | BuildLayout () |
| void | ShowOutline () |
| void | ActivateItem (QTreeWidgetItem *item) |
Private Attributes | |
| db::EventsContainer & | m_events |
| analyzer::TestOutline | m_outline |
| bool | m_built {false} |
| std::uint64_t | m_builtGeneration {0} |
| std::size_t | m_builtSize {0} |
| db::EventsContainer::FileMetadata | m_builtMetadata |
| QLabel * | m_hint {nullptr} |
| QFrame * | m_banner {nullptr} |
| QLabel * | m_bannerText {nullptr} |
| QPushButton * | m_goToFailure {nullptr} |
| QTreeWidget * | m_tree {nullptr} |
"Test Steps" tab: the step outline of a test-harness log.
Shows analyzer::BuildTestOutline() as a tree (sections → keywords and expectations) with status, start relative to TEST_START, duration and event count, under a banner with the verdict and, for a failed test, the step and message that failed it plus a "Go to failure" button. Double-click or Enter on a row, or the button, emits NavigateToEvent() with the event's container index. Logs without TEST_START only get a short hint.
The outline describes the whole log, not the filtered rows, so Refresh() re-analyses only when the loaded data changes.
|
explicit |

|
private |


|
private |


|
overrideprotected |
Enter / Return on the tree activates the current row.

|
signal |

|
slot |
Re-analyses the events if they changed since the last call.

|
private |


|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |