|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase com.atlassian.confluence.ThreadLocalWebTestCase com.atlassian.confluence.AbstractAtlassianWebTestCase com.atlassian.confluence.AbstractConfluenceAcceptanceTest com.atlassian.confluence.PersonalLabelsAcceptanceTest
public class PersonalLabelsAcceptanceTest
Acceptance test suite for the label functionality.
Field Summary |
---|
Constructor Summary | |
---|---|
PersonalLabelsAcceptanceTest()
|
Method Summary | |
---|---|
protected void |
setUp()
|
void |
testAddPersonalLabelForCurrentUser()
|
void |
testAddPersonalLabelForDifferentUser()
|
void |
testAddPersonalLabelForSelfAndDifferentUser()
|
void |
testAddPersonalLabelForSelfAndInvalidLabel()
|
void |
testAddUserLabel()
|
void |
testAlphaViewDoesNotContainPersonalLabels()
|
void |
testImportExportSpaceWithTwoFavouritesOnOnePage()
|
void |
testUserLabelBrowser()
|
void |
testUserLabelBrowserDoesNotContainFavourites()
Favourites are implemented as personal labels under the hood. |
void |
testUserWithSpecialCharsInUsernameAddPersonalLabels()
Tests to see if a user with special characters in their name can add personal and global labels. |
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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PersonalLabelsAcceptanceTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class AbstractConfluenceAcceptanceTest
Exception
public void testAddUserLabel() throws Exception
Exception
public void testAddPersonalLabelForCurrentUser() throws JSONException
JSONException
public void testAddPersonalLabelForDifferentUser() throws JSONException
JSONException
public void testAddPersonalLabelForSelfAndDifferentUser() throws JSONException
JSONException
public void testAddPersonalLabelForSelfAndInvalidLabel() throws JSONException
JSONException
public void testUserLabelBrowser() throws JSONException
JSONException
public void testUserLabelBrowserDoesNotContainFavourites() throws JSONException
JSONException
public void testUserWithSpecialCharsInUsernameAddPersonalLabels() throws JSONException
JSONException
public void testAlphaViewDoesNotContainPersonalLabels() throws JSONException
JSONException
public void testImportExportSpaceWithTwoFavouritesOnOnePage() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |