Merge changes from topic "am-325cd506-a538-4cb7-a65c-bc30576c59e9" into oc-dev
am: fb27c032ff Change-Id: I459897b291fff063091f4d5e64330df4ade47c0c
This commit is contained in:
@@ -114,6 +114,12 @@ public class UriTest extends AndroidTestCase {
|
||||
assertEquals("a:a@example.com:a@example2.com", uri.getAuthority());
|
||||
assertEquals("example2.com", uri.getHost());
|
||||
assertEquals(-1, uri.getPort());
|
||||
assertEquals("/path", uri.getPath());
|
||||
|
||||
uri = Uri.parse("http://a.foo.com\\.example.com/path");
|
||||
assertEquals("a.foo.com", uri.getHost());
|
||||
assertEquals(-1, uri.getPort());
|
||||
assertEquals("\\.example.com/path", uri.getPath());
|
||||
}
|
||||
|
||||
public void testCompareTo() {
|
||||
|
||||
Reference in New Issue
Block a user