Package org.antlr.gunit.swingui.runner
Class NotifiedTestExecuter
- java.lang.Object
-
- org.antlr.gunit.gUnitExecutor
-
- 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
Constructors Constructor Description NotifiedTestExecuter(GrammarInfo grammarInfo, java.lang.ClassLoader loader, java.lang.String testsuiteDir, TestSuite suite)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onFail(ITestCase failTest)
void
onPass(ITestCase passTest)
-
Methods inherited from class org.antlr.gunit.gUnitExecutor
checkForValidInput, classForName, execTest, getGrammarClassLoader, handleUnexpectedException, runLexer, runParser, runTreeParser
-
-
-
-
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 interfaceITestSuite
- Overrides:
onFail
in classgUnitExecutor
-
onPass
public void onPass(ITestCase passTest)
- Specified by:
onPass
in interfaceITestSuite
- Overrides:
onPass
in classgUnitExecutor
-
-