ANNA Suite  2020b
Multipurpose development suite for Telco applications
Public Member Functions | List of all members
anna::testing::TestStepTimeout Class Reference

#include <TestStep.hpp>

Inheritance diagram for anna::testing::TestStepTimeout:
Inheritance graph
[legend]
Collaboration diagram for anna::testing::TestStepTimeout:
Collaboration graph
[legend]

Public Member Functions

 TestStepTimeout (TestCase *testCase)
 
 ~TestStepTimeout ()
 
void setTimeout (const anna::Millisecond &t)
 
const anna::MillisecondgetTimeout () const
 
bool do_execute ()
 
void do_complete ()
 
void do_reset ()
 
void cancelTimer ()
 
anna::xml::NodeasXML (anna::xml::Node *parent)
 
- Public Member Functions inherited from anna::testing::TestStep
 TestStep (TestCase *testCase)
 
virtual ~TestStep ()
 
const Type::_vgetType () const
 
const int & getNumber () const
 
bool isCompleted () const
 
anna::Millisecond getLapseMs () const
 
bool execute ()
 
void complete ()
 
void reset ()
 
void next ()
 
std::string asXMLString ()
 

Additional Inherited Members

- Static Public Member Functions inherited from anna::testing::TestStep
static const char * asText (const Type::_v type)
 
- Protected Member Functions inherited from anna::testing::TestStep
bool decodeMessage (bool trust=false)
 
- Protected Attributes inherited from anna::testing::TestStep
TestCasea_testCase
 
bool a_completed
 
Type::_v a_type
 
anna::DataBlock a_message
 
anna::diameter::codec::Messagea_messageCodec
 

Constructor & Destructor Documentation

◆ TestStepTimeout()

anna::testing::TestStepTimeout::TestStepTimeout ( TestCase testCase)
inline
105 : TestStep(testCase), a_timeout(0), a_timer(NULL) { a_type = Type::Timeout; }
Type::_v a_type
Definition: TestStep.hpp:83
Definition: TestStep.hpp:61
TestStep(TestCase *testCase)
Definition: TestStep.hpp:64

◆ ~TestStepTimeout()

anna::testing::TestStepTimeout::~TestStepTimeout ( )
inline

Member Function Documentation

◆ asXML()

anna::xml::Node* anna::testing::TestStepTimeout::asXML ( anna::xml::Node parent)
virtual

Reimplemented from anna::testing::TestStep.

◆ cancelTimer()

void anna::testing::TestStepTimeout::cancelTimer ( )

◆ do_complete()

void anna::testing::TestStepTimeout::do_complete ( )
virtual

◆ do_execute()

bool anna::testing::TestStepTimeout::do_execute ( )
virtual

◆ do_reset()

void anna::testing::TestStepTimeout::do_reset ( )
virtual

◆ getTimeout()

const anna::Millisecond& anna::testing::TestStepTimeout::getTimeout ( ) const
inline
110 { return a_timeout; }

◆ setTimeout()

void anna::testing::TestStepTimeout::setTimeout ( const anna::Millisecond t)
inline
109 { a_timeout = t; }

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