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_ |