com.atlassian.confluence.selenium
Class LabelsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.confluence.selenium.AbstractSeleniumTest
              extended by com.atlassian.confluence.selenium.LabelsTest
All Implemented Interfaces:
junit.framework.Test

public class LabelsTest
extends AbstractSeleniumTest


Field Summary
 
Fields inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
adminUser, assertThat, client, confluence, confluenceUsersGroup, rpc, screenShotIndex, testBlogPost, testComment, testData, testGroup, testImage, testImage2, testPage, testSpace, testUser, testUserWithApostrophe
 
Constructor Summary
LabelsTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testAddExistingLabelThenRemoveIt()
           
 void testAddLabelOnViewPage()
           
 void testAddMultipleLabels()
           
 void testAddMultipleLabelsFirstValidOthersInvalid()
           
 void testAddMultipleLabelsFirstValidOthersUnpermitted()
           
 void testCanAddPersonalLabelsWithoutEditPermission()
           
 void testLabelsOnGlobalTemplate()
           
 void testLabelsOnSpaceTemplate()
           
 void testLabelSuggestionsOnEditPage()
           
 void testLabelSuggestionsOnViewPage()
           
 void testRemoveLabelOnViewPage()
           
 void testUserWithSpecialCharsInUsernameAddPersonalAndGlobalLabels()
           
 
Methods inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
captureScreenShot, captureScreenShot, createTestData, removeTestData, runTest
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, 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
 

Constructor Detail

LabelsTest

public LabelsTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class AbstractSeleniumTest
Throws:
java.lang.Exception

testAddLabelOnViewPage

public void testAddLabelOnViewPage()

testRemoveLabelOnViewPage

public void testRemoveLabelOnViewPage()

testAddExistingLabelThenRemoveIt

public void testAddExistingLabelThenRemoveIt()

testLabelSuggestionsOnEditPage

public void testLabelSuggestionsOnEditPage()

testLabelSuggestionsOnViewPage

public void testLabelSuggestionsOnViewPage()

testCanAddPersonalLabelsWithoutEditPermission

public void testCanAddPersonalLabelsWithoutEditPermission()

testAddMultipleLabels

public void testAddMultipleLabels()

testAddMultipleLabelsFirstValidOthersUnpermitted

public void testAddMultipleLabelsFirstValidOthersUnpermitted()

testAddMultipleLabelsFirstValidOthersInvalid

public void testAddMultipleLabelsFirstValidOthersInvalid()

testUserWithSpecialCharsInUsernameAddPersonalAndGlobalLabels

public void testUserWithSpecialCharsInUsernameAddPersonalAndGlobalLabels()

testLabelsOnGlobalTemplate

public void testLabelsOnGlobalTemplate()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testLabelsOnSpaceTemplate

public void testLabelsOnSpaceTemplate()
                               throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class AbstractSeleniumTest
Throws:
java.lang.Exception


Copyright © 2003-2011 Atlassian. All Rights Reserved.