com.atlassian.confluence.it.admin
Class EditGeneralConfiguration

java.lang.Object
  extended by com.atlassian.confluence.it.admin.EditGeneralConfiguration

public class EditGeneralConfiguration
extends Object

Allows setting and retrieving values from the general configuration section of the AdminConsole.


Method Summary
 EditGeneralConfiguration disableDidYouMean()
           
static EditGeneralConfiguration editConfigurationFromAnywhere(net.sourceforge.jwebunit.junit.WebTester webTester)
          Factory method to visit the edit configuration screen from anywhere.
protected static EditGeneralConfiguration editConfigurationFromView(net.sourceforge.jwebunit.junit.WebTester webTester)
          Factory method to visit the edit configuration screen from anywhere.
 EditGeneralConfiguration enableDidYouMean()
           
 boolean isDidYouMeanChecked()
           
 void setSiteWelcomeMessage(String message)
           
 void submit()
          Submit and don't construct a new state.
 void 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

editConfigurationFromAnywhere

public static EditGeneralConfiguration editConfigurationFromAnywhere(net.sourceforge.jwebunit.junit.WebTester webTester)
Factory method to visit the edit configuration screen from anywhere.

Parameters:
webTester - must be logged in as a user with administrative privileges.
Returns:
a new EditGeneralConfiguration ready to use.

editConfigurationFromView

protected static EditGeneralConfiguration editConfigurationFromView(net.sourceforge.jwebunit.junit.WebTester webTester)
Factory method to visit the edit configuration screen from anywhere.

Parameters:
webTester - must be logged in as a user with administrative privileges and already on the View General Config page.
Returns:
a new EditGeneralConfiguration ready to use.

enableDidYouMean

public EditGeneralConfiguration enableDidYouMean()

disableDidYouMean

public EditGeneralConfiguration disableDidYouMean()

submitAndView

public ViewGeneralConfiguration submitAndView()
Submit and return a ViewGeneralConfiguration, allowing the view mode of the General Config to be tested.


submitAndReEdit

public void submitAndReEdit()
Submit and immediately click edit so that more editing can be done.


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.


isDidYouMeanChecked

public boolean isDidYouMeanChecked()

setSiteWelcomeMessage

public void setSiteWelcomeMessage(String message)


Copyright © 2003-2011 Atlassian. All Rights Reserved.