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

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: . 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
« no previous file with comments | « 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 f505ff78dfb1f3071d9e857cfea5b7527a4bfadf..a6fa0dd37932b5d0fc8fac22ef94bcd9620f01b9 100644
--- a/ppapi/tests/testing_instance.cc
+++ b/ppapi/tests/testing_instance.cc
@@ -33,7 +33,8 @@ TestingInstance::TestingInstance(PP_Instance instance)
number_tests_executed_(0),
nacl_mode_(false),
ssl_server_port_(-1),
- websocket_port_(-1) {
+ websocket_port_(-1),
+ remove_plugin_(true) {
callback_factory_.Initialize(this);
}
@@ -179,7 +180,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.
}
« no previous file with comments | « ppapi/tests/testing_instance.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698