org.test4j.module.inject
类 InjectModule.InjectTestListener
java.lang.Object
org.test4j.module.core.TestListener
org.test4j.module.inject.InjectModule.InjectTestListener
- 包容类:
- InjectModule
protected class InjectModule.InjectTestListener
- extends TestListener
InjectModule.InjectTestListener
protected InjectModule.InjectTestListener()
beforeRunning
public void beforeRunning(Object testObject,
Method testMethod)
- 从类
TestListener 复制的描述
- Invoked before the test but after the test setup (eg @Before) is run.
This can be overridden to for example further initialize the test-fixture
using values that were set during the test setup.
Phase
o setupClass (Object testObject)
o beforeMethod (Object testObject, Method testMethod)
o beforeMethodRunning (Object testObject, Method testMethod)
o afterMethodRunned (Object testObject, Method testMethod, Throwable
testThrowable)
o afterMethod (Object testObject, Method testMethod)
o teardownClass (Object testObject)
- 覆盖:
- 类
TestListener 中的 beforeRunning
- 参数:
testObject - The test instance, not nulltestMethod - The test method, not null
getName
protected String getName()
- 从类
TestListener 复制的描述
- 监听器名称
- 指定者:
- 类
TestListener 中的 getName
- 返回:
Copyright © 2013. All rights reserved.