com.googlecode.refit.runner
Class FileRunner

java.lang.Object
  extended by com.googlecode.refit.runner.FileRunner

public class FileRunner
extends Object

Runs a single Fit test.

Author:
hwellmann
See Also:
TreeRunner

Constructor Summary
FileRunner(File inputDir, File outputDir, String testPath)
           
FileRunner(File inputDir, File outputDir, String testPath, RunnerListener listener)
           
 
Method Summary
 TestResult getResult()
           
static String read(Reader in)
          Returns the whole stream as a String.
 boolean run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileRunner

public FileRunner(File inputDir,
                  File outputDir,
                  String testPath)

FileRunner

public FileRunner(File inputDir,
                  File outputDir,
                  String testPath,
                  RunnerListener listener)
Method Detail

run

public boolean run()

read

public static String read(Reader in)
                   throws IOException
Returns the whole stream as a String.

Parameters:
in -
Returns:
Throws:
IOException

getResult

public TestResult getResult()


Copyright © 2011. All Rights Reserved.