Class EditGeneralConfiguration
java.lang.Object
com.atlassian.confluence.it.admin.EditGeneralConfiguration
- Direct Known Subclasses:
OldEditGeneralConfiguration
Allows setting and retrieving values from the general configuration section of the
AdminConsole.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final net.sourceforge.jwebunit.junit.WebTesterprotected final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEditGeneralConfiguration(net.sourceforge.jwebunit.junit.WebTester webTester, String workingForm) -
Method Summary
Modifier and TypeMethodDescriptioncancel()static EditGeneralConfigurationFactory method to visit the edit configuration screen from anywhere.static EditGeneralConfigurationeditConfigurationFromAnywhere(net.sourceforge.jwebunit.junit.WebTester webTester) protected static EditGeneralConfigurationeditConfigurationFromView(net.sourceforge.jwebunit.junit.WebTester webTester) longprotected booleanisOptionEnabled(String optionName) setBaseUrl(String domainName) setCamelCaseEnabled(boolean enabled) setContactAdministratorsFormEnabled(boolean enabled) setGzipResponseEncodingEnabled(boolean enabled) setMaxAttachmentsInUI(long max) protected voidvoidsubmit()Submit and don't construct a new state.Submit and immediately click edit so that more editing can be done.Submit and return aViewGeneralConfiguration, allowing the view mode of the General Config to be tested.Submit, expecting that we'll be taken back to the edit page and that there will be errors shown.
-
Field Details
-
webTester
protected final net.sourceforge.jwebunit.junit.WebTester webTester -
workingForm
-
-
Constructor Details
-
EditGeneralConfiguration
protected EditGeneralConfiguration(net.sourceforge.jwebunit.junit.WebTester webTester, String workingForm)
-
-
Method Details
-
editConfigurationFromAnywhere
Factory method to visit the edit configuration screen from anywhere.- Returns:
- a new EditGeneralConfiguration ready to use.
-
editConfigurationFromAnywhere
public static EditGeneralConfiguration editConfigurationFromAnywhere(net.sourceforge.jwebunit.junit.WebTester webTester) -
editConfigurationFromView
protected static EditGeneralConfiguration editConfigurationFromView(net.sourceforge.jwebunit.junit.WebTester webTester) -
submitAndView
Submit and return aViewGeneralConfiguration, allowing the view mode of the General Config to be tested. -
submitAndReEdit
Submit and immediately click edit so that more editing can be done. -
submitExpectingErrors
Submit, expecting that we'll be taken back to the edit page and that there will be errors shown. -
submit
public void submit()Submit and don't construct a new state. Useful in tearDowns when you aren't going to want to do anything with the result. -
cancel
-
setCamelCaseEnabled
-
setBaseUrl
-
setCustomContactAdministratorsMessage
-
setContactAdministratorsFormEnabled
-
setGzipResponseEncodingEnabled
-
getAttachmentMaxSize
-
setAttachmentMaxSize
-
getMaxAttachmentsInUI
public long getMaxAttachmentsInUI() -
setMaxAttachmentsInUI
-
getIndexingLanguage
-
isOptionEnabled
-
setOption
-