mirror of
https://github.com/aria2/aria2.git
synced 2025-04-05 13:37:40 +03:00
2010-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Changed naming standards for class member variable: now it looks like var_ instead of _var.
This commit is contained in:
parent
ae957baa98
commit
ca4940622c
550 changed files with 10253 additions and 10248 deletions
|
@ -34,7 +34,7 @@ public:
|
|||
const std::string& transactionID)
|
||||
{
|
||||
return SharedHandle<MockDHTResponseMessage>
|
||||
(new MockDHTResponseMessage(_localNode, remoteNode, "ping_reply",
|
||||
(new MockDHTResponseMessage(localNode_, remoteNode, "ping_reply",
|
||||
transactionID));
|
||||
}
|
||||
};
|
||||
|
@ -88,10 +88,10 @@ void DHTPingMessageTest::testDoReceivedAction()
|
|||
|
||||
msg.doReceivedAction();
|
||||
|
||||
CPPUNIT_ASSERT_EQUAL((size_t)1, dispatcher._messageQueue.size());
|
||||
CPPUNIT_ASSERT_EQUAL((size_t)1, dispatcher.messageQueue_.size());
|
||||
SharedHandle<MockDHTResponseMessage> m
|
||||
(dynamic_pointer_cast<MockDHTResponseMessage>
|
||||
(dispatcher._messageQueue[0]._message));
|
||||
(dispatcher.messageQueue_[0].message_));
|
||||
CPPUNIT_ASSERT(localNode == m->getLocalNode());
|
||||
CPPUNIT_ASSERT(remoteNode == m->getRemoteNode());
|
||||
CPPUNIT_ASSERT_EQUAL(std::string("ping_reply"), m->getMessageType());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue