|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase com.atlassian.confluence.junit3.JUnit3TimingTestCase com.atlassian.confluence.selenium.AbstractSeleniumTest
public abstract class AbstractSeleniumTest
Field Summary | |
---|---|
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 Summary | |
---|---|
AbstractSeleniumTest()
|
|
AbstractSeleniumTest(java.lang.String name)
|
Method Summary | |
---|---|
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()
|
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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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 final ConfluenceRpc rpc
protected UserManagementHelper userHelper
protected ConfluenceSeleniumClient client
protected ConfluenceSeleniumAssertions assertThat
protected Suite suite
protected int screenShotIndex
Constructor Detail |
---|
public AbstractSeleniumTest()
public AbstractSeleniumTest(java.lang.String name)
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
protected void createTestData(ConfluenceRpc adminRpc)
adminRpc
- rpc client with Admin user currently logged inprotected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
protected void runTest() throws java.lang.Throwable
runTest
in class junit.framework.TestCase
java.lang.Throwable
protected void setAjsLogRendered(boolean rendered)
protected void setAjsLogVisible(boolean visible)
protected void captureScreenShot()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |