ANNA Suite
2020b
Multipurpose development suite for Telco applications
|
#include <TestManager.hpp>
Public Member Functions | |
void | registerKey1 (const std::string &key, const TestCase *testCase) noexcept(false) |
void | registerKey2 (const std::string &key, const TestCase *testCase) noexcept(false) |
int | tests () const |
void | setTimerController (anna::timex::Engine *engine) |
void | setReportsDirectory (const std::string &rd) |
const std::string & | getReportsDirectory () const |
void | setDumpHex (bool dh) |
bool | getDumpHex () const |
void | setDumpStdout (bool ds) |
bool | getDumpStdout () const |
void | setDumpInitializedReports (bool enable) |
void | setDumpInProgressReports (bool enable) |
void | setDumpFailedReports (bool enable) |
void | setDumpSuccessReports (bool enable) |
void | setDumpAllReports (bool enable) |
bool | getDumpInitializedReports () const |
bool | getDumpInProgressReports () const |
bool | getDumpFailedReports () const |
bool | getDumpSuccessReports () const |
bool | configureTTPS (int testTicksPerSecond) |
bool | clearTestCase (std::string &result, unsigned int id) |
bool | clearPool (std::string &result) |
bool | resetPool (bool hard) |
void | setPoolRepeats (int repeats) |
int | getPoolRepeats () const |
int | getPoolCycle () const |
bool | getAutoResetHard () const |
void | setAutoResetHard (bool hard=true) |
unsigned int | getInProgressCount () const |
unsigned int | getInitializedCount () const |
unsigned int | getFinishedCount () const |
unsigned int | getInProgressLimit () const |
void | setInProgressLimit (unsigned int limit) |
bool | gotoTestCase (unsigned int id) |
bool | runTestCase (unsigned int id) |
TestCase * | findTestCase (unsigned int id) const |
TestCase * | getTestCase (unsigned int id, const std::string &description="") |
TestCase * | getDiameterTestCaseFromSessionId (const anna::DataBlock &message, std::string &sessionId) |
TestCase * | getDiameterTestCaseFromSubscriberId (const anna::DataBlock &message, std::string &subscriberId) |
void | receiveDiameterMessage (const anna::DataBlock &message, const anna::diameter::comm::ClientSession *clientSession) noexcept(false) |
void | receiveDiameterMessage (const anna::DataBlock &message, const anna::diameter::comm::ServerSession *serverSession) noexcept(false) |
bool | execTestCases (int sync_amount) |
anna::xml::Node * | asXML (anna::xml::Node *parent) const |
anna::xml::Node * | junitAsXML (anna::xml::Node *parent) const |
std::string | asXMLString () const |
std::string | junitAsXMLString () const |
std::string | summaryCounts () const |
std::string | summaryStates () const |
void | tcsStateStats (const TestCase::State::_v beginState, const TestCase::State::_v endState) |
![]() | |
TimeEventObserver (const char *name) | |
std::string | asString () const |
Friends | |
class | anna::Singleton< TestManager > |
class | TestStepTimeout |
class | TestStepDelay |
class | TestClock |
Additional Inherited Members | |
![]() | |
static T & | instantiate () |
static void | release () |
Timer Manager for testing system
anna::xml::Node* anna::testing::TestManager::asXML | ( | anna::xml::Node * | parent | ) | const |
std::string anna::testing::TestManager::asXMLString | ( | ) | const |
bool anna::testing::TestManager::clearPool | ( | std::string & | result | ) |
bool anna::testing::TestManager::clearTestCase | ( | std::string & | result, |
unsigned int | id | ||
) |
bool anna::testing::TestManager::configureTTPS | ( | int | testTicksPerSecond | ) |
bool anna::testing::TestManager::execTestCases | ( | int | sync_amount | ) |
TestCase* anna::testing::TestManager::findTestCase | ( | unsigned int | id | ) | const |
TestCase* anna::testing::TestManager::getDiameterTestCaseFromSessionId | ( | const anna::DataBlock & | message, |
std::string & | sessionId | ||
) |
TestCase* anna::testing::TestManager::getDiameterTestCaseFromSubscriberId | ( | const anna::DataBlock & | message, |
std::string & | subscriberId | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
TestCase* anna::testing::TestManager::getTestCase | ( | unsigned int | id, |
const std::string & | description = "" |
||
) |
bool anna::testing::TestManager::gotoTestCase | ( | unsigned int | id | ) |
anna::xml::Node* anna::testing::TestManager::junitAsXML | ( | anna::xml::Node * | parent | ) | const |
std::string anna::testing::TestManager::junitAsXMLString | ( | ) | const |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
bool anna::testing::TestManager::resetPool | ( | bool | hard | ) |
bool anna::testing::TestManager::runTestCase | ( | unsigned int | id | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
std::string anna::testing::TestManager::summaryCounts | ( | ) | const |
std::string anna::testing::TestManager::summaryStates | ( | ) | const |
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |