#include "base/json/json_value_converter.h"
#include <memory>
#include <optional>
#include <string>
#include <string_view>
#include <vector>
#include "base/json/json_reader.h"
#include "base/values.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace base {
namespace {
struct SimpleMessage { … };
struct NestedMessage { … };
}
TEST(JSONValueConverterTest, ParseSimpleMessage) { … }
TEST(JSONValueConverterTest, ParseNestedMessage) { … }
TEST(JSONValueConverterTest, ParseFailures) { … }
TEST(JSONValueConverterTest, ParseWithMissingFields) { … }
TEST(JSONValueConverterTest, EnumParserFails) { … }
TEST(JSONValueConverterTest, RepeatedValueErrorInTheMiddle) { … }
}