#include "chrome/browser/download/download_commands.h"
#include <vector>
#include "base/strings/stringprintf.h"
#include "chrome/browser/download/download_item_model.h"
#include "components/download/public/common/mock_download_item.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
DownloadItem;
Mock;
NiceMock;
Return;
ReturnRefOfCopy;
_;
namespace {
const base::FilePath::CharType kDefaultTargetFilePath[] = …);
const char kDefaultURL[] = …;
class DownloadCommandsTest : public testing::Test { … };
}
TEST_F(DownloadCommandsTest, InProgress) { … }
TEST_F(DownloadCommandsTest, OpenWhenCompleteEnabled) { … }
TEST_F(DownloadCommandsTest, Finished) { … }
TEST_F(DownloadCommandsTest, PausedResumable) { … }
TEST_F(DownloadCommandsTest, PausedUnresumable) { … }
TEST_F(DownloadCommandsTest, CantPauseSavePackage) { … }
TEST_F(DownloadCommandsTest, DoOpenWhenComplete) { … }
TEST_F(DownloadCommandsTest, DoShowInFolder) { … }
TEST_F(DownloadCommandsTest, DoCancel) { … }
TEST_F(DownloadCommandsTest, DoPause) { … }
TEST_F(DownloadCommandsTest, DoResume) { … }
TEST_F(DownloadCommandsTest,
GetLearnMoreURLForInterruptedDownload_ContainsContext) { … }
TEST_F(DownloadCommandsTest, InvalidDownloadWontCrashDownloadCommands) { … }