public abstract class AbstractSeleniumTest
extends com.atlassian.confluence.junit3.JUnit3TimingTestCase
Modifier and Type | Field and Description |
---|---|
protected User |
adminUser |
protected ConfluenceSeleniumAssertions |
assertThat |
protected ConfluenceSeleniumClient |
client |
protected ConfluenceRpc |
rpc |
protected int |
screenShotIndex |
protected Suite |
suite |
protected BlogPost |
testBlogPost |
protected Comment |
testComment |
protected TestData |
testData |
protected Group |
testGroup |
protected Attachment |
testImage |
protected Attachment |
testImage2 |
protected Page |
testPage |
protected Space |
testSpace |
protected User |
testUser |
protected User |
testUserWithApostrophe |
protected UserManagementHelper |
userHelper |
protected Group |
users |
Constructor and Description |
---|
AbstractSeleniumTest() |
AbstractSeleniumTest(String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
captureScreenShot() |
protected void |
createTestData(ConfluenceRpc adminRpc)
Subclasses can override this method to make changes to the server state with admin privileges.
|
protected void |
runTest() |
protected void |
setAjsLogRendered(boolean rendered) |
protected void |
setAjsLogVisible(boolean visible) |
protected void |
setUp() |
protected void |
tearDown() |
runBare, setExceptionTransformer
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, setName, toString
protected final TestData testData
protected final User adminUser
protected final User testUser
protected final User testUserWithApostrophe
protected final Group testGroup
protected final Space testSpace
protected final Page testPage
protected final BlogPost testBlogPost
protected final Comment testComment
protected final Attachment testImage
protected final Attachment testImage2
protected final Group users
protected ConfluenceRpc rpc
protected UserManagementHelper userHelper
protected ConfluenceSeleniumClient client
protected ConfluenceSeleniumAssertions assertThat
protected Suite suite
protected int screenShotIndex
public AbstractSeleniumTest()
public AbstractSeleniumTest(String name)
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void createTestData(ConfluenceRpc adminRpc)
adminRpc
- rpc client with Admin user currently logged inprotected void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
protected void runTest() throws Throwable
runTest
in class junit.framework.TestCase
Throwable
protected void setAjsLogRendered(boolean rendered)
protected void setAjsLogVisible(boolean visible)
protected void captureScreenShot()
Copyright © 2003–2015 Atlassian. All rights reserved.