Lines Matching refs:SupportsProtocol
144 virtual bool SupportsProtocol(const std::string& protocol) const {
2516 EXPECT_TRUE(udp_port->SupportsProtocol(UDP_PROTOCOL_NAME));
2517 EXPECT_FALSE(udp_port->SupportsProtocol(TCP_PROTOCOL_NAME));
2521 EXPECT_TRUE(stun_port->SupportsProtocol(UDP_PROTOCOL_NAME));
2522 EXPECT_FALSE(stun_port->SupportsProtocol(TCP_PROTOCOL_NAME));
2525 EXPECT_TRUE(tcp_port->SupportsProtocol(TCP_PROTOCOL_NAME));
2526 EXPECT_TRUE(tcp_port->SupportsProtocol(SSLTCP_PROTOCOL_NAME));
2527 EXPECT_FALSE(tcp_port->SupportsProtocol(UDP_PROTOCOL_NAME));
2531 EXPECT_TRUE(turn_port->SupportsProtocol(UDP_PROTOCOL_NAME));
2532 EXPECT_FALSE(turn_port->SupportsProtocol(TCP_PROTOCOL_NAME));