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

Unified Diff: chrome/test/ui/ppapi_uitest.cc

Issue 6990064: Fix and enable Transport API test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/ui/ppapi_uitest.cc
diff --git a/chrome/test/ui/ppapi_uitest.cc b/chrome/test/ui/ppapi_uitest.cc
index d80e406ecb6719d16a9f85de06c54f9ed1aefd1e..7e0e6a0e57a6fb979b529b5c42ab3386ced37130 100644
--- a/chrome/test/ui/ppapi_uitest.cc
+++ b/chrome/test/ui/ppapi_uitest.cc
@@ -53,6 +53,11 @@ class PPAPITest : public UITest {
// TODO(dumi): remove this switch once we have a quota management
// system in place.
launch_arguments_.AppendSwitch(switches::kUnlimitedQuotaForFiles);
+
+#if defined(ENABLE_P2P_APIS)
+ // Enable P2P API.
+ launch_arguments_.AppendSwitch(switches::kEnableP2PApi);
+#endif // ENABLE_P2P_APIS
}
void RunTest(const std::string& test_case) {
@@ -169,7 +174,8 @@ TEST_F(PPAPITest, DISABLED_DirectoryReader) {
RunTestViaHTTP("DirectoryReader");
}
-// http://crbug.com/83395
-TEST_F(PPAPITest, DISABLED_Transport) {
+#if defined(ENABLE_P2P_APIS)
+TEST_F(PPAPITest, Transport) {
RunTest("Transport");
}
+#endif // ENABLE_P2P_APIS
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698