Chromium Code Reviews| Index: courgette/base_test_unittest.h |
| diff --git a/courgette/base_test_unittest.h b/courgette/base_test_unittest.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..777495a3d20e006c1b5a0f08e4d063ce295a83b2 |
| --- /dev/null |
| +++ b/courgette/base_test_unittest.h |
| @@ -0,0 +1,26 @@ |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include <string> |
|
Paweł Hajdan Jr.
2011/10/19 08:46:39
What's that? It's included twice in this file, and
|
| + |
| +#ifndef COURGETTE_BASE_TEST_UNITTEST_H_ |
| +#define COURGETTE_BASE_TEST_UNITTEST_H_ |
| + |
| +#include <string> |
| + |
| +#include "base/file_util.h" |
| +#include "testing/gtest/include/gtest/gtest.h" |
| + |
| +class BaseTest : public testing::Test { |
| + public: |
| + std::string FileContents(const char* file_name) const; |
| + |
| + private: |
| + virtual void SetUp(); |
| + virtual void TearDown(); |
| + |
| + FilePath test_dir_; |
| +}; |
| + |
| +#endif // COURGETTE_BASE_TEST_UNITTEST_H_ |
|
Paweł Hajdan Jr.
2011/10/19 08:46:39
nit: Two spaces before // please.
|