Home
last modified time | relevance | path

Searched refs:getUserInfo (Results 1 – 10 of 10) sorted by relevance

/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
DHandler.java48 String userInfo1 = u1.getUserInfo(); in equals()
49 String userInfo2 = u2.getUserInfo(); in equals()
DFtpURLConnection.java177 String userInfo = url.getUserInfo(); in FtpURLConnection()
/libcore/luni/src/test/java/libcore/java/net/
DURLTest.java36 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 …]
DURITest.java31 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()
DOldURLTest.java158 .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/
DURITest.java288 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()
DURLTest.java932 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/
DURLStreamHandler.java127 String userInfo = u.getUserInfo(); in parseURL()
DURL.java753 public String getUserInfo() { in getUserInfo() method in URL
DURI.java1226 public String getUserInfo() { in getUserInfo() method in URI
1926 appendSchemeSpecificPart(sb, null, getAuthority(), getUserInfo(), in defineSchemeSpecificPart()