master
yihua.huang 2017-07-25 18:27:10 +08:00
parent 3266ea15ca
commit f375b9fdba
1 changed files with 0 additions and 6 deletions

View File

@ -16,12 +16,6 @@ import static org.assertj.core.api.Assertions.assertThat;
*/ */
public class HttpUriRequestConverterTest { public class HttpUriRequestConverterTest {
@Test(expected = IllegalArgumentException.class)
public void test_illegal_uri() throws Exception {
HttpUriRequestConverter httpUriRequestConverter = new HttpUriRequestConverter();
httpUriRequestConverter.convert(new Request("http://bj.zhongkao.com/beikao/yimo/##"), Site.me(), null);
}
@Test @Test
public void test_illegal_uri_correct() throws Exception { public void test_illegal_uri_correct() throws Exception {
HttpUriRequestConverter httpUriRequestConverter = new HttpUriRequestConverter(); HttpUriRequestConverter httpUriRequestConverter = new HttpUriRequestConverter();