| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_AUTOFILL_DATA_DRIVEN_TEST_H_ | 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_DATA_DRIVEN_TEST_H_ |
| 6 #define CHROME_BROWSER_AUTOFILL_DATA_DRIVEN_TEST_H_ | 6 #define COMPONENTS_AUTOFILL_BROWSER_DATA_DRIVEN_TEST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/string16.h" | 11 #include "base/string16.h" |
| 12 | 12 |
| 13 // A convenience class for implementing data-driven tests. Subclassers need only | 13 // A convenience class for implementing data-driven tests. Subclassers need only |
| 14 // implement the conversion of serialized input data to serialized output data | 14 // implement the conversion of serialized input data to serialized output data |
| 15 // and provide a set of input files. For each input file, on the first run, a | 15 // and provide a set of input files. For each input file, on the first run, a |
| 16 // gold output file is generated; for subsequent runs, the test ouptut is | 16 // gold output file is generated; for subsequent runs, the test ouptut is |
| (...skipping 23 matching lines...) Expand all Loading... |
| 40 const base::FilePath::StringType& test_name); | 40 const base::FilePath::StringType& test_name); |
| 41 | 41 |
| 42 protected: | 42 protected: |
| 43 DataDrivenTest(); | 43 DataDrivenTest(); |
| 44 virtual ~DataDrivenTest(); | 44 virtual ~DataDrivenTest(); |
| 45 | 45 |
| 46 private: | 46 private: |
| 47 DISALLOW_COPY_AND_ASSIGN(DataDrivenTest); | 47 DISALLOW_COPY_AND_ASSIGN(DataDrivenTest); |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 #endif // CHROME_BROWSER_AUTOFILL_DATA_DRIVEN_TEST_H_ | 50 #endif // COMPONENTS_AUTOFILL_BROWSER_DATA_DRIVEN_TEST_H_ |
| OLD | NEW |