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. Common tests should go in MacroBrowserTest.


Field Summary
 
Fields inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
adminUser, assertThat, client, confluence, rpc, screenShotIndex, testBlogPost, testComment, testPage, testSpace, testUser
 
Constructor Summary
TinyMceMacroBrowserNotIExploreTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 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 testNewlineKeptAfterMacro()
           
 void testNewlineKeptBeforeMacro()
           
 
Methods inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
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 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

testNewlineKeptBeforeMacro

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

testNewlineKeptAfterMacro

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

testEnterCatchInMacroWithoutBody

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

testEnterCatchInMacroWithoutBodyDoesntNest

public void testEnterCatchInMacroWithoutBodyDoesntNest()
                                                throws java.lang.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.

Throws:
java.lang.Exception


Copyright © 2003-2009 Atlassian Pty Ltd. All Rights Reserved.