com.atlassian.confluence.selenium
Class EditorInsertImageDialogTest

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

public class EditorInsertImageDialogTest
extends AbstractSeleniumTest

Tests the insert image dialog. Pretty much all the tests from EditorInsertImageTestOld should eventually work in the new dialog and should end up in a new incarnation here.


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
EditorInsertImageDialogTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testBoostFileNameOverPageName()
           
 void testImageAttachmentPreview()
           
 void testImageDialogWithBadPageName()
           
 void testInsertExternalImage()
           
 void testInsertExternalImagePreviewError()
           
 void testInsertImageAttachment()
           
 void testInsertImageInComment()
           
 void testInsertImageInDraft()
           
 void testInsertOtherPageOtherSpace()
           
 void testInsertOtherPageSameSpace()
           
 void testInsertSamePage()
           
 void testNoAttachingToPageForUnpermittedUser()
           
 void testSearchFilename()
           
 void testSearchHighlightingFilename()
           
 void testSearchHighlightingPageName()
           
 void testSearchNoResults()
           
 void testSearchPageName()
           
 void testSpacePickerFiltering()
           
 void testUploadFormAppearanceInComment()
           
 void testUploadFormAppearsForPermittedUser()
           
 void TODOXHTML_testNoAttachingToDraftForAnonymousUser()
           
 
Methods inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
captureScreenShot, captureScreenShot, createTestData, removeTestData, runTest, setAjsLogRendered, setAjsLogVisible
 
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

EditorInsertImageDialogTest

public EditorInsertImageDialogTest()
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

testInsertImageAttachment

public void testInsertImageAttachment()
                               throws Exception
Throws:
Exception

testImageAttachmentPreview

public void testImageAttachmentPreview()
                                throws Exception
Throws:
Exception

testInsertImageInComment

public void testInsertImageInComment()
                              throws Exception
Throws:
Exception

testInsertImageInDraft

public void testInsertImageInDraft()
                            throws Exception
Throws:
Exception

testInsertExternalImage

public void testInsertExternalImage()
                             throws Exception
Throws:
Exception

testInsertExternalImagePreviewError

public void testInsertExternalImagePreviewError()
                                         throws Exception
Throws:
Exception

TODOXHTML_testNoAttachingToDraftForAnonymousUser

public void TODOXHTML_testNoAttachingToDraftForAnonymousUser()

testNoAttachingToPageForUnpermittedUser

public void testNoAttachingToPageForUnpermittedUser()

testUploadFormAppearsForPermittedUser

public void testUploadFormAppearsForPermittedUser()

testUploadFormAppearanceInComment

public void testUploadFormAppearanceInComment()

testImageDialogWithBadPageName

public void testImageDialogWithBadPageName()

testSearchFilename

public void testSearchFilename()

testSearchPageName

public void testSearchPageName()

testBoostFileNameOverPageName

public void testBoostFileNameOverPageName()

testSpacePickerFiltering

public void testSpacePickerFiltering()

testSearchNoResults

public void testSearchNoResults()

testInsertSamePage

public void testInsertSamePage()

testInsertOtherPageSameSpace

public void testInsertOtherPageSameSpace()

testInsertOtherPageOtherSpace

public void testInsertOtherPageOtherSpace()

testSearchHighlightingFilename

public void testSearchHighlightingFilename()

testSearchHighlightingPageName

public void testSearchHighlightingPageName()


Copyright © 2003-2011 Atlassian. All Rights Reserved.