|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.it.dashboard.WebDashboard
public class WebDashboard
Confluence dashboard information retrieved from the web interface via a WebTester
.
Method Summary | |
---|---|
void |
assertTabNotVisible(String tab)
|
void |
assertTabVisible(String tab)
|
int |
countChangeSets()
|
int |
countUpdateItems()
|
static WebDashboard |
getDashboard(net.sourceforge.jwebunit.junit.WebTester webTester)
|
static WebDashboard |
getDashboard(net.sourceforge.jwebunit.junit.WebTester webTester,
Map<String,Object> params)
|
int |
getItemsWithMatchingTitle(String title)
|
RecentlyUpdatedChangeSet |
getRecentUpdate(int index)
Returns the recently updated change-set at the specified index on the dashboard, or null if such an item does not exist. |
List<RecentlyUpdatedChangeSet> |
getRecentUpdates()
Returns the recently updated content from the dashboard as RecentlyUpdatedChangeSet objects
in the order they appear on the dashboard. |
Date |
getRequestTime()
Returns the request timestamp inserted by the server in a meta tag in the HTML header. |
String |
getSelectedTabName()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static WebDashboard getDashboard(net.sourceforge.jwebunit.junit.WebTester webTester, Map<String,Object> params)
public static WebDashboard getDashboard(net.sourceforge.jwebunit.junit.WebTester webTester)
public List<RecentlyUpdatedChangeSet> getRecentUpdates()
Dashboard
RecentlyUpdatedChangeSet
objects
in the order they appear on the dashboard.
getRecentUpdates
in interface Dashboard
RecentlyUpdatedChangeSet
objects.public RecentlyUpdatedChangeSet getRecentUpdate(int index)
Dashboard
getRecentUpdate
in interface Dashboard
index
- the zero-based index of the recently updated change-set on dashboard to return.
public Date getRequestTime()
Dashboard
getRequestTime
in interface Dashboard
public int countUpdateItems()
countUpdateItems
in interface Dashboard
public int countChangeSets()
countChangeSets
in interface Dashboard
public int getItemsWithMatchingTitle(String title)
title
- Title to look for
public void assertTabVisible(String tab)
public void assertTabNotVisible(String tab)
public String getSelectedTabName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |