#include "components/download/public/common/all_download_event_notifier.h"
#include "base/functional/callback_helpers.h"
#include "components/download/public/common/mock_download_item.h"
#include "components/download/public/common/mock_simple_download_manager.h"
#include "components/download/public/common/simple_download_manager_coordinator.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
NiceMock;
namespace download {
namespace {
class MockNotifierObserver : public AllDownloadEventNotifier::Observer { … };
class AllDownloadEventNotifierTest : public testing::Test { … };
}
TEST_F(AllDownloadEventNotifierTest, OnDownloadCreated) { … }
TEST_F(AllDownloadEventNotifierTest, OnDownloadsInitialized) { … }
TEST_F(AllDownloadEventNotifierTest,
SetFullManagerBeforeInProgressManagerInitializes) { … }
TEST_F(AllDownloadEventNotifierTest, OnDownloadUpdated) { … }
TEST_F(AllDownloadEventNotifierTest, AddObserverAfterManagerInitialization) { … }
TEST_F(AllDownloadEventNotifierTest, MultipleOnDownloadCreatedOnSameDownload) { … }
}