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

#include <TestStep.hpp>

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

Public Member Functions

 TestStepWaitDiameter (TestCase *testCase)
 
 ~TestStepWaitDiameter ()
 
void setCondition (bool fromEntity, const std::string &code, const std::string &bitR, const std::string &hopByHop, const std::string &applicationId, const std::string &sessionId, const std::string &resultCode, const std::string &msisdn, const std::string &imsi, const std::string &serviceContextId)
 
void setConditionRegexpXml (bool fromEntity, const std::string &regexp)
 
void setConditionRegexpHex (bool fromEntity, const std::string &regexp)
 
void setClientSession (anna::diameter::comm::ClientSession *cs)
 
void setServerSession (anna::diameter::comm::ServerSession *ss)
 
anna::diameter::comm::ClientSessiongetClientSession () const
 
anna::diameter::comm::ServerSessiongetServerSession () const
 
const TestDiameterConditiongetCondition () const
 
bool fulfilled (const anna::DataBlock &db)
 
const anna::DataBlockgetMsgDataBlock () 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

◆ TestStepWaitDiameter()

anna::testing::TestStepWaitDiameter::TestStepWaitDiameter ( TestCase testCase)
inline
194  : TestStep(testCase) {
195  a_type = Type::Wait;
196  a_clientSession = NULL;
197  a_serverSession = NULL;
198  }
Type::_v a_type
Definition: TestStep.hpp:83
TestStep(TestCase *testCase)
Definition: TestStep.hpp:64
Definition: TestStep.hpp:61

◆ ~TestStepWaitDiameter()

anna::testing::TestStepWaitDiameter::~TestStepWaitDiameter ( )
inline

Member Function Documentation

◆ asXML()

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

Reimplemented from anna::testing::TestStep.

◆ do_complete()

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

◆ do_execute()

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

◆ do_reset()

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

◆ fulfilled()

bool anna::testing::TestStepWaitDiameter::fulfilled ( const anna::DataBlock db)

◆ getClientSession()

anna::diameter::comm::ClientSession* anna::testing::TestStepWaitDiameter::getClientSession ( ) const
inline
211 { return a_clientSession; }

◆ getCondition()

const TestDiameterCondition& anna::testing::TestStepWaitDiameter::getCondition ( ) const
inline
214 { return a_condition; }

◆ getMsgDataBlock()

const anna::DataBlock& anna::testing::TestStepWaitDiameter::getMsgDataBlock ( ) const
inline
217 { return a_message; }
anna::DataBlock a_message
Definition: TestStep.hpp:86

◆ getServerSession()

anna::diameter::comm::ServerSession* anna::testing::TestStepWaitDiameter::getServerSession ( ) const
inline
212 { return a_serverSession; }

◆ setClientSession()

void anna::testing::TestStepWaitDiameter::setClientSession ( anna::diameter::comm::ClientSession cs)
inline
209 { a_clientSession = cs; }

◆ setCondition()

void anna::testing::TestStepWaitDiameter::setCondition ( bool  fromEntity,
const std::string &  code,
const std::string &  bitR,
const std::string &  hopByHop,
const std::string &  applicationId,
const std::string &  sessionId,
const std::string &  resultCode,
const std::string &  msisdn,
const std::string &  imsi,
const std::string &  serviceContextId 
)

◆ setConditionRegexpHex()

void anna::testing::TestStepWaitDiameter::setConditionRegexpHex ( bool  fromEntity,
const std::string &  regexp 
)

◆ setConditionRegexpXml()

void anna::testing::TestStepWaitDiameter::setConditionRegexpXml ( bool  fromEntity,
const std::string &  regexp 
)

◆ setServerSession()

void anna::testing::TestStepWaitDiameter::setServerSession ( anna::diameter::comm::ServerSession ss)
inline
210 { a_serverSession = ss; }

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