#include "components/media_router/browser/logger_impl.h"
#include "base/i18n/time_formatting.h"
#include "base/json/json_reader.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "components/media_router/common/mojom/logger.mojom-shared.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace media_router {
constexpr char kComponent[] = …;
constexpr char kMessage[] = …;
constexpr char kSinkId[] = …;
constexpr char kMediaSource[] = …;
constexpr char kSessionId[] = …;
class LoggerImplTest : public testing::Test { … };
TEST_F(LoggerImplTest, RecordAndGetLogs) { … }
TEST_F(LoggerImplTest, TruncateSinkId) { … }
TEST_F(LoggerImplTest, TruncateSessionId) { … }
TEST_F(LoggerImplTest, HandleMirroringMediaSource) { … }
TEST_F(LoggerImplTest, TrimCastMediaSource) { … }
TEST_F(LoggerImplTest, TrimPresentationMediaSource) { … }
}