summaryrefslogtreecommitdiff
path: root/test/BtCancelMessageTest.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-10-11 16:58:24 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-10-11 16:58:24 +0000
commit048a2cf59737f761876e81a77e8d064c45c752d7 (patch)
tree65c9d5498aafe6a8c8e640ddfcc43c7013504d0d /test/BtCancelMessageTest.cc
parente26bbbb9eee140ba24402fe872a752b42f0077de (diff)
2007-10-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Implemented BitTorrent/http/ftp integrated download. I've rewritten lots of files and now some headers have forward class declarations to reduce compile time. The implementation is extremely alpha stage, I recommend to use this for testing purpose only.
Diffstat (limited to 'test/BtCancelMessageTest.cc')
-rw-r--r--test/BtCancelMessageTest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/BtCancelMessageTest.cc b/test/BtCancelMessageTest.cc
index 69d4fee2..58f4be7b 100644
--- a/test/BtCancelMessageTest.cc
+++ b/test/BtCancelMessageTest.cc
@@ -22,7 +22,7 @@ public:
MockBtContextHandle btContext;
void setUp() {
- BtRegistry::clear();
+ BtRegistry::unregisterAll();
peer = new Peer("host", 6969, 16*1024, 256*1024);
btContext = new MockBtContext();
btContext->setInfoHash((const unsigned char*)"12345678901234567890");