public class OldEditGeneralConfiguration extends EditGeneralConfiguration
AdminConsole
.Modifier and Type | Field and Description |
---|---|
protected net.sourceforge.jwebunit.junit.WebTester |
webTester |
protected String |
workingForm |
Modifier | Constructor and Description |
---|---|
protected |
OldEditGeneralConfiguration(net.sourceforge.jwebunit.junit.WebTester webTester,
String workingForm) |
Modifier and Type | Method and Description |
---|---|
static OldEditGeneralConfiguration |
editConfigurationFromAnywhere()
Factory method to visit the edit configuration screen from anywhere.
|
static OldEditGeneralConfiguration |
editConfigurationFromAnywhere(net.sourceforge.jwebunit.junit.WebTester webTester) |
protected static OldEditGeneralConfiguration |
editConfigurationFromView(net.sourceforge.jwebunit.junit.WebTester webTester) |
protected boolean |
isOptionEnabled(String optionName) |
boolean |
isRemoteApiEnabled() |
protected void |
setOption(boolean enabled,
String name) |
OldEditGeneralConfiguration |
setRemoteApiEnabled(boolean enabled) |
void |
submit()
Submit and don't construct a new state.
|
OldEditGeneralConfiguration |
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. |
OldEditGeneralConfiguration |
submitExpectingErrors()
Submit, expecting that we'll be taken back to the edit page and that there will be errors shown.
|
cancel, getAttachmentMaxSize, getMaxAttachmentsInUI, setAttachmentMaxSize, setBaseUrl, setCamelCaseEnabled, setContactAdministratorsFormEnabled, setCustomContactAdministratorsMessage, setGzipResponseEncodingEnabled, setMaxAttachmentsInUI
protected final net.sourceforge.jwebunit.junit.WebTester webTester
protected final String workingForm
protected OldEditGeneralConfiguration(net.sourceforge.jwebunit.junit.WebTester webTester, String workingForm)
public static OldEditGeneralConfiguration editConfigurationFromAnywhere()
public static OldEditGeneralConfiguration editConfigurationFromAnywhere(net.sourceforge.jwebunit.junit.WebTester webTester)
protected static OldEditGeneralConfiguration editConfigurationFromView(net.sourceforge.jwebunit.junit.WebTester webTester)
public ViewGeneralConfiguration submitAndView()
ViewGeneralConfiguration
, allowing the
view mode of the General Config to be tested.submitAndView
in class EditGeneralConfiguration
public OldEditGeneralConfiguration submitAndReEdit()
submitAndReEdit
in class EditGeneralConfiguration
public OldEditGeneralConfiguration submitExpectingErrors()
submitExpectingErrors
in class EditGeneralConfiguration
public void submit()
submit
in class EditGeneralConfiguration
public boolean isRemoteApiEnabled()
public OldEditGeneralConfiguration setRemoteApiEnabled(boolean enabled)
protected boolean isOptionEnabled(String optionName)
protected void setOption(boolean enabled, String name)
Copyright © 2003–2017 Atlassian. All rights reserved.