chromium/components/subresource_filter/tools/ruleset_converter/ruleset_converter_unittest.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/subresource_filter/tools/ruleset_converter/ruleset_converter.h"

#include <string>
#include <vector>

#include "base/files/file_path.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "components/subresource_filter/tools/ruleset_converter/ruleset_test_util.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace subresource_filter {

// Returns a small number of predefined rules in text format.
std::vector<std::string> GetSomeRules() {}

base::CommandLine::StringType AsciiToNativeString(std::string ascii) {}

class RulesetConverterTest : public testing::Test {};

TEST_F(RulesetConverterTest, InputNotFound_Fails) {}

TEST_F(RulesetConverterTest, NoInputFiles_Fails) {}

TEST_F(RulesetConverterTest, OutputDirNotFound_Fails) {}

TEST_F(RulesetConverterTest, BadInputFormat_Fails) {}

TEST_F(RulesetConverterTest, BadOutputFormat_Fails) {}

TEST_F(RulesetConverterTest, BadChromeVersions_Fail) {}

TEST_F(RulesetConverterTest, NoInput_Fails) {}

TEST_F(RulesetConverterTest, NoOutput_Fails) {}

TEST_F(RulesetConverterTest, InputAndOneOutput_Succeeds) {}

TEST_F(RulesetConverterTest, MultipleInputs) {}

TEST_F(RulesetConverterTest, MultipleOutputs) {}

TEST_F(RulesetConverterTest, UrlOutput) {}

TEST_F(RulesetConverterTest, CssOutput) {}

TEST_F(RulesetConverterTest, ChromeVersions) {}

TEST_F(RulesetConverterTest, FormatConversions) {}

}  // namespace subresource_filter