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
`NotifiedTestExecuter​(GrammarInfo grammarInfo, java.lang.ClassLoader loader, java.lang.String testsuiteDir, TestSuite suite)`

### Method Summary

All Methods Instance Methods Concrete Methods
`void` `onFail​(ITestCase failTest)`
`void` `onPass​(ITestCase passTest)`

### Methods inherited from class org.antlr.gunit.gUnitExecutor

`checkForValidInput, classForName, execTest, getGrammarClassLoader, handleUnexpectedException, 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`