#include "components/autofill/core/browser/logging/log_router.h"
#include "base/values.h"
#include "components/autofill/core/browser/logging/log_receiver.h"
#include "components/autofill/core/browser/logging/stub_log_manager.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
namespace autofill {
namespace {
const char kTestText[] = …;
class MockLogReceiver : public LogReceiver { … };
class MockLogManager : public StubLogManager { … };
}
class LogRouterTest : public testing::Test { … };
TEST_F(LogRouterTest, ProcessLog_OneReceiver) { … }
TEST_F(LogRouterTest, ProcessLog_TwoReceiversBothUpdated) { … }
TEST_F(LogRouterTest, ProcessLog_TwoReceiversNoUpdateAfterUnregistering) { … }
TEST_F(LogRouterTest, RegisterManager_NoReceivers) { … }
TEST_F(LogRouterTest, RegisterManager_OneReceiverBeforeManager) { … }
TEST_F(LogRouterTest, RegisterManager_OneManagerBeforeReceiver) { … }
TEST_F(LogRouterTest, RegisterManager_OneManagerTwoReceivers) { … }
}