#include "extensions/browser/api/declarative_net_request/filter_list_converter/converter.h"
#include <optional>
#include "base/check_op.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/json/json_file_value_serializer.h"
#include "base/json/json_reader.h"
#include "base/strings/string_util.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace extensions::declarative_net_request::filter_list_converter {
namespace {
void TestConversion(std::vector<std::string> filter_list_rules,
std::string json_result,
WriteType write_type) { … }
class FilterListConverterTest : public ::testing::TestWithParam<WriteType> { … };
TEST_P(FilterListConverterTest, Convert) { … }
INSTANTIATE_TEST_SUITE_P(…);
}
}