com.google.appengine.tools.development.testing
Interface DevAppServerTestConfig
-
- All Known Implementing Classes:
- BaseDevAppServerTestConfig
public interface DevAppServerTestConfigConfig for a dev appserver that launches as part of a test.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.io.FilegetAppDir()java.io.FilegetAppEngineWebXml()java.util.List<java.net.URL>getClasspath()java.lang.StringgetPortSystemProperty()java.io.FilegetSdkRoot()java.io.FilegetWebXml()booleaninstallSecurityManager()
-
-
-
Method Detail
-
getSdkRoot
java.io.File getSdkRoot()
- Returns:
- The root of the sdk installation
-
getAppDir
java.io.File getAppDir()
- Returns:
- The top-level directory of the web application to run.
-
getWebXml
java.io.File getWebXml()
- Returns:
- The location of web.xml. If
null,getAppDir()/WEB-INF/web.xml will be used.
-
getAppEngineWebXml
java.io.File getAppEngineWebXml()
- Returns:
- The location of appengine-web.xml. If
null,getAppDir()/WEB-INF/appengine-web.xml will be used.
-
installSecurityManager
boolean installSecurityManager()
- Returns:
- If
true, the dev appserver will be installed with the local app engineSecurityManager. It is strongly recommended you install the SecurityManager unless your testing environment does not allow SecurityManager to be installed.
-
getClasspath
java.util.List<java.net.URL> getClasspath()
- Returns:
- The classpath for all application and test code
-
getPortSystemProperty
java.lang.String getPortSystemProperty()
- Returns:
- The name of the system property that can be consulted to retrieve the port on which the dev appserver is running.
-
-