@Ignore
@Test
public void generateHtmlResultOld() throws Exception {
File root = getTmpRoot();
Runner runner = new Runner();
CommandFactory cf = runner.getCommandFactory();
runner.setDriver(new HtmlUnitDriver(true));
String s1name = "suite1";
TestSuite s1 = Binder.newTestSuite(filename(root, s1name), s1name, runner);
String s2name = "suite2";
TestSuite s2 = Binder.newTestSuite(filename(root, s2name), s2name, runner);
String c1name = "case1";
TestCase c1 = Binder.newTestCase(filename(root, c1name), c1name, runner, "http://localhost");
c1.addCommand(cf.newCommand(0, "echo", "c1"));
String c2name = "case2";
TestCase c2 = Binder.newTestCase(filename(root, c2name), c2name, runner, "http://localhost");
c2.addCommand(cf.newCommand(0, "echo", "c2"));
s2.addSelenese(c2);
s1.addSelenese(c1);
s1.addSelenese(s2);
runner.setHtmlResultDir(root.getPath());
s1.execute(null, runner);