com.atlassian.confluence.it.user
Class UserProfile

java.lang.Object
  extended by com.atlassian.confluence.it.user.UserProfile

public class UserProfile
extends java.lang.Object


Method Summary
 void addUserProfilePicture(java.lang.String fileName)
          Adds the given File as the user's profile picture.
static UserProfile newInstance(net.sourceforge.jwebunit.junit.WebTester webTester, java.lang.String username)
           
 void setUserProfilePicture(java.lang.String fileName)
          Sets the user's profile picture as the provided file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newInstance

public static UserProfile newInstance(net.sourceforge.jwebunit.junit.WebTester webTester,
                                      java.lang.String username)

setUserProfilePicture

public void setUserProfilePicture(java.lang.String fileName)
Sets the user's profile picture as the provided file. The filename must match a previously uploaded profile picture, or one of the default icons.

Parameters:
fileName - the filename to set as the user's profile picture.

addUserProfilePicture

public void addUserProfilePicture(java.lang.String fileName)
Adds the given File as the user's profile picture. The file must be available on the test classpath

Parameters:
fileName - Filename


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.