A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::TestCase::Result Struct Reference

Container for results from a TestCase. More...

+ Collaboration diagram for ns3::TestCase::Result:

Public Member Functions

 Result ()
 Constructor.
 

Public Attributes

bool childrenFailed
 true if any child TestCases failed.
 
SystemWallClockMs clock
 Test running time.
 
std::vector< TestCaseFailurefailure
 TestCaseFailure records for each child.
 

Detailed Description

Container for results from a TestCase.

Definition at line 120 of file test.cc.

Constructor & Destructor Documentation

◆ Result()

ns3::TestCase::Result::Result ( )

Constructor.

Definition at line 270 of file test.cc.

References NS_LOG_FUNCTION.

Member Data Documentation

◆ childrenFailed

bool ns3::TestCase::Result::childrenFailed

true if any child TestCases failed.

Definition at line 130 of file test.cc.

Referenced by ns3::TestCase::IsFailed(), and ns3::TestCase::ReportTestFailure().

◆ clock

SystemWallClockMs ns3::TestCase::Result::clock

Test running time.

Definition at line 126 of file test.cc.

Referenced by ns3::TestCase::Run().

◆ failure

std::vector<TestCaseFailure> ns3::TestCase::Result::failure

TestCaseFailure records for each child.

Definition at line 128 of file test.cc.

Referenced by ns3::TestCase::IsFailed(), ns3::TestCase::IsStatusSuccess(), and ns3::TestCase::ReportTestFailure().


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