com.atlassian.confluence.qunit.pageobjects
Class DelegatingQUnitTestProduct
java.lang.Object
com.atlassian.confluence.qunit.pageobjects.DelegatingQUnitTestProduct
- All Implemented Interfaces:
- QUnitTestProduct, com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
- Direct Known Subclasses:
- EditorTestedProduct, QuickCommentEditorTestedProduct
public class DelegatingQUnitTestProduct
- extends Object
- implements QUnitTestProduct
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegatingQUnitTestProduct
public DelegatingQUnitTestProduct(ConfluenceTestedProduct product,
Class<? extends QUnitTestPage> testPage)
- Create a test product that delegates to another.
- Parameters:
product
- testPage
- the page to navigate to for the tests
login
public void login(User user)
- Specified by:
login
in interface QUnitTestProduct
logout
public void logout()
- Specified by:
logout
in interface QUnitTestProduct
runTest
public QUnitTestPage runTest(Map<String,Object> args)
- Specified by:
runTest
in interface QUnitTestProduct
visit
public <P extends com.atlassian.pageobjects.Page> P visit(Class<P> pClass,
Object... objects)
- Specified by:
visit
in interface com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
getPageBinder
public com.atlassian.pageobjects.PageBinder getPageBinder()
- Specified by:
getPageBinder
in interface com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
getProductInstance
public com.atlassian.pageobjects.ProductInstance getProductInstance()
- Specified by:
getProductInstance
in interface com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
getTester
public com.atlassian.webdriver.pageobjects.WebDriverTester getTester()
- Specified by:
getTester
in interface com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
Copyright © 2003-2012 Atlassian. All Rights Reserved.