projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Abstract testing a little more
[anna.git]
/
source
/
testing
/
TestCase.cpp
diff --git
a/source/testing/TestCase.cpp
b/source/testing/TestCase.cpp
index
455c61b
..
818093b
100644
(file)
--- a/
source/testing/TestCase.cpp
+++ b/
source/testing/TestCase.cpp
@@
-256,7
+256,7
@@
void TestCase::assertMessage(const anna::DataBlock &db, bool toEntity) throw(ann
if (registerKeys) {
TestManager &testManager = TestManager::instantiate();
if (registerKeys) {
TestManager &testManager = TestManager::instantiate();
- testManager.register
SessionId
(anna::diameter::helpers::base::functions::getSessionId(db), this);
+ testManager.register
Key1
(anna::diameter::helpers::base::functions::getSessionId(db), this);
std::string subscriberId = anna::diameter::helpers::dcca::functions::getSubscriptionIdData(db, anna::diameter::helpers::dcca::AVPVALUES__Subscription_Id_Type::END_USER_E164);
std::string subscriberId = anna::diameter::helpers::dcca::functions::getSubscriptionIdData(db, anna::diameter::helpers::dcca::AVPVALUES__Subscription_Id_Type::END_USER_E164);
@@
-264,7
+264,7
@@
void TestCase::assertMessage(const anna::DataBlock &db, bool toEntity) throw(ann
subscriberId = anna::diameter::helpers::dcca::functions::getSubscriptionIdData(db, anna::diameter::helpers::dcca::AVPVALUES__Subscription_Id_Type::END_USER_IMSI);
if (subscriberId != "")
subscriberId = anna::diameter::helpers::dcca::functions::getSubscriptionIdData(db, anna::diameter::helpers::dcca::AVPVALUES__Subscription_Id_Type::END_USER_IMSI);
if (subscriberId != "")
- testManager.register
SubscriberId
(subscriberId, this);
+ testManager.register
Key2
(subscriberId, this);
}
}
}
}