|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.atlassian.confluence.ThreadLocalWebTestCase
com.atlassian.confluence.AbstractAtlassianWebTestCase
com.atlassian.confluence.AbstractConfluenceAcceptanceTest
com.atlassian.confluence.PeopleDirectoryAcceptanceTest
public class PeopleDirectoryAcceptanceTest
| Field Summary | |
|---|---|
static String |
FAVOURITE_OFF
|
static String |
FAVOURITE_ON
|
static String |
FOLLOW_OFF
|
static String |
FOLLOW_ON
|
| Fields inherited from class com.atlassian.confluence.AbstractAtlassianWebTestCase |
|---|
SITE_TITLE_SUFFIX, TITLE_SEPARATOR |
| Constructor Summary | |
|---|---|
PeopleDirectoryAcceptanceTest()
|
|
| Method Summary | |
|---|---|
void |
assertTestUserWithFavouriteSpaceIsNotMarkedAsFavourite()
|
void |
testBigTestOfOrderingFullNames()
|
void |
testBrowsePeopleContainsUsers()
|
void |
testConvertSpaceDoesNotCorruptSearch()
|
void |
testDifferentLinkIDsforMenuAndDashboardPeopleDirectory()
|
void |
testFullnameEscapedInUserLinkPopup()
|
void |
testFullnameIsEscaped()
|
void |
testOneItemDisplayedPerUser()
|
void |
testOrderOfMixedCaseNames()
|
void |
testOrderOfNames()
Commented out as CONF-7771 fix is rolled back See also: CONF-16477 public void testDeactivatedUsersDontAppear() throws Exception { // todo: requires index update at LDAP user creation if (LDAP_MODE) return; loginAs(TEST_ADMIN); createTestUsers(1); rpcFlushIndexQueue(); viewPeopleDirectory(); assertLinkPresentWithText("Test User 1"); removeUserFromGroupViaHelper("testuser1", "confluence-users"); viewPeopleDirectory(); assertLinkNotPresentWithText("Test User 1"); } |
void |
testOrderOfNamesWithSpaces()
|
void |
testPeopleDirectoryDisabledByPermissions()
Ensure that the anonymous user sees no people directory (even with no flags set) if it does not have the correct permission |
void |
testPeopleDirectoryDisabledFlags()
|
void |
testPeopleDirectoryDoesntShowExtraFields()
|
void |
testPeopleDirectoryPaging()
|
void |
testPeopleDirectoryUrlsProtectedByPermission()
CONF-14563 and CONF-14562 Make sure you can't go directly to the people directory action when you don't have the permission. |
void |
testSearchUsers()
|
void |
testSharedModeEnabledDisablesPeopleDirectory()
|
void |
testUserWithAmpersand()
|
void |
testUserWithEditedProfileIsFindable()
|
void |
testUserWithPersonalSpaceIsFindable()
|
void |
testUserWithProfileConvertedToPersonalSpaceOccursOnce()
|
void |
testViewUsersWithPersonalSpaces()
|
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runTest, setName, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String FAVOURITE_ON
public static final String FAVOURITE_OFF
public static final String FOLLOW_ON
public static final String FOLLOW_OFF
| Constructor Detail |
|---|
public PeopleDirectoryAcceptanceTest()
| Method Detail |
|---|
public void testPeopleDirectoryPaging()
throws Exception
Exception
public void testUserWithEditedProfileIsFindable()
throws Exception
Exception
public void testUserWithPersonalSpaceIsFindable()
throws Exception
Exception
public void testSearchUsers()
throws Exception
Exception
public void testUserWithProfileConvertedToPersonalSpaceOccursOnce()
throws Exception
Exception
public void testBrowsePeopleContainsUsers()
throws Exception
Exception
public void testViewUsersWithPersonalSpaces()
throws Exception
Exception
public void assertTestUserWithFavouriteSpaceIsNotMarkedAsFavourite()
throws Exception
Exception
public void testConvertSpaceDoesNotCorruptSearch()
throws Exception
Exception
public void testSharedModeEnabledDisablesPeopleDirectory()
throws Exception
Exceptionpublic void testOrderOfNames()
public void testOrderOfMixedCaseNames()
public void testOrderOfNamesWithSpaces()
public void testBigTestOfOrderingFullNames()
public void testPeopleDirectoryDisabledFlags()
public void testPeopleDirectoryDisabledByPermissions()
public void testDifferentLinkIDsforMenuAndDashboardPeopleDirectory()
public void testPeopleDirectoryUrlsProtectedByPermission()
public void testOneItemDisplayedPerUser()
public void testUserWithAmpersand()
public void testFullnameIsEscaped()
public void testFullnameEscapedInUserLinkPopup()
public void testPeopleDirectoryDoesntShowExtraFields()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||