chromium/testing/data_driven_testing/data_driven_test.cc

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

#include "testing/data_driven_testing/data_driven_test.h"

#include "base/files/file_enumerator.h"
#include "base/files/file_util.h"
#include "base/strings/string_util.h"
#include "base/threading/thread_restrictions.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/re2/src/re2/re2.h"

namespace testing {
namespace {

// Reads |file| into |content|, and converts Windows line-endings to Unix ones.
// Returns true on success.
bool ReadFile(const base::FilePath& file, std::string* content) {}

// Write |content| to |file|. Returns true on success.
bool WriteFile(const base::FilePath& file, const std::string& content) {}

// Removes lines starting with (optional) whitespace and a #.
void StripComments(std::string* content) {}

}  // namespace

void DataDrivenTest::RunDataDrivenTest(
    const base::FilePath& input_directory,
    const base::FilePath& output_directory,
    const base::FilePath::StringType& file_name_pattern) {}

void DataDrivenTest::RunOneDataDrivenTest(
    const base::FilePath& test_file_name,
    const base::FilePath& output_directory,
    bool is_expected_to_pass) {}

base::FilePath DataDrivenTest::GetInputDirectory() {}

base::FilePath DataDrivenTest::GetOutputDirectory() {}

DataDrivenTest::DataDrivenTest(
    const base::FilePath& test_data_directory,
    const base::FilePath::StringType& feature_directory,
    const base::FilePath::StringType& test_name)
    :{}

DataDrivenTest::~DataDrivenTest() {}

}  // namespace testing