mirror of
https://github.com/aria2/aria2.git
synced 2025-04-05 13:37:40 +03:00
2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Untabify. Fixed one line in copyright which is longer than 80 columns. * src * test
This commit is contained in:
parent
338e8aca09
commit
4db349c1f3
827 changed files with 7343 additions and 7336 deletions
|
@ -53,11 +53,11 @@ void DHTMessageTrackerTest::testMessageArrived()
|
|||
factory->setLocalNode(localNode);
|
||||
|
||||
SharedHandle<MockDHTMessage> m1(new MockDHTMessage(localNode,
|
||||
SharedHandle<DHTNode>(new DHTNode())));
|
||||
SharedHandle<DHTNode>(new DHTNode())));
|
||||
SharedHandle<MockDHTMessage> m2(new MockDHTMessage(localNode,
|
||||
SharedHandle<DHTNode>(new DHTNode())));
|
||||
SharedHandle<DHTNode>(new DHTNode())));
|
||||
SharedHandle<MockDHTMessage> m3(new MockDHTMessage(localNode,
|
||||
SharedHandle<DHTNode>(new DHTNode())));
|
||||
SharedHandle<DHTNode>(new DHTNode())));
|
||||
|
||||
m1->getRemoteNode()->setIPAddress("192.168.0.1");
|
||||
m1->getRemoteNode()->setPort(6881);
|
||||
|
@ -81,7 +81,7 @@ void DHTMessageTrackerTest::testMessageArrived()
|
|||
|
||||
std::pair<SharedHandle<DHTMessage>, SharedHandle<DHTMessageCallback> > p =
|
||||
tracker.messageArrived(resDict, m2->getRemoteNode()->getIPAddress(),
|
||||
m2->getRemoteNode()->getPort());
|
||||
m2->getRemoteNode()->getPort());
|
||||
SharedHandle<DHTMessage> reply = p.first;
|
||||
|
||||
CPPUNIT_ASSERT(!reply.isNull());
|
||||
|
@ -95,7 +95,7 @@ void DHTMessageTrackerTest::testMessageArrived()
|
|||
|
||||
std::pair<SharedHandle<DHTMessage>, SharedHandle<DHTMessageCallback> > p =
|
||||
tracker.messageArrived(resDict, m3->getRemoteNode()->getIPAddress(),
|
||||
m3->getRemoteNode()->getPort());
|
||||
m3->getRemoteNode()->getPort());
|
||||
SharedHandle<DHTMessage> reply = p.first;
|
||||
|
||||
CPPUNIT_ASSERT(!reply.isNull());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue