summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Hartwig <mandyke@gmail.com>2012-05-11 15:54:19 +0800
committerDaniel Hartwig <mandyke@gmail.com>2012-05-11 16:09:44 +0800
commiteb9f6c23f7a3b4554531b3b8da2b5b05e0fe1da7 (patch)
treebc78d19b9dc3685f06c67dec5db34660e12e3dfd /tests
parentfcc61ba5e6a3b73f48b026ccb4b775d235f5ab41 (diff)
downloadaptitude-eb9f6c23f7a3b4554531b3b8da2b5b05e0fe1da7.tar.gz
Support really big files in the download system
This follows recent changes in apt which added support for files greater than several gigabytes in size -- using the 'unsigned long long' type to store the file size. Changelog download is restored as a result of this. Closes: #669569 LP: #824708
Diffstat (limited to 'tests')
-rw-r--r--tests/test_cmdline_download_status_display.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/test_cmdline_download_status_display.cc b/tests/test_cmdline_download_status_display.cc
index 020e2817..3938a384 100644
--- a/tests/test_cmdline_download_status_display.cc
+++ b/tests/test_cmdline_download_status_display.cc
@@ -278,18 +278,6 @@ TEST_P(CmdlineDownloadStatusDisplayTest, HasCpsNoFilesNoProgressNoTimeEstimate)
0));
}
-// Test that updating the progress produces correct results when the
-// download rate indicator is negative.
-TEST_P(CmdlineDownloadStatusDisplayTest, HasNegativeCpsNoFilesNoProgressNoTimeEstimate)
-{
- EXPECT_MSG(L"0% [Working]");
-
- status_display->display_status(status(-20 * 1000,
- make_files(),
- 0,
- 0));
-}
-
// Test that updating the progress produces correct results with a
// time estimate.
TEST_P(CmdlineDownloadStatusDisplayTest, NoCpsNoFilesNoProgressHasTimeEstimate)