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..bf9db5470884bf9de6adcc9f75ab32afb245ea57 |
| --- /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> |
| + |
| +#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: |
| + void SetUp(); |
|
Michael Krebs
2011/10/17 21:22:14
I believe this and TearDown() should be marked as
dgarrett
2011/10/17 21:50:59
Done.
|
| + void TearDown(); |
| + |
| + FilePath test_dir_; |
| +}; |
| + |
| +#endif // COURGETTE_BASE_TEST_UNITTEST_H_ |