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

#include <TestStep.hpp>

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

Public Member Functions

 TestStepDelay (TestCase *testCase)
 
 ~TestStepDelay ()
 
void setDelay (const anna::Millisecond &d)
 
const anna::MillisecondgetDelay () 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

◆ TestStepDelay()

anna::testing::TestStepDelay::TestStepDelay ( TestCase testCase)
inline
171 : TestStep(testCase), a_delay(0), a_timer(NULL) { a_type = Type::Delay; }
Definition: TestStep.hpp:61
Type::_v a_type
Definition: TestStep.hpp:83
TestStep(TestCase *testCase)
Definition: TestStep.hpp:64

◆ ~TestStepDelay()

anna::testing::TestStepDelay::~TestStepDelay ( )
inline

Member Function Documentation

◆ asXML()

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

Reimplemented from anna::testing::TestStep.

◆ cancelTimer()

void anna::testing::TestStepDelay::cancelTimer ( )

◆ do_complete()

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

◆ do_execute()

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

◆ do_reset()

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

◆ getDelay()

const anna::Millisecond& anna::testing::TestStepDelay::getDelay ( ) const
inline
176 { return a_delay; }

◆ setDelay()

void anna::testing::TestStepDelay::setDelay ( const anna::Millisecond d)
inline
175 { a_delay = d; }

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