Merge changes from topic "m" into oreo-cts-dev
* changes: DO NOT MERGE Add CTS test for URI fix. DO NOT MERGE Verify b/67737022 fix presence DO NOT MERGE Add EffectBundleTest DO NOT MERGE resolve merge conflicts of 4e1d862763 to mnc-dev DO NOT MERGE Test that createBitmap(65535,65535) throws OOME DO NOT MERGE Add CTS test for cve_2017_0852_b_62815506 DO NOT MERGE Add new test type to StagefrightTest
This commit is contained in:
@@ -109,6 +109,11 @@ public class UriTest extends AndroidTestCase {
|
||||
uri = Uri.parse("http://localhost");
|
||||
assertEquals("localhost", uri.getHost());
|
||||
assertEquals(-1, uri.getPort());
|
||||
|
||||
uri = Uri.parse("http://a:a@example.com:a@example2.com/path");
|
||||
assertEquals("a:a@example.com:a@example2.com", uri.getAuthority());
|
||||
assertEquals("example2.com", uri.getHost());
|
||||
assertEquals(-1, uri.getPort());
|
||||
}
|
||||
|
||||
public void testCompareTo() {
|
||||
|
||||
Reference in New Issue
Block a user