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:
Tatsuhiro Tsujikawa 2010-06-21 13:51:56 +00:00
parent ae957baa98
commit ca4940622c
550 changed files with 10253 additions and 10248 deletions

View file

@ -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());