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

Unified Diff: ppapi/tests/testing_instance.cc

Issue 10665007: ppapi: Add test for touch-event support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: self-nits Created 8 years, 6 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
« ppapi/tests/test_input_event.cc ('K') | « ppapi/tests/testing_instance.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/testing_instance.cc
diff --git a/ppapi/tests/testing_instance.cc b/ppapi/tests/testing_instance.cc
index f19292f271fa1d6ac4ec88036320b89434ee9966..ec8c1a4a93fa8e1489562ceb5c6ef0d845374d27 100644
--- a/ppapi/tests/testing_instance.cc
+++ b/ppapi/tests/testing_instance.cc
@@ -32,7 +32,8 @@ TestingInstance::TestingInstance(PP_Instance instance)
executed_tests_(false),
nacl_mode_(false),
ssl_server_port_(-1),
- websocket_port_(-1) {
+ websocket_port_(-1),
+ remove_plugin_(true) {
callback_factory_.Initialize(this);
}
@@ -168,7 +169,8 @@ void TestingInstance::ExecuteTests(int32_t unused) {
// Declare we're done by setting a cookie to either "PASS" or the errors.
ReportProgress(errors_.empty() ? "PASS" : errors_);
- SendTestCommand("DidExecuteTests");
+ if (remove_plugin_)
+ SendTestCommand("DidExecuteTests");
// Note, DidExecuteTests unloads the plugin. We can't really do anthing after
// this point.
}
« ppapi/tests/test_input_event.cc ('K') | « ppapi/tests/testing_instance.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698