org.test4j.module.core
接口 Module

所有超级接口:
IPropItem
所有已知实现类:
InjectModule, JMockitModule

public interface Module
extends IPropItem

A type for modules that offer services to tests. Before a module is used, init() will be called so that it can initialize itself. After initialization, getTestListener() will be called, so that the module can create a callback that can plug into the test exucution sequence. See TestListener javadoc for more info.


字段摘要
 
从接口 org.test4j.module.core.utility.IPropItem 继承的字段
CONNECT_ONLY_TESTDB, dbexport_auto, DBMAINTAINER_DISABLECONSTRAINTS, LOG4J_XML_FILE, PROPKEY_DATABASE_TYPE, PROPKEY_DATASOURCE_DRIVERCLASSNAME, PROPKEY_DATASOURCE_PASSWORD, PROPKEY_DATASOURCE_SCHEMAS, PROPKEY_DATASOURCE_URL, PROPKEY_DATASOURCE_USERNAME, PROPKEY_MODULES, SPRING_APPLICATION_CONTEXT_FACTORY_CLASS_NAME, SPRING_DATASOURCE_NAME, TRANSACTIONAL_MODE_DEFAULT
 
方法摘要
 void afterInit()
          Gives the module the opportunity to performs initialization that can only work after all other modules have been initialized
 TestListener getTestListener()
          Creates the test listener for this module.
 void init()
          根据test4j的配置信息初始化各个模块的变量

Initializes the module with the test4j properties.
 

方法详细信息

init

void init()
根据test4j的配置信息初始化各个模块的变量

Initializes the module with the test4j properties.


afterInit

void afterInit()
Gives the module the opportunity to performs initialization that can only work after all other modules have been initialized


getTestListener

TestListener getTestListener()
Creates the test listener for this module.

返回:
The test listener, not null


Copyright © 2013. All rights reserved.