#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "chrome/test/chromedriver/log_replay/devtools_log_reader.h"
#include "base/base_paths.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/path_service.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
const char* const kTestDataPath[] = …;
const char kTestGetTitlePath[] = …;
const char kOneEntryPath[] = …;
const char kBrowserEntryPath[] = …;
const char kTruncatedJSONPath[] = …;
const char kReadableTimestampPathLinux[] = …;
const char kReadableTimestampPathWin[] = …;
base::FilePath GetLogFileFromLiteral(const char literal[]) { … }
}
TEST(DevToolsLogReaderTest, Basic) { … }
TEST(DevToolsLogReaderTest, ReadableTimeStampLinux) { … }
TEST(DevToolsLogReaderTest, ReadableTimeStampWindows) { … }
TEST(DevToolsLogReaderTest, Multiple) { … }
TEST(DevToolsLogReaderTest, EndOfFile) { … }
TEST(DevToolsLogReaderTest, WebSocketBrowser) { … }
TEST(DevToolsLogReaderTest, WebSocketBasic) { … }
TEST(DevToolsLogReaderTest, WebSocketMultiple) { … }
TEST(DevToolsLogReaderTest, WebSocketPayload) { … }
TEST(DevToolsLogReaderTest, TruncatedJSON) { … }