chromium/chrome/test/chromedriver/chrome/bidi_tracker_unittest.cc

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

#include <string>
#include <utility>

#include "base/values.h"
#include "chrome/test/chromedriver/chrome/bidi_tracker.h"
#include "chrome/test/chromedriver/chrome/status.h"
#include "chrome/test/chromedriver/net/timeout.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace {

ContainsRegex;
Eq;
Optional;
Pointee;

SendBidiPayloadFunc CopyMessageTo(base::Value::Dict& destination) {}

Status RejectPayload(base::Value::Dict payload) {}

template <int Code>
testing::AssertionResult StatusCodeIs(const Status& status) {}

testing::AssertionResult StatusOk(const Status& status) {}

base::Value::Dict CreateValidParams(std::optional<std::string> channel,
                                    int pong = 1) {}

}  // namespace

TEST(BidiTrackerTest, Ctor) {}

TEST(BidiTrackerTest, SetChannelSuffix) {}

TEST(BidiTrackerTest, ChannelAndFilter) {}

TEST(BidiTrackerTest, ChannelLongerThanFilter) {}

TEST(BidiTrackerTest, ChannelAndFilterAreDifferent) {}

TEST(BidiTrackerTest, ChannelAndNoFilter) {}

TEST(BidiTrackerTest, NoChannelNoFilter) {}

TEST(BidiTrackerTest, NoChannelAndFilter) {}

TEST(BidiTrackerTest, EmptyChannelNoFilter) {}

TEST(BidiTrackerTest, EmptyChannelAndFilter) {}

TEST(BidiTrackerTest, ChannelAndFilterReject) {}

TEST(BidiTrackerTest, UnexpectedMethod) {}

TEST(BidiTrackerTest, UnexpectedName) {}

TEST(BidiTrackerTest, MissingName) {}

TEST(BidiTrackerTest, NoCallback) {}

TEST(BidiTrackerTest, MissingPayload) {}