com.atlassian.confluence.selenium
Class EditorTableToolbarTest

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

public class EditorTableToolbarTest
extends AbstractSeleniumTest


Field Summary
static int DEFAULT_COLS
           
static int DEFAULT_ROWS
           
static java.lang.String DEFAULT_TABLE_CONTENT
           
 
Fields inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
adminUser, assertThat, client, rpc, screenShotIndex, suite, testBlogPost, testComment, testData, testGroup, testImage, testImage2, testPage, testSpace, testUser, testUserWithApostrophe, userHelper, users
 
Constructor Summary
EditorTableToolbarTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testClickDeleteColumn()
           
 void testClickDeleteRow()
           
 void testClickDeleteTable()
           
 void testClickHeadingColumn()
           
 void testClickHeadingRow()
           
 void testClickHighlightCell()
           
 void testClickInsertColAfterButton()
           
 void testClickInsertColBeforeButton()
           
 void testClickInsertRowAfterButtonOnHeadingRow()
           
 void testClickInsertRowAfterButtonOnNormalRow()
           
 void testClickInsertRowBeforeButtonOnHeadingRow()
           
 void testClickInsertRowBeforeButtonOnNormalRow()
           
 void testTableToolbarCopyAndPasteRow()
           
 void testTableToolbarCopyAndPasteRowAcrossPage()
           
 void testTableToolbarCutAndPasteRow()
           
 void testTableToolbarForNewTable()
           
 void testToolbarShown()
           
 void testToolBarShownInBodyLessMacro()
           
 void testToolBarShownInBodyMacro()
           
 
Methods inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
captureScreenShot, createTestData, runTest, setAjsLogRendered, setAjsLogVisible
 
Methods inherited from class com.atlassian.confluence.junit3.JUnit3TimingTestCase
runBare, setExceptionTransformer
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, 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
 

Field Detail

DEFAULT_TABLE_CONTENT

public static final java.lang.String DEFAULT_TABLE_CONTENT
See Also:
Constant Field Values

DEFAULT_ROWS

public static final int DEFAULT_ROWS
See Also:
Constant Field Values

DEFAULT_COLS

public static final int DEFAULT_COLS
See Also:
Constant Field Values
Constructor Detail

EditorTableToolbarTest

public EditorTableToolbarTest()
Method Detail

setUp

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

tearDown

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

testToolbarShown

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

testToolBarShownInBodyLessMacro

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

testToolBarShownInBodyMacro

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

testClickInsertColAfterButton

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

testClickInsertColBeforeButton

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

testClickDeleteRow

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

testClickDeleteColumn

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

testClickDeleteTable

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

testClickHeadingRow

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

testClickHeadingColumn

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

testClickHighlightCell

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

testClickInsertRowBeforeButtonOnNormalRow

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

testClickInsertRowAfterButtonOnNormalRow

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

testClickInsertRowBeforeButtonOnHeadingRow

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

testClickInsertRowAfterButtonOnHeadingRow

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

testTableToolbarForNewTable

public void testTableToolbarForNewTable()

testTableToolbarCutAndPasteRow

public void testTableToolbarCutAndPasteRow()

testTableToolbarCopyAndPasteRow

public void testTableToolbarCopyAndPasteRow()

testTableToolbarCopyAndPasteRowAcrossPage

public void testTableToolbarCopyAndPasteRowAcrossPage()


Copyright © 2003-2013 Atlassian. All Rights Reserved.