diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-01-04 23:54:18 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-01-05 16:23:58 +0900 |
| commit | 8246fd1ff509fc6fbab4683443dc816127ccedaf (patch) | |
| tree | a9276808d3525300b7b0b889afb2d353e018f085 /test/PeerSessionResourceTest.cc | |
| parent | b1132d6b10cd3791b9529d7031d723fd0e2d8215 (diff) | |
Updating upload size and speed must be done separately
Diffstat (limited to 'test/PeerSessionResourceTest.cc')
| -rw-r--r-- | test/PeerSessionResourceTest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/PeerSessionResourceTest.cc b/test/PeerSessionResourceTest.cc index 617c50a0..1cb08263 100644 --- a/test/PeerSessionResourceTest.cc +++ b/test/PeerSessionResourceTest.cc @@ -117,8 +117,8 @@ void PeerSessionResourceTest::testUpdateDownloadLength() PeerSessionResource res(1_k, 1_m); CPPUNIT_ASSERT_EQUAL((int64_t)0LL, res.downloadLength()); - res.updateDownloadLength(100); - res.updateDownloadLength(200); + res.updateDownload(100); + res.updateDownload(200); CPPUNIT_ASSERT_EQUAL((int64_t)300LL, res.downloadLength()); } |
