comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:f8b1ea49d065
1 /*
2 * Html2WikiTest.java
3 * JUnit based test
4 *
5 * Created on May 9, 2006, 4:16 PM
6 */
7
8 package org.nwoca.ssdt.tools.html2wiki;
9
10 import junit.framework.*;
11 import java.io.*;
12
13
14 /**
15 *
16 * @author SMITH
17 */
18 public class Html2WikiTest extends TestCase {
19
20 public Html2WikiTest(String testName) {
21 super(testName);
22 }
23
24 protected void setUp() throws Exception {
25 }
26
27 protected void tearDown() throws Exception {
28 }
29
30 public static Test suite() {
31 TestSuite suite = new TestSuite(Html2WikiTest.class);
32
33 return suite;
34 }
35
36 /**
37 * Test of main method, of class org.nwoca.ssdt.tools.html2wiki.Html2Wiki.
38 */
39 public void testMain() throws Exception {
40 System.out.println("main");
41
42
43 Html2Wiki.main(new String[] {"\\C:\\temp\\", "EMIS System Managers Manual"});
44
45 }
46
47 // public void testHtml2Wiki() throws Exception {
48 //
49 // File testFile = new File("\\C:\\temp\\test.html");
50 // Html2Wiki.process(testFile);
51 //
52 // }
53
54 }