| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 chrome.test.runTests([ | 5 chrome.test.runTests([ |
| 6 function udpTransport() { | 6 function udpTransport() { |
| 7 // TODO(hclam): Remove this line when the bug with build bot is | |
| 8 // fixed. See crbug.com/315169 and crbug.com/314971. | |
| 9 chrome.test.succeed(); | |
| 10 return; | |
| 11 | |
| 12 chrome.webrtc.castUdpTransport.create(function(info) { | 7 chrome.webrtc.castUdpTransport.create(function(info) { |
| 13 chrome.webrtc.castUdpTransport.start( | 8 chrome.webrtc.castUdpTransport.start( |
| 14 info.transportId, | 9 info.transportId, |
| 15 {address: "127.0.0.1", port: 60613}); | 10 {address: "127.0.0.1", port: 60613}); |
| 16 chrome.webrtc.castUdpTransport.stop(info.transportId); | 11 chrome.webrtc.castUdpTransport.stop(info.transportId); |
| 17 chrome.webrtc.castUdpTransport.destroy(info.transportId); | 12 chrome.webrtc.castUdpTransport.destroy(info.transportId); |
| 18 chrome.test.succeed(); | 13 chrome.test.succeed(); |
| 19 }); | 14 }); |
| 20 } | 15 } |
| 21 ]); | 16 ]); |
| OLD | NEW |