public class EditGeneralConfiguration extends Object
AdminConsole
.Modifier and Type | Field and Description |
---|---|
protected net.sourceforge.jwebunit.junit.WebTester |
webTester |
protected String |
workingForm |
Modifier | Constructor and Description |
---|---|
protected |
EditGeneralConfiguration(net.sourceforge.jwebunit.junit.WebTester webTester,
String workingForm) |
Modifier and Type | Method and Description |
---|---|
ViewSecurityConfiguration |
cancel() |
static EditGeneralConfiguration |
editConfigurationFromAnywhere()
Factory method to visit the edit configuration screen from anywhere.
|
static EditGeneralConfiguration |
editConfigurationFromAnywhere(net.sourceforge.jwebunit.junit.WebTester webTester) |
protected static EditGeneralConfiguration |
editConfigurationFromView(net.sourceforge.jwebunit.junit.WebTester webTester) |
long |
getAttachmentMaxSize() |
long |
getMaxAttachmentsInUI() |
protected boolean |
isOptionEnabled(String optionName) |
EditGeneralConfiguration |
setAttachmentMaxSize(long max) |
EditGeneralConfiguration |
setBaseUrl(String domainName) |
EditGeneralConfiguration |
setCamelCaseEnabled(boolean enabled) |
EditGeneralConfiguration |
setContactAdministratorsFormEnabled(boolean enabled) |
EditGeneralConfiguration |
setCustomContactAdministratorsMessage(String message) |
EditGeneralConfiguration |
setGzipResponseEncodingEnabled(boolean enabled) |
EditGeneralConfiguration |
setMaxAttachmentsInUI(long max) |
protected void |
setOption(boolean enabled,
String name) |
void |
submit()
Submit and don't construct a new state.
|
EditGeneralConfiguration |
submitAndReEdit()
Submit and immediately click edit so that more editing can be done.
|
ViewGeneralConfiguration |
submitAndView()
Submit and return a
ViewGeneralConfiguration , allowing the
view mode of the General Config to be tested. |
EditGeneralConfiguration |
submitExpectingErrors()
Submit, expecting that we'll be taken back to the edit page and that there will be errors shown.
|
protected final net.sourceforge.jwebunit.junit.WebTester webTester
protected final String workingForm
protected EditGeneralConfiguration(net.sourceforge.jwebunit.junit.WebTester webTester, String workingForm)
public static EditGeneralConfiguration editConfigurationFromAnywhere()
public static EditGeneralConfiguration editConfigurationFromAnywhere(net.sourceforge.jwebunit.junit.WebTester webTester)
protected static EditGeneralConfiguration editConfigurationFromView(net.sourceforge.jwebunit.junit.WebTester webTester)
public ViewGeneralConfiguration submitAndView()
ViewGeneralConfiguration
, allowing the
view mode of the General Config to be tested.public EditGeneralConfiguration submitAndReEdit()
public EditGeneralConfiguration submitExpectingErrors()
public void submit()
public ViewSecurityConfiguration cancel()
public EditGeneralConfiguration setCamelCaseEnabled(boolean enabled)
public EditGeneralConfiguration setBaseUrl(String domainName)
public EditGeneralConfiguration setCustomContactAdministratorsMessage(String message)
public EditGeneralConfiguration setContactAdministratorsFormEnabled(boolean enabled)
public EditGeneralConfiguration setGzipResponseEncodingEnabled(boolean enabled)
public long getAttachmentMaxSize()
public EditGeneralConfiguration setAttachmentMaxSize(long max)
public long getMaxAttachmentsInUI()
public EditGeneralConfiguration setMaxAttachmentsInUI(long max)
protected boolean isOptionEnabled(String optionName)
protected void setOption(boolean enabled, String name)
Copyright © 2003–2015 Atlassian. All rights reserved.