org.antlr.gunit.swingui.runner
Class NotifiedTestExecuter

java.lang.Object
  extended by org.antlr.gunit.gUnitExecutor
      extended by org.antlr.gunit.swingui.runner.NotifiedTestExecuter
All Implemented Interfaces:
ITestSuite

public class NotifiedTestExecuter
extends gUnitExecutor

The gUnit test executer that will respond to the fail/pass event during the execution. The executer is passed into gUnit Interp for execution.

Author:
scai

Field Summary
 
Fields inherited from class org.antlr.gunit.gUnitExecutor
failures, grammarInfo, invalids, numOfFailure, numOfInvalidInput, numOfSuccess, numOfTest
 
Constructor Summary
NotifiedTestExecuter(GrammarInfo grammarInfo, java.lang.ClassLoader loader, java.lang.String testsuiteDir, TestSuite suite)
           
 
Method Summary
 void onFail(ITestCase failTest)
           
 void onPass(ITestCase passTest)
           
 
Methods inherited from class org.antlr.gunit.gUnitExecutor
classForName, execTest, getGrammarClassLoader, runLexer, runParser, runTreeParser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotifiedTestExecuter

public NotifiedTestExecuter(GrammarInfo grammarInfo,
                            java.lang.ClassLoader loader,
                            java.lang.String testsuiteDir,
                            TestSuite suite)
Method Detail

onFail

public void onFail(ITestCase failTest)
Specified by:
onFail in interface ITestSuite
Overrides:
onFail in class gUnitExecutor

onPass

public void onPass(ITestCase passTest)
Specified by:
onPass in interface ITestSuite
Overrides:
onPass in class gUnitExecutor


Copyright © 2011. All Rights Reserved.