Chromium Code Reviews| Index: webrtc/p2p/base/p2ptransportchannel_unittest.cc |
| diff --git a/webrtc/p2p/base/p2ptransportchannel_unittest.cc b/webrtc/p2p/base/p2ptransportchannel_unittest.cc |
| index 8ec6474a2d9567101942467a5985ff0029c1c3e9..cf7e6b5916ae0d7b162a8d78fcbae59f1a6e6793 100644 |
| --- a/webrtc/p2p/base/p2ptransportchannel_unittest.cc |
| +++ b/webrtc/p2p/base/p2ptransportchannel_unittest.cc |
| @@ -639,6 +639,14 @@ class P2PTransportChannelTestBase : public testing::Test, |
| if (force_relay_ && c.type() != cricket::RELAY_PORT_TYPE) |
| return; |
| + if (c.protocol() == cricket::TCP_PROTOCOL_NAME) { |
|
juberti
2015/11/14 01:09:28
I think this would be best in the TestTcp* tests b
|
| + if (c.tcptype() == cricket::TCPTYPE_ACTIVE_STR) { |
| + EXPECT_EQ(c.address().port(), cricket::DISCARD_PORT); |
| + } else { |
| + EXPECT_NE(c.address().port(), cricket::DISCARD_PORT); |
| + } |
| + } |
| + |
| if (GetEndpoint(ch)->save_candidates_) { |
| GetEndpoint(ch)->saved_candidates_.push_back(new CandidateData(ch, c)); |
| } else { |