public abstract class NanoH5Unit extends Object implements de.tsl2.nano.core.util.ENVTestPreparation
| Modifier and Type | Field and Description |
|---|---|
protected static String |
BEANCOLLECTORLIST |
protected static String |
BTN_ADMINISTRATION |
protected static String |
BTN_BACK |
protected static String |
BTN_CANCEL |
protected static String |
BTN_DELETE |
protected static String |
BTN_EXPORT |
protected static String |
BTN_FORWARD |
protected static String |
BTN_LOGIN_OK |
protected static String |
BTN_NEW |
protected static String |
BTN_OPEN |
protected static String |
BTN_PRINT |
protected static String |
BTN_RESET |
protected static String |
BTN_SEARCH |
protected static String |
BTN_SELECTALL |
protected static String |
BTN_SHUTDOWN |
protected static int |
DEFAULT_H2_PORT |
protected boolean |
nanoAlreadyRunning |
protected int |
port |
| Constructor and Description |
|---|
NanoH5Unit() |
| Modifier and Type | Method and Description |
|---|---|
protected com.gargoylesoftware.htmlunit.html.HtmlPage |
back(com.gargoylesoftware.htmlunit.html.HtmlPage page) |
static NanoH5Session |
createApplicationAndSession(String name,
de.tsl2.nano.bean.def.BeanDefinition... beandefs) |
static NanoH5Session |
createApplicationAndSession(String name,
Serializable... instances) |
protected com.gargoylesoftware.htmlunit.html.HtmlPage |
crudBean(com.gargoylesoftware.htmlunit.html.HtmlPage page) |
protected int |
dbPort() |
protected String |
getServiceURL(boolean nextFreePort) |
protected com.gargoylesoftware.htmlunit.html.HtmlPage |
runWebClient() |
protected com.gargoylesoftware.htmlunit.html.HtmlPage |
runWebClient(String serviceURL) |
protected void |
setPersistenceConnectionPort() |
void |
setUp() |
void |
setUpUnit(String moduleShort) |
protected void |
shutdownNanoHttpServer() |
protected void |
shutdownNanoHttpServer(File idFile) |
protected void |
startApplication() |
protected static void |
startApplication(String... args) |
protected com.gargoylesoftware.htmlunit.html.HtmlPage |
submit(com.gargoylesoftware.htmlunit.html.HtmlPage page,
String buttonName) |
void |
tearDown() |
protected static final int DEFAULT_H2_PORT
protected static final String BTN_LOGIN_OK
protected static final String BTN_RESET
protected static final String BTN_DELETE
protected static final String BTN_CANCEL
protected static final String BTN_NEW
protected static final String BTN_EXPORT
protected static final String BTN_PRINT
protected static final String BTN_BACK
protected static final String BTN_FORWARD
protected static final String BTN_SEARCH
protected static final String BTN_SHUTDOWN
protected static final String BTN_OPEN
protected static final String BTN_ADMINISTRATION
protected static final String BTN_SELECTALL
protected static final String BEANCOLLECTORLIST
protected boolean nanoAlreadyRunning
protected int port
protected String getServiceURL(boolean nextFreePort)
protected int dbPort()
public void setUp()
public void setUpUnit(String moduleShort)
protected void setPersistenceConnectionPort()
public void tearDown()
protected void startApplication()
protected static void startApplication(String... args)
protected com.gargoylesoftware.htmlunit.html.HtmlPage runWebClient()
protected com.gargoylesoftware.htmlunit.html.HtmlPage runWebClient(String serviceURL)
protected com.gargoylesoftware.htmlunit.html.HtmlPage submit(com.gargoylesoftware.htmlunit.html.HtmlPage page,
String buttonName)
throws Exception
Exceptionprotected com.gargoylesoftware.htmlunit.html.HtmlPage back(com.gargoylesoftware.htmlunit.html.HtmlPage page)
throws Exception
Exceptionprotected com.gargoylesoftware.htmlunit.html.HtmlPage crudBean(com.gargoylesoftware.htmlunit.html.HtmlPage page)
throws Exception
Exceptionpublic static NanoH5Session createApplicationAndSession(String name, Serializable... instances) throws IOException, UnknownHostException
IOExceptionUnknownHostExceptionpublic static NanoH5Session createApplicationAndSession(String name, de.tsl2.nano.bean.def.BeanDefinition... beandefs) throws IOException, UnknownHostException
IOExceptionUnknownHostExceptionprotected void shutdownNanoHttpServer()
protected void shutdownNanoHttpServer(File idFile)
Copyright © 2012–2020. All rights reserved.