URIParsedResultTestCase.java (zxing-zxing-3.4.1) | : | URIParsedResultTestCase.java (zxing-zxing-3.5.0) | ||
---|---|---|---|---|
skipping to change at line 38 | skipping to change at line 38 | |||
*/ | */ | |||
public final class URIParsedResultTestCase extends Assert { | public final class URIParsedResultTestCase extends Assert { | |||
@Test | @Test | |||
public void testBookmarkDocomo() { | public void testBookmarkDocomo() { | |||
doTest("MEBKM:URL:google.com;;", "http://google.com", null); | doTest("MEBKM:URL:google.com;;", "http://google.com", null); | |||
doTest("MEBKM:URL:http://google.com;;", "http://google.com", null); | doTest("MEBKM:URL:http://google.com;;", "http://google.com", null); | |||
doTest("MEBKM:URL:google.com;TITLE:Google;", "http://google.com", "Google"); | doTest("MEBKM:URL:google.com;TITLE:Google;", "http://google.com", "Google"); | |||
} | } | |||
@SuppressWarnings("checkstyle:lineLength") | ||||
@Test | @Test | |||
public void testURI() { | public void testURI() { | |||
doTest("google.com", "http://google.com", null); | doTest("google.com", "http://google.com", null); | |||
doTest("123.com", "http://123.com", null); | doTest("123.com", "http://123.com", null); | |||
doTest("http://google.com", "http://google.com", null); | doTest("http://google.com", "http://google.com", null); | |||
doTest("https://google.com", "https://google.com", null); | doTest("https://google.com", "https://google.com", null); | |||
doTest("google.com:443", "http://google.com:443", null); | doTest("google.com:443", "http://google.com:443", null); | |||
doTest("https://www.google.com/calendar/hosted/google.com/embed?mode=AGENDA& force_login=true&src=google.com_726f6f6d5f6265707075@resource.calendar.google.co m", | doTest("https://www.google.com/calendar/hosted/google.com/embed?mode=AGENDA& force_login=true&src=google.com_726f6f6d5f6265707075@resource.calendar.google.co m", | |||
"https://www.google.com/calendar/hosted/google.com/embed?mode=AGENDA& force_login=true&src=google.com_726f6f6d5f6265707075@resource.calendar.google.co m", | "https://www.google.com/calendar/hosted/google.com/embed?mode=AGENDA& force_login=true&src=google.com_726f6f6d5f6265707075@resource.calendar.google.co m", | |||
null); | null); | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added |