1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2024-09-29 06:50:50 +00:00

Test: Do not print warnings during test

This commit is contained in:
gnosygnu 2016-11-14 10:17:32 -05:00
parent 40ee795c29
commit 419367ad9f
2 changed files with 2 additions and 1 deletions

View File

@ -63,5 +63,5 @@ public class Console_adp__sys implements Console_adp {
catch (java.io.UnsupportedEncodingException e) {throw Err_.new_wo_type("unsupported exception");}
ps.println(s);
}
public static final Console_adp__sys Instance = new Console_adp__sys();
public static final Console_adp__sys Instance = new Console_adp__sys();
}

View File

@ -19,6 +19,7 @@ package gplx.xowa.addons.parsers.mediawikis; import gplx.*; import gplx.xowa.*;
import org.junit.*; import gplx.core.tests.*;
public class Xop_mediawiki_wkr__tst {
private final Xop_mediawiki_wkr__fxt fxt = new Xop_mediawiki_wkr__fxt();
@After public void term() {Gfo_usr_dlg_.Instance = Gfo_usr_dlg_.Noop;}
@Test public void Basic() {
fxt.Init__wkr("en.wikipedia.org", null);
fxt.Test__parse("Page_1", "''{{PAGENAME}}''"