#include "services/data_decoder/public/cpp/json_sanitizer.h"
#include <memory>
#include "base/functional/bind.h"
#include "base/json/json_reader.h"
#include "base/json/json_writer.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "base/test/gmock_expected_support.h"
#include "base/test/task_environment.h"
#include "base/values.h"
#include "services/data_decoder/public/cpp/test_support/in_process_data_decoder.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace data_decoder {
namespace {
void CheckSuccess(const std::string& json) { … }
void CheckError(const std::string& json) { … }
class DataDecoderJsonSanitizerTest : public ::testing::Test { … };
TEST_F(DataDecoderJsonSanitizerTest, Json) { … }
TEST_F(DataDecoderJsonSanitizerTest, Nesting) { … }
TEST_F(DataDecoderJsonSanitizerTest, Unicode) { … }
}
}