public class PhotonBasicWebTestRule
extends com.helger.web.scope.mock.WebScopeTestRule
| Constructor and Description |
|---|
PhotonBasicWebTestRule()
Ctor using the default storage path from
ScopeTestRule |
PhotonBasicWebTestRule(File aPath)
Ctor with an arbitrary path
|
PhotonBasicWebTestRule(File aDataPath,
String sServletContextPath)
Ctor with an arbitrary path
|
| Modifier and Type | Method and Description |
|---|---|
void |
after() |
void |
before() |
File |
getDataPath() |
String |
getServletContextPath() |
PhotonBasicWebTestRule |
setDeleteAllData(boolean bDeleteAllData)
Delete the directories with data and servlet context path before each
iteration?
|
public PhotonBasicWebTestRule()
ScopeTestRulepublic PhotonBasicWebTestRule(@Nonnull File aPath)
aPath - The data AND servlet context path to be used. May not be
null.@Nonnull @Nonempty public String getServletContextPath()
null.@Nonnull public PhotonBasicWebTestRule setDeleteAllData(boolean bDeleteAllData)
bDeleteAllData - true to delete them in before(),
false if not.public void before()
before in class com.helger.web.scope.mock.WebScopeTestRulepublic void after()
after in class com.helger.web.scope.mock.WebScopeTestRuleCopyright © 2014–2018 Philip Helger. All rights reserved.