// 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. #ifndef TESTING_DATA_DRIVEN_TESTING_DATA_DRIVEN_TEST_H_ #define TESTING_DATA_DRIVEN_TESTING_DATA_DRIVEN_TEST_H_ #include <string> #include "base/files/file_path.h" namespace testing { // A convenience class for implementing data-driven tests. Subclassers need only // implement the conversion of serialized input data to serialized output data // and provide a set of input files. For each input file, on the first run, a // gold output file is generated; for subsequent runs, the test output is // compared to this gold output. class DataDrivenTest { … }; } // namespace testing #endif // TESTING_DATA_DRIVEN_TESTING_DATA_DRIVEN_TEST_H_