Commit c462d123 authored by sergeyu@chromium.org's avatar sergeyu@chromium.org

Fix and enable Transport API test.

BUG=83395
TEST=PPAPITest.Transport passes

Review URL: http://codereview.chromium.org/6990064

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86547 0039d316-1c4b-4281-b951-d872f2087c98
parent 3bea7a3c
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment