Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Unified Diff: courgette/base_test_unittest.h

Issue 8252011: Add a basic backwards compatibility unittest. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fix review nits. Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | courgette/base_test_unittest.cc » ('j') | courgette/base_test_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | courgette/base_test_unittest.cc » ('j') | courgette/base_test_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698