chromium/third_party/openscreen/src/util/json/json_serialization_unittest.cc

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

#include "util/json/json_serialization.h"

#include <array>
#include <string>

#include "gtest/gtest.h"
#include "platform/base/error.h"

namespace openscreen {
namespace {
template <typename Value>
void AssertError(ErrorOr<Value> error_or, Error::Code code) {}
}  // namespace

TEST(JsonSerializationTest, MalformedDocumentReturnsParseError) {}

TEST(JsonSerializationTest, ValidEmptyDocumentParsedCorrectly) {}

// Jsoncpp has its own suite of tests ensure that things are parsed correctly,
// so we only do some rudimentary checks here to make sure we didn't mangle
// the value.
TEST(JsonSerializationTest, ValidDocumentParsedCorrectly) {}

TEST(JsonSerializationTest, EmptyArrayReturnsBrackets) {}

TEST(JsonSerializationTest, NullValueReturnsNull) {}

TEST(JsonSerializationTest, ValidValueReturnsString) {}
}  // namespace openscreen