LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
Loading...
Searching...
No Matches
analyzer::TestOutline Struct Reference

#include <TestOutline.hpp>

Collaboration diagram for analyzer::TestOutline:
Collaboration graph

Public Member Functions

bool HasTest () const
 True when the events contain a test (TEST_START), i.e. there is an outline to show.
 

Public Attributes

std::string testName
 
TestVerdict verdict {TestVerdict::Unknown}
 
std::optional< std::size_t > testStartRow
 
std::optional< std::size_t > testEndRow
 
std::optional< std::size_t > decisiveFailureRow
 
std::string failingStep
 keyword name of the decisive failure (empty: none recorded)
 
std::string failureMessage
 its message
 
std::vector< TestStep > sections
 

Member Function Documentation

◆ HasTest()

bool analyzer::TestOutline::HasTest ( ) const
inline

True when the events contain a test (TEST_START), i.e. there is an outline to show.

Here is the caller graph for this function:

Member Data Documentation

◆ decisiveFailureRow

std::optional<std::size_t> analyzer::TestOutline::decisiveFailureRow

FAIL only: the STEP_FAIL that failed the test, or TEST_END when the log records no failing keyword (e.g. the suite setup failed elsewhere).

◆ failingStep

std::string analyzer::TestOutline::failingStep

keyword name of the decisive failure (empty: none recorded)

◆ failureMessage

std::string analyzer::TestOutline::failureMessage

its message

◆ sections

std::vector<TestStep> analyzer::TestOutline::sections

◆ testEndRow

std::optional<std::size_t> analyzer::TestOutline::testEndRow

◆ testName

std::string analyzer::TestOutline::testName

◆ testStartRow

std::optional<std::size_t> analyzer::TestOutline::testStartRow

◆ verdict

TestVerdict analyzer::TestOutline::verdict {TestVerdict::Unknown}

The documentation for this struct was generated from the following file: