fit.WikiRunner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fitnesse Show documentation
Show all versions of fitnesse Show documentation
The fully integrated standalone wiki, and acceptance testing framework.
// Modified or written by Object Mentor, Inc. for inclusion with FitNesse.
// Copyright (c) 2002 Cunningham & Cunningham, Inc.
// Released under the terms of the GNU General Public License version 2 or later.
package fit;
// Copyright (c) 2002 Cunningham & Cunningham, Inc.
// Released under the terms of the GNU General Public License version 2 or later.
public class WikiRunner extends FileRunner {
public static void main(String argv[]) {
new WikiRunner().run(argv);
}
public void process() {
try {
String tags[] = {"wiki", "table", "tr", "td"};
tables = new Parse(input, tags); // look for wiki tag enclosing tables
dispatcher.doTables(tables.parts);
} catch (Exception e) {
exception(e);
}
tables.print(output);
}
}