#include <string>
#include "base/test/task_environment.h"
#include "components/media_router/browser/issue_manager.h"
#include "components/media_router/browser/test/test_helper.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
_;
SaveArg;
namespace media_router {
namespace {
IssueInfo CreateTestIssue(IssueInfo::Severity severity) { … }
}
class IssueManagerTest : public ::testing::Test { … };
TEST_F(IssueManagerTest, AddAndClearIssue) { … }
TEST_F(IssueManagerTest, AddPermissionIssue) { … }
TEST_F(IssueManagerTest, IssuesDeletionShouldNotAffectOrder) { … }
TEST_F(IssueManagerTest, AddSameIssueInfoHasNoEffect) { … }
TEST_F(IssueManagerTest, IssuesGetAutoDismissed) { … }
TEST_F(IssueManagerTest, IssueAutoDismissNoopsIfAlreadyCleared) { … }
TEST_F(IssueManagerTest, ClearAllIssues) { … }
TEST_F(IssueManagerTest, ClearTopIssueForSink) { … }
}