Mercurial > public > html2wiki
diff test/org/nwoca/ssdt/tools/html2wiki/Html2WikiTest.java @ 4:22ed6d93442c
Start modifying transformers to Confluence wiki syntax
author | smith@nwoca.org |
---|---|
date | Tue, 25 Jan 2011 21:59:31 -0500 |
parents | 5da2e67620f9 |
children | c8442e0eff84 |
line wrap: on
line diff
--- a/test/org/nwoca/ssdt/tools/html2wiki/Html2WikiTest.java Tue Jan 25 17:08:12 2011 -0500 +++ b/test/org/nwoca/ssdt/tools/html2wiki/Html2WikiTest.java Tue Jan 25 21:59:31 2011 -0500 @@ -36,29 +36,29 @@ return suite; } - public void testChapterParsing() throws Exception { - - File f = new File(path, "sysman_handbook.html"); - - Html2Wiki converter = new Html2Wiki(FileUtils.readFileToString(f, null)); - - Html2Wiki.WikiChapter[] chapters = converter.getWikiChapters(); - - assertTrue( chapters.length > 0); - for (Html2Wiki.WikiChapter c : chapters) { - System.out.println(c); - } - } +// public void testChapterParsing() throws Exception { +// +// File f = new File(path, "sysman_handbook.html"); +// +// Html2Wiki converter = new Html2Wiki(FileUtils.readFileToString(f, null)); +// +// Html2Wiki.WikiChapter[] chapters = converter.getWikiChapters(); +// +// assertTrue( chapters.length > 0); +// for (Html2Wiki.WikiChapter c : chapters) { +// System.out.println(c); +// } +// } /** * Test of main method, of class org.nwoca.ssdt.tools.html2wiki.Html2Wiki. // */ -// public void testMain() throws Exception { + public void testMain() throws Exception { // System.out.println("main"); // // File path = new File(Html2WikiTest.class.getResource("/resources").toURI()); // System.out.println(path); -// Html2Wiki.main(new String[]{path.toString(), "OECN System Managers Handbook"}); + Html2Wiki.main( new String[] {path.toString(), "OECN System Managers Handbook"}); // -// } + } }