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

#include <TestStep.hpp>

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

Public Member Functions

 TestStepIpLimit (TestCase *testCase)
 
 ~TestStepIpLimit ()
 
void setIpLimit (unsigned int limit)
 
unsigned int getIpLimit () const
 
bool do_execute ()
 
void do_complete ()
 
void do_reset ()
 
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

◆ TestStepIpLimit()

anna::testing::TestStepIpLimit::TestStepIpLimit ( TestCase testCase)
inline
275 : TestStep(testCase), a_ipLimit(1) { a_type = Type::IpLimit; }
Type::_v a_type
Definition: TestStep.hpp:83
Definition: TestStep.hpp:61
TestStep(TestCase *testCase)
Definition: TestStep.hpp:64

◆ ~TestStepIpLimit()

anna::testing::TestStepIpLimit::~TestStepIpLimit ( )
inline
276 { do_reset(); }
void do_reset()
Definition: TestStep.hpp:285

Member Function Documentation

◆ asXML()

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

Reimplemented from anna::testing::TestStep.

◆ do_complete()

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

◆ do_execute()

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

◆ do_reset()

void anna::testing::TestStepIpLimit::do_reset ( )
inlinevirtual

Implements anna::testing::TestStep.

285 {;}

◆ getIpLimit()

unsigned int anna::testing::TestStepIpLimit::getIpLimit ( ) const
inline
280 { return a_ipLimit; }

◆ setIpLimit()

void anna::testing::TestStepIpLimit::setIpLimit ( unsigned int  limit)
inline
279 { a_ipLimit = limit; }

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