Package fitnesse.responders.run

Examples of fitnesse.responders.run.JavaFormatter


    }
    return global;
  }

  public TestSummary run(final Launch launch, final int port) throws Exception {
    JavaFormatter testFormatter = JavaFormatter.getInstance(launch.getPageName());
    testFormatter.setResultsRepository(
            new JavaFormatter.FolderResultsRepository(this.outputPath));
    testFormatter.setListener(resultListener);
    Arguments arguments = new Arguments();
    arguments.setDaysTillVersionsExpire("0");
    arguments.setInstallOnly(false);
    arguments.setOmitUpdates(true);
    arguments.setPort(String.valueOf(port));
    arguments.setRootPath(this.fitNesseRootPath);
    arguments.setCommand(launch.getCommand(this.debug));
    FitNesseMain.dontExitAfterSingleCommand = true;
    FitNesseMain.launchFitNesse(arguments);
    return testFormatter.getTotalSummary();
  }
View Full Code Here

TOP

Related Classes of fitnesse.responders.run.JavaFormatter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.