|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.atlassian.confluence.selenium.AbstractSeleniumTest
com.atlassian.confluence.selenium.AbstractEditorAutocompleteTester
com.atlassian.confluence.selenium.EditorAutocompleteImageShortcutTest
public class EditorAutocompleteImageShortcutTest
Tests Image Autocomplete in the RTE. The autocomplete is fired by the shortcut key, not the trigger character, so these tests can run in IE.
| Field Summary |
|---|
| Fields inherited from class com.atlassian.confluence.selenium.AbstractEditorAutocompleteTester |
|---|
defaultUser, editor, editorAutocomplete, isAttachment, isComment, isCreatePage, searchText, shortCut, testContent, tinyMce |
| 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 | |
|---|---|
EditorAutocompleteImageShortcutTest()
|
|
| Method Summary | |
|---|---|
protected void |
assertInsertedInRTE()
|
protected void |
assertInView()
|
protected void |
setUp()
|
protected void |
setupWhenTestTypeKnown(long contentId,
boolean isSearch)
|
void |
testAttachmentSearchOnBlogpost()
|
void |
testAttachmentSuggestionOnBlogpost()
|
void |
testCloseScroll()
|
void |
testCloseWithClickOutsideRte()
|
void |
testImageInsertViaDialog()
|
void |
testInsertFromSuggestionWhenCreatingPage()
|
void |
testInsertViewFileMacroFromAutocomplete()
|
void |
testInsertViewFileMacroFromAutocompleteOnDraft()
|
void |
testOnlySuggestsTenImages()
|
| 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 EditorAutocompleteImageShortcutTest()
| Method Detail |
|---|
protected void setUp()
throws Exception
setUp in class AbstractEditorAutocompleteTesterException
protected void setupWhenTestTypeKnown(long contentId,
boolean isSearch)
setupWhenTestTypeKnown in class AbstractEditorAutocompleteTesterprotected void assertInsertedInRTE()
assertInsertedInRTE in class AbstractEditorAutocompleteTesterprotected void assertInView()
assertInView in class AbstractEditorAutocompleteTester
public void testInsertFromSuggestionWhenCreatingPage()
throws Exception
testInsertFromSuggestionWhenCreatingPage in class AbstractEditorAutocompleteTesterException
public void testInsertViewFileMacroFromAutocomplete()
throws Exception
Exceptionpublic void testInsertViewFileMacroFromAutocompleteOnDraft()
public void testOnlySuggestsTenImages()
public void testAttachmentSearchOnBlogpost()
throws Exception
Exception
public void testAttachmentSuggestionOnBlogpost()
throws Exception
Exception
public void testImageInsertViaDialog()
throws Exception
Exception
public void testCloseScroll()
throws Exception
Exception
public void testCloseWithClickOutsideRte()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||