Merge changes from topic "am-325cd506-a538-4cb7-a65c-bc30576c59e9" into oc-dev am: fb27c032ff
am: 3c22d6bea8
Change-Id: I2fe9d75f0bf5b94f2fa0b2d0a819f2b8281ccf7b
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