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

Unified Diff: mojo/public/cpp/bindings/tests/wtf_test_base.h

Issue 1751563002: Mojo C++ bindings: support mapping mojo string to WTF::String. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
Index: mojo/public/cpp/bindings/tests/wtf_test_base.h
diff --git a/mojo/public/cpp/bindings/tests/wtf_test_base.h b/mojo/public/cpp/bindings/tests/wtf_test_base.h
new file mode 100644
index 0000000000000000000000000000000000000000..8ab13249af91ccd3978f133228fc3ec874a9e7a6
--- /dev/null
+++ b/mojo/public/cpp/bindings/tests/wtf_test_base.h
@@ -0,0 +1,30 @@
+// Copyright 2016 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.
+
+#ifndef MOJO_PUBLIC_CPP_BINDINGS_TESTS_WTF_TEST_BASE_H_
+#define MOJO_PUBLIC_CPP_BINDINGS_TESTS_WTF_TEST_BASE_H_
+
+#include "base/macros.h"
+#include "testing/gtest/include/gtest/gtest.h"
+
+namespace mojo {
+namespace test {
+
+class WTFTestBase : public testing::Test {
+ public:
+ ~WTFTestBase() override;
+
+ protected:
+ WTFTestBase();
+
+ // testing::Test overrides:
+ void SetUp() override;
+
+ DISALLOW_COPY_AND_ASSIGN(WTFTestBase);
+};
+
+} // namespace test
+} // namespace mojo
+
+#endif // MOJO_PUBLIC_CPP_BINDINGS_TESTS_WTF_TEST_BASE_H_

Powered by Google App Engine
This is Rietveld 408576698