com.atlassian.confluence.selenium
Class TinyMceMacroBrowserNotIExploreTest

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.TinyMceMacroBrowserNotIExploreTest
All Implemented Interfaces:
junit.framework.Test

public class TinyMceMacroBrowserNotIExploreTest
extends AbstractSeleniumTest

Run tests specific to RTE that require typing, cursor placement or pressing of the Enter key. Common tests should go in TinyMceMacroBrowserTest.


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
TinyMceMacroBrowserNotIExploreTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testBeforeAndAfterTextForMacroWithBody()
           
 void testBeforeAndAfterTextForMacroWithoutBody()
           
 void testCursorMaintainedInEmptyParagraphOnCancel()
           
 void testCursorMaintainedOnCancel()
           
 void testCursorMaintainedOnCancelDuringMacroEdit()
           
 void testEnterCatchInMacroWithoutBody()
           
 void testEnterCatchInMacroWithoutBodyDoesntNest()
          If selection set range isn't correct, if a macro is inserted, then enter pressed to add a paragraph after, then another macro inserted - the second macro can be corrupted and appear inside the first.
 void testInsertMacroFromSelectedLastLine()
           
 void testMacroInsertedAtCursorAfterEnter()
           
 
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

TinyMceMacroBrowserNotIExploreTest

public TinyMceMacroBrowserNotIExploreTest()
Method Detail

setUp

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

tearDown

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

testEnterCatchInMacroWithoutBody

public void testEnterCatchInMacroWithoutBody()
                                      throws Exception
Throws:
Exception

testEnterCatchInMacroWithoutBodyDoesntNest

public void testEnterCatchInMacroWithoutBodyDoesntNest()
                                                throws Exception
If selection set range isn't correct, if a macro is inserted, then enter pressed to add a paragraph after, then another macro inserted - the second macro can be corrupted and appear inside the first. NotIExplore because of pressEnter, placeCursor method calls

Throws:
Exception

testBeforeAndAfterTextForMacroWithoutBody

public void testBeforeAndAfterTextForMacroWithoutBody()
                                               throws Exception
Throws:
Exception

testBeforeAndAfterTextForMacroWithBody

public void testBeforeAndAfterTextForMacroWithBody()
                                            throws Exception
Throws:
Exception

testCursorMaintainedOnCancel

public void testCursorMaintainedOnCancel()
                                  throws Exception
Throws:
Exception

testCursorMaintainedInEmptyParagraphOnCancel

public void testCursorMaintainedInEmptyParagraphOnCancel()
                                                  throws Exception
Throws:
Exception

testCursorMaintainedOnCancelDuringMacroEdit

public void testCursorMaintainedOnCancelDuringMacroEdit()
                                                 throws Exception
Throws:
Exception

testMacroInsertedAtCursorAfterEnter

public void testMacroInsertedAtCursorAfterEnter()
                                         throws Exception
Throws:
Exception

testInsertMacroFromSelectedLastLine

public void testInsertMacroFromSelectedLastLine()
                                         throws Exception
Throws:
Exception


Copyright © 2003-2010 Atlassian. All Rights Reserved.