A Discrete-Event Network Simulator
API
Public Member Functions | Public Attributes | List of all members
ns3::TestCase::Result Struct Reference

Container for results from a TestCase. More...

Public Member Functions

 Result ()
 Constructor. More...
 

Public Attributes

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

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 266 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: