public abstract class BaseDevAppServerTestConfig extends java.lang.Object implements DevAppServerTestConfig
DevAppServerTestConfig
implementation with common defaults:
Use DEFAULT_PORT_SYSTEM_PROPERTY
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_PORT_SYSTEM_PROPERTY |
Constructor and Description |
---|
BaseDevAppServerTestConfig() |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getAppEngineWebXml() |
java.lang.String |
getPortSystemProperty() |
java.io.File |
getWebXml() |
boolean |
installSecurityManager() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAppDir, getClasspath, getSdkRoot
public static final java.lang.String DEFAULT_PORT_SYSTEM_PROPERTY
public java.io.File getWebXml()
getWebXml
in interface DevAppServerTestConfig
null
,
DevAppServerTestConfig.getAppDir()
/WEB-INF/web.xml will be used.public java.io.File getAppEngineWebXml()
getAppEngineWebXml
in interface DevAppServerTestConfig
null
,
DevAppServerTestConfig.getAppDir()
/WEB-INF/appengine-web.xml will be used.public boolean installSecurityManager()
installSecurityManager
in interface DevAppServerTestConfig
true
, the dev appserver will be installed with the
local app engine SecurityManager
. It is strongly recommended you
install the SecurityManager unless your testing environment does not
allow SecurityManager to be installed.public java.lang.String getPortSystemProperty()
getPortSystemProperty
in interface DevAppServerTestConfig