Searched refs:getUserInfo (Results 1 – 10 of 10) sorted by relevance
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
D | Handler.java | 48 String userInfo1 = u1.getUserInfo(); in equals() 49 String userInfo2 = u2.getUserInfo(); in equals()
|
D | FtpURLConnection.java | 177 String userInfo = url.getUserInfo(); in FtpURLConnection()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | URLTest.java | 36 assertEquals("username:password", url.getUserInfo()); in testUrlParts() 152 assertEquals(null, url.getUserInfo()); in testNoHost() 173 assertEquals(null, url.getUserInfo()); in testEmptyHostAndNoPath() 187 assertEquals(null, url.getUserInfo()); in testNoHostAndNoPath() 208 assertEquals("user", url.getUserInfo()); in testUserNoPassword() 215 assertEquals("user", url.getUserInfo()); in testUserNoPasswordExplicitPort() 223 assertEquals("user:password", url.getUserInfo()); in testUserPasswordHostPort() 231 assertEquals("user:password", url.getUserInfo()); in testUserPasswordEmptyHostPort() 239 assertEquals("user:password", url.getUserInfo()); in testUserPasswordEmptyHostEmptyPort() 268 assertEquals(null, url.getUserInfo()); in testAtSignInPath() [all …]
|
D | URITest.java | 31 assertEquals("username:password", uri.getUserInfo()); in testUriParts() 135 assertEquals(null, uri.getUserInfo()); in testAtSignInUserInfo() 142 assertEquals("user", uri.getUserInfo()); in testUserNoPassword() 151 assertEquals(null, uri.getUserInfo()); in testUserNoHost() 158 assertEquals("user", uri.getUserInfo()); in testUserNoPasswordExplicitPort() 166 assertEquals("user:password", uri.getUserInfo()); in testUserPasswordHostPort() 175 assertEquals(null, uri.getUserInfo()); in testUserPasswordEmptyHostPort() 184 assertEquals(null, uri.getUserInfo()); in testUserPasswordEmptyHostEmptyPort() 213 assertEquals(null, uri.getUserInfo()); in testAtSignInPath() 598 assertEquals("user:pa55w?rd", uri.getUserInfo()); in testEncodingParts()
|
D | OldURLTest.java | 158 .getUserInfo()); in testURLString() 496 assertEquals("Assert 0: Wrong user","myUser:password",url.getUserInfo()); in testGetUserInfo() 497 String userInfo = urlNoUserInfo.getUserInfo(); in testGetUserInfo()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | URITest.java | 288 assertNull("wrong userinfo", uri.getUserInfo()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String() 382 assertEquals("wrong userinfo", "us:e@r", uri.getUserInfo()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringILjava_lang_StringLjava_lang_StringLjava_lang_String() 482 assertNull("wrong authority", uri.getUserInfo()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String() 483 assertNull("wrong userinfo", uri.getUserInfo()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String() 1201 String result = uris[i].getUserInfo(); in test_getUserInfo()
|
D | URLTest.java | 932 assertNull(testURL.getUserInfo()); in test_getAuthority() 941 assertNull(testURL.getUserInfo()); in test_getAuthority() 949 assertNull("wrong userInfo2", testURL.getUserInfo()); in test_getAuthority()
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLStreamHandler.java | 127 String userInfo = u.getUserInfo(); in parseURL()
|
D | URL.java | 753 public String getUserInfo() { in getUserInfo() method in URL
|
D | URI.java | 1226 public String getUserInfo() { in getUserInfo() method in URI 1926 appendSchemeSpecificPart(sb, null, getAuthority(), getUserInfo(), in defineSchemeSpecificPart()
|