#include "third_party/inspector_protocol/crdtp/chromium/protocol_traits.h"
#include "base/json/json_reader.h"
#include "base/test/values_test_util.h"
#include "third_party/inspector_protocol/crdtp/json.h"
#include "third_party/inspector_protocol/crdtp/test_platform.h"
namespace crdtp {
namespace {
IsJson;
Eq;
template <typename T, typename F>
T ConvertTo(const F& from) { … }
template <typename T>
T RoundTrip(const T& from) { … }
TEST(ProtocolTraits, String) { … }
std::vector<uint8_t> MakeVector(const Binary& b) { … }
TEST(ProtocolTraits, BinaryBasic) { … }
TEST(ProtocolTraits, BinarySerialization) { … }
TEST(ProtocolTraits, BinaryInvalidBase64) { … }
TEST(ProtocolTraits, PrimitiveValueSerialization) { … }
template <typename... Args>
base::Value::List MakeList(Args&&... args) { … }
TEST(ProtocolTraits, ListValueSerialization) { … }
TEST(ProtocolTraits, DictValueSerialization) { … }
TEST(ProtocolTraits, DictValueJSONConversion) { … }
}
}