Lines Matching +full:server +full:- +full:username
4 * Use of this source code is governed by a BSD-style license
27 - (void)testOneURLServer {
28 RTC_OBJC_TYPE(RTCIceServer) *server =
31 webrtc::PeerConnectionInterface::IceServer iceStruct = server.nativeServer;
34 EXPECT_EQ("", iceStruct.username);
38 - (void)testTwoURLServer {
39 RTC_OBJC_TYPE(RTCIceServer) *server = [[RTC_OBJC_TYPE(RTCIceServer) alloc]
42 webrtc::PeerConnectionInterface::IceServer iceStruct = server.nativeServer;
46 EXPECT_EQ("", iceStruct.username);
50 - (void)testPasswordCredential {
51 RTC_OBJC_TYPE(RTCIceServer) *server =
53 username:@"username"
55 webrtc::PeerConnectionInterface::IceServer iceStruct = server.nativeServer;
58 EXPECT_EQ("username", iceStruct.username);
62 - (void)testHostname {
63 RTC_OBJC_TYPE(RTCIceServer) *server =
65 username:@"username"
69 webrtc::PeerConnectionInterface::IceServer iceStruct = server.nativeServer;
72 EXPECT_EQ("username", iceStruct.username);
77 - (void)testTlsAlpnProtocols {
78 RTC_OBJC_TYPE(RTCIceServer) *server =
80 username:@"username"
85 webrtc::PeerConnectionInterface::IceServer iceStruct = server.nativeServer;
88 EXPECT_EQ("username", iceStruct.username);
94 - (void)testTlsEllipticCurves {
95 RTC_OBJC_TYPE(RTCIceServer) *server =
97 username:@"username"
103 webrtc::PeerConnectionInterface::IceServer iceStruct = server.nativeServer;
106 EXPECT_EQ("username", iceStruct.username);
113 - (void)testInitFromNativeServer {
115 nativeServer.username = "username";
129 EXPECT_EQ("username", [NSString stdStringForString:iceServer.username]);