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

Unified Diff: ppapi/tests/test_message_handler.h

Issue 608843002: PPAPI: Add more error testing for postMessageAndAwaitResponse (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix review comment Created 6 years, 3 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 | ppapi/tests/test_message_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_message_handler.h
diff --git a/ppapi/tests/test_message_handler.h b/ppapi/tests/test_message_handler.h
index 70e6a2f8a8ccb12a1172d57b7d19567dadd3e9b0..d64314e332db48fb3b275c3875b86627578431ec 100644
--- a/ppapi/tests/test_message_handler.h
+++ b/ppapi/tests/test_message_handler.h
@@ -10,6 +10,7 @@
#include "ppapi/c/ppb_messaging.h"
#include "ppapi/tests/test_case.h"
+#include "ppapi/tests/test_utils.h"
#include "ppapi/utility/threading/simple_thread.h"
class TestMessageHandler : public TestCase {
@@ -25,9 +26,14 @@ class TestMessageHandler : public TestCase {
std::string TestRegisterErrorConditions();
std::string TestPostMessageAndAwaitResponse();
+ std::string TestExceptions();
const PPB_Messaging_1_2* ppb_messaging_if_;
pp::SimpleThread handler_thread_;
+
+ // For TestExceptions():
+ NestedEvent message_received_;
+ std::string last_message_;
};
#endif // PPAPI_TESTS_TEST_MESSAGE_HANDLER_H_
« no previous file with comments | « no previous file | ppapi/tests/test_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698