Mercurial > public > html2wiki
diff test/org/nwoca/ssdt/tools/html2wiki/Html2WikiTest.java @ 0:f8b1ea49d065
Initial version of crude HTML to WikiText converter. Customized for converting HTML files from DEC Document into Wiki markup.
author | smith@nwoca.org |
---|---|
date | Fri, 12 May 2006 16:45:42 -0400 |
parents | |
children | 5da2e67620f9 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/org/nwoca/ssdt/tools/html2wiki/Html2WikiTest.java Fri May 12 16:45:42 2006 -0400 @@ -0,0 +1,54 @@ +/* + * Html2WikiTest.java + * JUnit based test + * + * Created on May 9, 2006, 4:16 PM + */ + +package org.nwoca.ssdt.tools.html2wiki; + +import junit.framework.*; +import java.io.*; + + +/** + * + * @author SMITH + */ +public class Html2WikiTest extends TestCase { + + public Html2WikiTest(String testName) { + super(testName); + } + + protected void setUp() throws Exception { + } + + protected void tearDown() throws Exception { + } + + public static Test suite() { + TestSuite suite = new TestSuite(Html2WikiTest.class); + + return suite; + } + + /** + * Test of main method, of class org.nwoca.ssdt.tools.html2wiki.Html2Wiki. + */ + public void testMain() throws Exception { + System.out.println("main"); + + + Html2Wiki.main(new String[] {"\\C:\\temp\\", "EMIS System Managers Manual"}); + + } + +// public void testHtml2Wiki() throws Exception { +// +// File testFile = new File("\\C:\\temp\\test.html"); +// Html2Wiki.process(testFile); +// +// } + +}