// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifdef UNSAFE_BUFFERS_BUILD // TODO(crbug.com/351564777): Remove this and convert code to safer constructs. #pragma allow_unsafe_buffers #endif #include "third_party/blink/renderer/platform/json/json_parser.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/blink/renderer/platform/json/json_values.h" #include "third_party/blink/renderer/platform/wtf/text/string_builder.h" namespace blink { TEST(JSONParserTest, Reading) { … } TEST(JSONParserTest, InvalidSanity) { … } // Test that the nesting depth can be limited to values less than 1000, but // cannot be extended past that maximum. TEST(JSONParserTest, LimitedDepth) { … } } // namespace blink