"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "core/src/test/java/com/google/zxing/client/result/URIParsedResultTestCase.java" between
zxing-zxing-3.4.1.tar.gz and zxing-zxing-3.5.0.tar.gz

About: ZXing ("zebra crossing") is a multi-format 1D/2D barcode image processing library implemented in Java, with ports to other languages. Info: Project is in maintenance mode (no active development).

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

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)