()
| 176 | } |
| 177 | |
| 178 | @Test |
| 179 | public void parse_emptyUserInfo() { |
| 180 | Uri uri = Uri.create("scheme://@host"); |
| 181 | assertThat(uri.getScheme()).isEqualTo("scheme"); |
| 182 | assertThat(uri.getAuthority()).isEqualTo("@host"); |
| 183 | assertThat(uri.getHost()).isEqualTo("host"); |
| 184 | assertThat(uri.getUserInfo()).isEmpty(); |
| 185 | assertThat(uri.toString()).isEqualTo("scheme://@host"); |
| 186 | } |
| 187 | |
| 188 | @Test |
| 189 | public void parse_emptyPort() { |
nothing calls this directly
no test coverage detected