|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.it.admin.EditGeneralConfiguration com.atlassian.confluence.it.admin.OldEditGeneralConfiguration
public class OldEditGeneralConfiguration
Allows setting and retrieving values from the general configuration section of the AdminConsole
.
Field Summary | |
---|---|
protected net.sourceforge.jwebunit.junit.WebTester |
webTester
|
protected java.lang.String |
workingForm
|
Constructor Summary | |
---|---|
protected |
OldEditGeneralConfiguration(net.sourceforge.jwebunit.junit.WebTester webTester,
java.lang.String workingForm)
|
Method Summary | |
---|---|
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(java.lang.String optionName)
|
boolean |
isRemoteApiEnabled()
|
protected void |
setOption(boolean enabled,
java.lang.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. |
Methods inherited from class com.atlassian.confluence.it.admin.EditGeneralConfiguration |
---|
cancel, getAttachmentMaxSize, getMaxAttachmentsInUI, setAttachmentMaxSize, setBaseUrl, setCamelCaseEnabled, setContactAdministratorsFormEnabled, setCustomContactAdministratorsMessage, setGzipResponseEncodingEnabled, setMaxAttachmentsInUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final net.sourceforge.jwebunit.junit.WebTester webTester
protected final java.lang.String workingForm
Constructor Detail |
---|
protected OldEditGeneralConfiguration(net.sourceforge.jwebunit.junit.WebTester webTester, java.lang.String workingForm)
Method Detail |
---|
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(java.lang.String optionName)
protected void setOption(boolean enabled, java.lang.String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |