diff options
| author | Daniel Burrows <dburrows@debian.org> | 2011-03-30 09:25:45 -0700 |
|---|---|---|
| committer | Daniel Burrows <dburrows@debian.org> | 2011-03-30 09:25:45 -0700 |
| commit | 3605a316776eee62aeef478e3992399b7a62f008 (patch) | |
| tree | 7363355ab6b892982686c8c9896a2405f19f4283 /tests | |
| parent | 3aef7ef725cb716bc6f93027d07d5e0fd4a9cd49 (diff) | |
| download | aptitude-3605a316776eee62aeef478e3992399b7a62f008.tar.gz | |
Fix compile errors caused by changes in the libapt API.
Whoever's in charge of libapt these days apparently doesn't believe in
backwards compatibility. Or in documenting how their APIs are to be
used, or why names are deprecated </gripe>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_cmdline_download_progress_display.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_cmdline_download_progress_display.cc b/tests/test_cmdline_download_progress_display.cc index 04ae8ac5..72c4d282 100644 --- a/tests/test_cmdline_download_progress_display.cc +++ b/tests/test_cmdline_download_progress_display.cc @@ -1,6 +1,6 @@ /** \file test_cmdline_download_progress_display.cc */ -// Copyright (C) 2010 Daniel Burrows +// Copyright (C) 2010-2011 Daniel Burrows // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License as @@ -271,14 +271,14 @@ TEST_P(CmdlineDownloadProgressDisplayTest, FileStartedNoIdNoFileSize) { EXPECT_MSG(L"Get: somefile"); - progress->file_started("somefile", optional<unsigned long>(), optional<unsigned long>()); + progress->file_started("somefile", optional<unsigned long>(), optional<unsigned long long>()); } TEST_P(CmdlineDownloadProgressDisplayTest, FileStartedWithIdNoFileSize) { EXPECT_MSG(L"Get: 0 filename"); - progress->file_started("filename", optional<unsigned long>(0), optional<unsigned long>()); + progress->file_started("filename", optional<unsigned long>(0), optional<unsigned long long>()); } TEST_P(CmdlineDownloadProgressDisplayTest, FileStartedNoIdWithFileSize) @@ -308,14 +308,14 @@ TEST_P(CmdlineDownloadProgressDisplayTest, FileAlreadyDownloadedNoIdNoFileSize) { EXPECT_MSG(L"Hit somefile"); - progress->file_already_downloaded("somefile", optional<unsigned long>(), optional<unsigned long>()); + progress->file_already_downloaded("somefile", optional<unsigned long>(), optional<unsigned long long>()); } TEST_P(CmdlineDownloadProgressDisplayTest, FileAlreadyDownloadedWithIdNoFileSize) { EXPECT_MSG(L"Hit 0 filename"); - progress->file_already_downloaded("filename", optional<unsigned long>(0), optional<unsigned long>()); + progress->file_already_downloaded("filename", optional<unsigned long>(0), optional<unsigned long long>()); } TEST_P(CmdlineDownloadProgressDisplayTest, FileAlreadyDownloadedNoIdWithFileSize) |
