chromium/chrome/test/chromedriver/log_replay/devtools_log_reader_unittest.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#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 {
// Log files to test the reader against
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[]) {}
}  // namespace

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) {}