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

Side by Side Diff: ppapi/tests/testing_instance.h

Issue 4979006: Run Pepper unit tests in Native Client... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/tests/test_case.html ('k') | ppapi/tests/testing_instance.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_TEST_TESTING_INSTANCE_H_ 5 #ifndef PPAPI_TEST_TESTING_INSTANCE_H_
6 #define PPAPI_TEST_TESTING_INSTANCE_H_ 6 #define PPAPI_TEST_TESTING_INSTANCE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ppapi/cpp/completion_callback.h" 10 #include "ppapi/cpp/completion_callback.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 pp::CompletionCallbackFactory<TestingInstance> callback_factory_; 63 pp::CompletionCallbackFactory<TestingInstance> callback_factory_;
64 64
65 // Owning pointer to the current test case. Valid after Init has been called. 65 // Owning pointer to the current test case. Valid after Init has been called.
66 TestCase* current_case_; 66 TestCase* current_case_;
67 67
68 // Set once the tests are run so we know not to re-run when the view is sized. 68 // Set once the tests are run so we know not to re-run when the view is sized.
69 bool executed_tests_; 69 bool executed_tests_;
70 70
71 // Collects all errors to send the the browser. Empty indicates no error yet. 71 // Collects all errors to send the the browser. Empty indicates no error yet.
72 std::string errors_; 72 std::string errors_;
73
74 // True if running in Native Client.
75 bool nacl_mode_;
73 }; 76 };
74 77
75 #endif // PPAPI_TEST_TESTING_INSTANCE_H_ 78 #endif // PPAPI_TEST_TESTING_INSTANCE_H_
OLDNEW
« no previous file with comments | « ppapi/tests/test_case.html ('k') | ppapi/tests/testing_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698