com.appfoundation.automation.framework.gwen
Class Executor

java.lang.Object
  extended by com.appfoundation.automation.framework.gwen.Executor

public class Executor
extends java.lang.Object


Field Summary
private  ActionAssembler actionAssembler
           
private  BrowserTestAssembler browserTestAssembler
           
private  CommandLineProcessor commandLine
           
private  ExecutableTestSuiteReport executeReport
           
private  TestExecutor executor
           
private  ExecutorListener listener
           
private static org.apache.log4j.Logger log
           
private  SentenceAssembler sentenceAssembler
           
private  TestAssembler testAssembler
           
 
Constructor Summary
Executor()
           
Executor(java.lang.String[] args)
           
 
Method Summary
 TestSuiteResult execute(java.io.File input)
           
protected  java.util.List<TestSuiteResult> execute(java.util.List<java.lang.String> fileNames, java.util.List<java.io.File> inputs)
          Main execution point for dealing with multiple files
 TestSuiteResult execute(java.lang.String fileName, java.io.File input)
          Main execution point for dealing with a single file
protected  TestSuiteResult execute(TestSuiteResult result)
           
 java.util.List<TestSuiteResult> executeDirectory(java.io.File directory)
           
static void main(java.lang.String[] args)
           
protected  TestSuiteResult process(java.lang.String fileName, java.io.File input)
           
 void setListener(ExecutorListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static org.apache.log4j.Logger log

actionAssembler

private ActionAssembler actionAssembler

sentenceAssembler

private SentenceAssembler sentenceAssembler

testAssembler

private TestAssembler testAssembler

browserTestAssembler

private BrowserTestAssembler browserTestAssembler

executor

private TestExecutor executor

executeReport

private ExecutableTestSuiteReport executeReport

commandLine

private CommandLineProcessor commandLine

listener

private ExecutorListener listener
Constructor Detail

Executor

public Executor()

Executor

public Executor(java.lang.String[] args)
Method Detail

main

public static void main(java.lang.String[] args)

setListener

public void setListener(ExecutorListener listener)

execute

public TestSuiteResult execute(java.io.File input)

execute

public TestSuiteResult execute(java.lang.String fileName,
                               java.io.File input)
Main execution point for dealing with a single file

Parameters:
fileName -
input -
Returns:

executeDirectory

public java.util.List<TestSuiteResult> executeDirectory(java.io.File directory)

execute

protected java.util.List<TestSuiteResult> execute(java.util.List<java.lang.String> fileNames,
                                                  java.util.List<java.io.File> inputs)
Main execution point for dealing with multiple files

Parameters:
fileNames -
inputs -
Returns:

process

protected TestSuiteResult process(java.lang.String fileName,
                                  java.io.File input)

execute

protected TestSuiteResult execute(TestSuiteResult result)