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

Unified Diff: ppapi/tests/test_hello.h

Issue 8414054: Hello Pepper API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 1 month 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 | « ppapi/tests/all_cpp_includes.h ('k') | ppapi/tests/test_hello.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_hello.h
diff --git a/ppapi/tests/test_hello.h b/ppapi/tests/test_hello.h
new file mode 100644
index 0000000000000000000000000000000000000000..c916db4c870f4a8c192f89a055631d9df98efbc0
--- /dev/null
+++ b/ppapi/tests/test_hello.h
@@ -0,0 +1,29 @@
+// 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.
+
+#ifndef PAPPI_TESTS_TEST_HELLO_H_
+#define PAPPI_TESTS_TEST_HELLO_H_
+
+#include <string>
+
+#include "ppapi/c/dev/ppb_hello_dev.h"
+#include "ppapi/tests/test_case.h"
+
+class TestHello : public TestCase {
+ public:
+ explicit TestHello(TestingInstance* instance);
+
+ // TestCase implementation.
+ virtual bool Init();
+ virtual void RunTest();
+
+ private:
+ std::string TestCreate();
+ std::string TestSayHello();
+ std::string TestWhoAreYou();
+
+ const PPB_Hello_Dev* hello_interface_;
+};
+
+#endif // PAPPI_TESTS_TEST_HELLO_H_
« no previous file with comments | « ppapi/tests/all_cpp_includes.h ('k') | ppapi/tests/test_hello.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698