use of android.net.WebAddress in project android_frameworks_base by crdroidandroid.
the class WebAddressTest method testPathWithoutLeadingSlash.
// http://b/1011602
@SmallTest
public void testPathWithoutLeadingSlash() {
WebAddress webAddress = new WebAddress("http://www.myspace.com?si=1");
assertEquals("www.myspace.com", webAddress.getHost());
assertEquals("/?si=1", webAddress.getPath());
}
Aggregations