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);
}
@Override
public void process() {
String[] tags = {"wiki", "table", "tr", "td"};
try {
tables = new Parse(input, tags); // look for wiki tag enclosing tables
fixture.doTables(tables.parts); // only do tables within that tag
} catch (Exception e) {
exception(e);
}
tables.print(output);
}
}