|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.functest.framework.AbstractFuncTestUtil com.atlassian.jira.functest.framework.UserProfileImpl
public class UserProfileImpl
Default implementation of UserProfile
Field Summary |
---|
Fields inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil |
---|
environmentData, FS, locators, logger, logIndentLevel, tester |
Constructor Summary | |
---|---|
UserProfileImpl(net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData,
Navigation navigation)
|
Method Summary | |
---|---|
void |
changeDefaultSharingType(boolean global)
Changes the default sharing settings for users that have not configured any. |
void |
changeUserLanguage(String lang)
Changes the current user's language preferences. |
void |
changeUserNotificationType(boolean useHtml)
Changes the current user's notification preferences. |
void |
changeUserSharingType(boolean global)
Changes the user's default sharing settings. |
UserProfile |
changeUserTimeZone(String timeZoneID)
Changes the current user's time zone. |
void |
gotoCurrentUserProfile()
Goto the current user's profile page. |
void |
gotoRoadmap(String userName)
Go to the user's roadmap tab in their profile |
void |
gotoUserProfile(String userName)
Go to the user's profile page. |
Methods inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil |
---|
childLogIndentLevel, getAssertions, getEnvironmentData, getFuncTestHelperFactory, getLogger, log, log, navigation, submitAtPage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserProfileImpl(net.sourceforge.jwebunit.WebTester tester, com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData, Navigation navigation)
Method Detail |
---|
public void changeUserNotificationType(boolean useHtml)
UserProfile
changeUserNotificationType
in interface UserProfile
useHtml
- Set to True for HTML notifications, False for plain text notificationspublic void changeUserSharingType(boolean global)
UserProfile
changeUserSharingType
in interface UserProfile
global
- true if default sharing should be public, false otherwise.public void changeDefaultSharingType(boolean global)
UserProfile
changeDefaultSharingType
in interface UserProfile
global
- true if default sharing should be public, false otherwise.public void changeUserLanguage(String lang)
UserProfile
changeUserLanguage
in interface UserProfile
lang
- the full language text to change to e.g. "German (Germany)"public void gotoCurrentUserProfile()
UserProfile
gotoCurrentUserProfile
in interface UserProfile
public void gotoUserProfile(String userName)
UserProfile
gotoUserProfile
in interface UserProfile
userName
- The user name of the other user.public void gotoRoadmap(String userName)
UserProfile
gotoRoadmap
in interface UserProfile
userName
- the user whose roadmap you want to go topublic UserProfile changeUserTimeZone(String timeZoneID)
UserProfile
changeUserTimeZone
in interface UserProfile
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |