|
||||||||||
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.selenium.AbstractSeleniumTest com.atlassian.confluence.selenium.TinyMceMacroBrowserNotIExploreTest
public class TinyMceMacroBrowserNotIExploreTest
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 |
---|
public TinyMceMacroBrowserNotIExploreTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class AbstractSeleniumTest
Exception
protected void tearDown() throws Exception
tearDown
in class AbstractSeleniumTest
Exception
public void testEnterCatchInMacroWithoutBody() throws Exception
Exception
public void testEnterCatchInMacroWithoutBodyDoesntNest() throws Exception
Exception
public void testBeforeAndAfterTextForMacroWithoutBody() throws Exception
Exception
public void testBeforeAndAfterTextForMacroWithBody() throws Exception
Exception
public void testCursorMaintainedOnCancel() throws Exception
Exception
public void testCursorMaintainedInEmptyParagraphOnCancel() throws Exception
Exception
public void testCursorMaintainedOnCancelDuringMacroEdit() throws Exception
Exception
public void testMacroInsertedAtCursorAfterEnter() throws Exception
Exception
public void testInsertMacroFromSelectedLastLine() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |