Home
last modified time | relevance | path

Searched refs:strURL (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DOldURLTest.java784 String strURL = "http://a/b/c/d;p?q"; in test_toExternalForm_Relative() local
786 URL url = new URL(new URL(strURL), ref); in test_toExternalForm_Relative()
791 String strURL = "http://localhost?name=value"; in test_toExternalForm_Absolute() local
792 URL url = new URL(strURL); in test_toExternalForm_Absolute()
793 assertEquals(strURL, url.toExternalForm()); in test_toExternalForm_Absolute()
795 strURL = "http://localhost?name=value/age=12"; in test_toExternalForm_Absolute()
796 url = new URL(strURL); in test_toExternalForm_Absolute()
797 assertEquals(strURL, url.toExternalForm()); in test_toExternalForm_Absolute()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DURLTest.java1065 String strURL = "http://localhost?name=value"; in test_toExternalForm_Absolute() local
1066 URL url = new URL(strURL); in test_toExternalForm_Absolute()
1067 assertEquals(strURL, url.toExternalForm()); in test_toExternalForm_Absolute()
1069 strURL = "http://localhost?name=value/age=12"; in test_toExternalForm_Absolute()
1070 url = new URL(strURL); in test_toExternalForm_Absolute()
1071 assertEquals(strURL, url.toExternalForm()); in test_toExternalForm_Absolute()
1075 String strURL = "http://a/b/c/d;p?q"; in test_toExternalForm_Relative() local
1077 URL url = new URL(new URL(strURL), ref); in test_toExternalForm_Relative()