|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.tatool.app.TestApp
public class TestApp
Test Tatool Application class. Use this class to instantiate a complete tatool test instance without actually triggering the display of the UI.
| Field Summary | |
|---|---|
protected String |
dataDirName
Holds the directory name that will contain created data. |
| Constructor Summary | |
|---|---|
TestApp()
|
|
| Method Summary | |
|---|---|
protected UserAccount |
createAccount()
Creates and initializes a user account. |
protected Map<String,String> |
createAccountProperties()
Get the Account properties to use for account creation. |
protected Map<String,byte[]> |
createBinaryModuleProperties()
Create binary module properties. |
protected Module |
createModule(UserAccount account)
Creates an empty persisted module instance. |
protected Map<String,DataExporter> |
createModuleExporters()
Create module exporters. |
protected Map<String,String> |
createModuleProperties()
Create module properties used for module creation. |
void |
deleteData()
Clears the data created by the test application, that is, all user accounts created by it |
org.springframework.context.ApplicationContext |
getCtx()
|
DataExportService |
getDataExportService()
|
DataService |
getDataService()
|
ExecutionService |
getExecutionService()
|
ModuleService |
getModuleService()
|
UserAccountService |
getUserAccountService()
|
void |
runModule()
Call this method to run the module |
void |
startApplication()
Creates all services and a default test account |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String dataDirName
| Constructor Detail |
|---|
public TestApp()
| Method Detail |
|---|
public void startApplication()
public void deleteData()
public void runModule()
protected UserAccount createAccount()
protected Map<String,String> createAccountProperties()
protected Module createModule(UserAccount account)
protected Map<String,String> createModuleProperties()
protected Map<String,byte[]> createBinaryModuleProperties()
protected Map<String,DataExporter> createModuleExporters()
public org.springframework.context.ApplicationContext getCtx()
public ModuleService getModuleService()
public UserAccountService getUserAccountService()
public ExecutionService getExecutionService()
public DataService getDataService()
public DataExportService getDataExportService()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||