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

// Copyright 2020 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_helpers.h"

#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "util/chrono_helpers.h"

namespace openscreen::json {
namespace {

ElementsAre;

const Json::Value kNone;
const Json::Value kEmptyString =;
const Json::Value kEmptyArray(Json::arrayValue);

struct Dummy {};

bool TryParseDummy(const Json::Value& value, Dummy* out) {}

}  // namespace

TEST(ParsingHelpersTest, TryParseDouble) {}

TEST(ParsingHelpersTest, TryParseInt) {}

TEST(ParsingHelpersTest, TryParseUint) {}

TEST(ParsingHelpersTest, TryParseString) {}

// Simple fraction validity is tested extensively in its unit tests, so we
// just check the major cases here.
TEST(ParsingHelpersTest, TryParseSimpleFraction) {}

TEST(ParsingHelpersTest, TryParseMilliseconds) {}

TEST(ParsingHelpersTest, TryParseArray) {}

TEST(ParsingHelpersTest, TryParseIntArray) {}

TEST(ParsingHelpersTest, TryParseUintArray) {}

TEST(ParsingHelpersTest, TryParseStringArray) {}

}  // namespace openscreen::json