#include "extensions/browser/json_file_sanitizer.h"
#include <memory>
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "content/public/test/browser_task_environment.h"
#include "extensions/browser/extension_file_task_runner.h"
#include "services/data_decoder/public/cpp/data_decoder.h"
#include "services/data_decoder/public/cpp/test_support/in_process_data_decoder.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace extensions {
namespace {
class JsonFileSanitizerTest : public testing::Test { … };
}
TEST_F(JsonFileSanitizerTest, NoFilesProvided) { … }
TEST_F(JsonFileSanitizerTest, ValidCase) { … }
TEST_F(JsonFileSanitizerTest, MissingJsonFile) { … }
TEST_F(JsonFileSanitizerTest, InvalidJson) { … }
}