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

Unified Diff: ppapi/tests/test_transport.cc

Issue 8477015: Make it possible to enable/disable specific ppapi tests. Migrate PostMessage tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix license headers. Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/tests/test_transport.h ('k') | ppapi/tests/test_uma.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_transport.cc
diff --git a/ppapi/tests/test_transport.cc b/ppapi/tests/test_transport.cc
index d2d28506821144bccfd01a1aaf70132565a010b7..5826f35586e1af05f1697b64982ed2efbd43ebea 100644
--- a/ppapi/tests/test_transport.cc
+++ b/ppapi/tests/test_transport.cc
@@ -102,14 +102,14 @@ bool TestTransport::Init() {
return transport_interface_ && InitTestingInterface();
}
-void TestTransport::RunTest() {
- RUN_TEST(Create);
- RUN_TEST_FORCEASYNC_AND_NOT(Connect);
- RUN_TEST(SetProperty);
- RUN_TEST_FORCEASYNC_AND_NOT(SendDataUdp);
- RUN_TEST_FORCEASYNC_AND_NOT(SendDataTcp);
- RUN_TEST_FORCEASYNC_AND_NOT(ConnectAndCloseUdp);
- RUN_TEST_FORCEASYNC_AND_NOT(ConnectAndCloseTcp);
+void TestTransport::RunTests(const std::string& filter) {
+ RUN_TEST(Create, filter);
+ RUN_TEST_FORCEASYNC_AND_NOT(Connect, filter);
+ RUN_TEST(SetProperty, filter);
+ RUN_TEST_FORCEASYNC_AND_NOT(SendDataUdp, filter);
+ RUN_TEST_FORCEASYNC_AND_NOT(SendDataTcp, filter);
+ RUN_TEST_FORCEASYNC_AND_NOT(ConnectAndCloseUdp, filter);
+ RUN_TEST_FORCEASYNC_AND_NOT(ConnectAndCloseTcp, filter);
}
std::string TestTransport::InitTargets(PP_TransportType type) {
« no previous file with comments | « ppapi/tests/test_transport.h ('k') | ppapi/tests/test_uma.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698