()
| 372 | } |
| 373 | |
| 374 | @Test |
| 375 | public void parse_onePathSegment() throws URISyntaxException { |
| 376 | Uri uri = Uri.create("file:/foo"); |
| 377 | assertThat(uri.getPathSegments()).containsExactly("foo"); |
| 378 | } |
| 379 | |
| 380 | @Test |
| 381 | public void parse_onePathSegment_trailingSlash() throws URISyntaxException { |
nothing calls this directly
no test coverage detected