类 NotifiedTestExecuter
- java.lang.Object
-
- org.antlr.gunit.gUnitExecutor
-
- org.antlr.gunit.swingui.runner.NotifiedTestExecuter
-
- 所有已实现的接口:
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.- 作者:
- scai
-
-
字段概要
-
从类继承的字段 org.antlr.gunit.gUnitExecutor
failures, grammarInfo, invalids, numOfFailure, numOfInvalidInput, numOfSuccess, numOfTest
-
-
构造器概要
构造器 构造器 说明 NotifiedTestExecuter(GrammarInfo grammarInfo, java.lang.ClassLoader loader, java.lang.String testsuiteDir, TestSuite suite)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
onFail(ITestCase failTest)
void
onPass(ITestCase passTest)
-
从类继承的方法 org.antlr.gunit.gUnitExecutor
checkForValidInput, classForName, execTest, getGrammarClassLoader, handleUnexpectedException, runLexer, runParser, runTreeParser
-
-
-
-
构造器详细资料
-
NotifiedTestExecuter
public NotifiedTestExecuter(GrammarInfo grammarInfo, java.lang.ClassLoader loader, java.lang.String testsuiteDir, TestSuite suite)
-
-
方法详细资料
-
onFail
public void onFail(ITestCase failTest)
- 指定者:
onFail
在接口中ITestSuite
- 覆盖:
onFail
在类中gUnitExecutor
-
onPass
public void onPass(ITestCase passTest)
- 指定者:
onPass
在接口中ITestSuite
- 覆盖:
onPass
在类中gUnitExecutor
-
-