()
| 412 | } |
| 413 | |
| 414 | @Test |
| 415 | public void toString_percentEncoding() throws URISyntaxException { |
| 416 | Uri uri = |
| 417 | Uri.newBuilder() |
| 418 | .setScheme("s") |
| 419 | .setHost("a b") |
| 420 | .setPath("/p ath") |
| 421 | .setRawQuery("q%20uery") |
| 422 | .setFragment("f ragment") |
| 423 | .build(); |
| 424 | assertThat(uri.toString()).isEqualTo("s://a%20b/p%20ath?q%20uery#f%20ragment"); |
| 425 | } |
| 426 | |
| 427 | @Test |
| 428 | public void parse_transparentRoundTrip_ipLiteral() { |
nothing calls this directly
no test coverage detected