From c94090cd09c92cbb87fd9a24732edea21ab2eaaf Mon Sep 17 00:00:00 2001 From: gnosygnu Date: Sat, 11 May 2019 11:00:08 -0400 Subject: [PATCH] Parser: Add test for djvu [#440] --- .../lnkis/htmls/Xoh_file_wtr__djvu__tst.java | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 400_xowa/src/gplx/xowa/htmls/core/wkrs/lnkis/htmls/Xoh_file_wtr__djvu__tst.java diff --git a/400_xowa/src/gplx/xowa/htmls/core/wkrs/lnkis/htmls/Xoh_file_wtr__djvu__tst.java b/400_xowa/src/gplx/xowa/htmls/core/wkrs/lnkis/htmls/Xoh_file_wtr__djvu__tst.java new file mode 100644 index 000000000..4e31293db --- /dev/null +++ b/400_xowa/src/gplx/xowa/htmls/core/wkrs/lnkis/htmls/Xoh_file_wtr__djvu__tst.java @@ -0,0 +1,33 @@ +/* +XOWA: the XOWA Offline Wiki Application +Copyright (C) 2012-2017 gnosygnu@gmail.com + +XOWA is licensed under the terms of the General Public License (GPL) Version 3, +or alternatively under the terms of the Apache License Version 2.0. + +You may use XOWA according to either of these licenses as is most appropriate +for your project on a case-by-case basis. + +The terms of each license can be found in the source code repository: + +GPLv3 License: https://github.com/gnosygnu/xowa/blob/master/LICENSE-GPLv3.txt +Apache License: https://github.com/gnosygnu/xowa/blob/master/LICENSE-APACHE2.txt +*/ +package gplx.xowa.htmls.core.wkrs.lnkis.htmls; import gplx.*; import gplx.xowa.*; import gplx.xowa.htmls.*; import gplx.xowa.htmls.core.*; import gplx.xowa.htmls.core.wkrs.*; import gplx.xowa.htmls.core.wkrs.lnkis.*; +import org.junit.*; import gplx.xowa.files.*; +public class Xoh_file_wtr__djvu__tst { + @Before public void init() {fxt.Reset();} private final Xop_fxt fxt = new Xop_fxt(); + @Test public void Djvu() {// ISSUE#:440 TODO + fxt.Test_parse_page_wiki_str + ( "[[File:A.djvu|thumb|page=1]]", String_.Concat_lines_nl_skip_last + ( "
" + , "
" + , " \"\"" + , "
" + , "
" + , "
" + , "
" + , "
") + ); + } +}