com.atlassian.confluence.selenium
Class AbstractSeleniumTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.confluence.selenium.AbstractSeleniumTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
AuthorFilteringOnSearchTest, ColorSchemeTest, CreateSpaceTest, CustomStylesheetTest, EditorCommentsTest, EditorDraftsNotIExploreTest, EditorDraftsTest, EditorInsertImageNotIExploreTest, EditorInsertImageTest, EditorInsertLinkNotIExploreTest, EditorInsertLinkTest, EditorLocationTest, EditorNotationGuideTest, EditorPreviewTest, EditorRichTextTest, EditorTest, FavoriatePagesMacroTest, GroupPickerTest, HeartbeatTest, LabelsTest, MacroBrowserTest, MarkupMacroBrowserTest, MenuTest, NotationGuideWindowTest, PageOrderingTest, PagePermissionsTest, PersonalSpaceTest, QuickNavigationTest, SeleniumPageRoundTripTestCase, TinyMceCharmapTest, TinyMceColorPickerTest, TinyMceConfluenceFormatTest, TinyMceEmoticonTest, TinyMceMacroBrowserNotIExploreTest, TinyMceMacroBrowserTest, TinyMceNotIExploreTest, TinyMceTableTest, TinyMceToolbarNotIExploreTest, TinyMceToolbarTest, UserFollowTest, UserHoverTest, UserPickerTest, UserStatusTest, WysiwygRoundTripTest

public abstract class AbstractSeleniumTest
extends junit.framework.TestCase


Field Summary
protected  User adminUser
           
protected  ConfluenceSeleniumAssertions assertThat
           
protected  ConfluenceSeleniumClient client
           
protected  Confluence confluence
           
protected  ConfluenceRpc rpc
           
protected  int screenShotIndex
           
protected  BlogPost testBlogPost
           
protected  Comment testComment
           
protected  Page testPage
           
protected  Space testSpace
           
protected  User testUser
           
 
Constructor Summary
AbstractSeleniumTest()
           
AbstractSeleniumTest(java.lang.String name)
           
 
Method Summary
protected  void captureScreenShot()
           
protected  void createTestData(ConfluenceRpc adminRpc)
           
protected  void removeTestData(ConfluenceRpc adminRpc)
           
protected  void runTest()
           
protected  void setUp()
           
protected  void tearDown()
           
 
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
 

Field Detail

adminUser

protected final User adminUser

testUser

protected final User testUser

testSpace

protected final Space testSpace

testPage

protected final Page testPage

testBlogPost

protected final BlogPost testBlogPost

testComment

protected final Comment testComment

rpc

protected final ConfluenceRpc rpc

client

protected ConfluenceSeleniumClient client

assertThat

protected ConfluenceSeleniumAssertions assertThat

confluence

protected Confluence confluence

screenShotIndex

protected int screenShotIndex
Constructor Detail

AbstractSeleniumTest

public AbstractSeleniumTest()

AbstractSeleniumTest

public AbstractSeleniumTest(java.lang.String name)
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

createTestData

protected void createTestData(ConfluenceRpc adminRpc)

removeTestData

protected void removeTestData(ConfluenceRpc adminRpc)

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

runTest

protected void runTest()
                throws java.lang.Throwable
Overrides:
runTest in class junit.framework.TestCase
Throws:
java.lang.Throwable

captureScreenShot

protected void captureScreenShot()


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