|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.test4j.module.core.utility.ListenerExecutor
public class ListenerExecutor
test4j Listener执行器
| 构造方法摘要 | |
|---|---|
ListenerExecutor()
|
|
| 方法摘要 | |
|---|---|
static Throwable |
executeAfterClassEvents(Object testedObject)
执行teardownClass的事件 |
static Throwable |
executeAfterMethodEvents(Object testedObject,
Method testedMethod)
执行teardown method事件 |
static Throwable |
executeAfterRunnedEvents(Object testedObject,
Method testedMethod,
Throwable error)
执行测试方法完毕后的事件 |
static Throwable |
executeBeforeClassEvents(Class testClazz)
执行setup class的事件 |
static Throwable |
executeBeforeMethodEvents(Object testedObject,
Method testedMethod)
执行setup method事件 |
static Throwable |
executeBeforeRunningEvents(Object testedObject,
Method testedMethod)
执行测试方法开始的事件 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public ListenerExecutor()
| 方法详细信息 |
|---|
public static Throwable executeBeforeClassEvents(Class testClazz)
testedObject - 测试对象
public static Throwable executeBeforeMethodEvents(Object testedObject,
Method testedMethod)
testedObject - 测试对象testedMethod - 测试方法
public static Throwable executeBeforeRunningEvents(Object testedObject,
Method testedMethod)
testedMethod - 测试方法
public static Throwable executeAfterRunnedEvents(Object testedObject,
Method testedMethod,
Throwable error)
testedMethod - 测试方法error - 测试方法异常
public static Throwable executeAfterMethodEvents(Object testedObject,
Method testedMethod)
testedObject - 测试对象testedMethod - 测试方法
public static Throwable executeAfterClassEvents(Object testedObject)
testedObject - 测试对象
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||