com.atlassian.confluence.selenium
Class AbstractEditorImagePropertyPanelTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.confluence.junit3.JUnit3TimingTestCase
              extended by com.atlassian.confluence.selenium.AbstractSeleniumTest
                  extended by com.atlassian.confluence.selenium.AbstractEditorPropertyPanelTest
                      extended by com.atlassian.confluence.selenium.AbstractEditorImagePropertyPanelTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
EditorImagePropertyPanelDarkFeatureTest, EditorImagePropertyPanelTest

public abstract class AbstractEditorImagePropertyPanelTest
extends AbstractEditorPropertyPanelTest

Abstract Tests Image Property Panel in the RTE.


Field Summary
protected  java.lang.String EDITOR_IMAGE_SCALE_BY_HEIHT_DARK_FEATURE_KEY
           
 
Fields inherited from class com.atlassian.confluence.selenium.AbstractEditorPropertyPanelTest
defaultUser, editor, tinyMce
 
Fields inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
adminUser, assertThat, client, rpc, screenShotIndex, suite, testBlogPost, testComment, testData, testGroup, testImage, testImage2, testPage, testSpace, testUser, testUserWithApostrophe, userHelper, users
 
Constructor Summary
AbstractEditorImagePropertyPanelTest()
           
 
Method Summary
protected  void assertImageHasFullsizeSrc()
           
protected  void assertImageHasThumbnailSrc()
           
protected  void assertImageWithSize(Attachment image, ImagePropertyPanel.Size size, boolean thumbnail)
           
protected  java.lang.String[] getDarkFeatures()
           
protected  ImagePropertyPanel launchFromClickOnElement()
           
protected  void setUp()
           
protected  void tearDown()
           
 
Methods inherited from class com.atlassian.confluence.selenium.AbstractEditorPropertyPanelTest
testCloseWithClickOutsideRte, testCloseWithEscapeKeyInsideRTE, testCloseWithEscapeKeyOutsideRTE, waitUntilPropertyPanelGone
 
Methods inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
captureScreenShot, createTestData, runTest, setAjsLogRendered, setAjsLogVisible
 
Methods inherited from class com.atlassian.confluence.junit3.JUnit3TimingTestCase
runBare, setExceptionTransformer
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, 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
 

Field Detail

EDITOR_IMAGE_SCALE_BY_HEIHT_DARK_FEATURE_KEY

protected final java.lang.String EDITOR_IMAGE_SCALE_BY_HEIHT_DARK_FEATURE_KEY
See Also:
Constant Field Values
Constructor Detail

AbstractEditorImagePropertyPanelTest

public AbstractEditorImagePropertyPanelTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class AbstractEditorPropertyPanelTest
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class AbstractEditorPropertyPanelTest
Throws:
java.lang.Exception

launchFromClickOnElement

protected ImagePropertyPanel launchFromClickOnElement()
Specified by:
launchFromClickOnElement in class AbstractEditorPropertyPanelTest

assertImageWithSize

protected void assertImageWithSize(Attachment image,
                                   ImagePropertyPanel.Size size,
                                   boolean thumbnail)

assertImageHasFullsizeSrc

protected void assertImageHasFullsizeSrc()

assertImageHasThumbnailSrc

protected void assertImageHasThumbnailSrc()

getDarkFeatures

protected java.lang.String[] getDarkFeatures()
Returns:
dark features that need to be enabled/disabled


Copyright © 2003-2014 Atlassian. All Rights Reserved.