DEFAULT_WELCOME_MESSAGE
Modifier and Type | Method and Description |
---|---|
void |
assertTabNotVisible(String tab) |
void |
assertTabVisible(String tab) |
int |
countChangeSets() |
int |
countUpdateItems() |
static WebDashboard |
getDashboard()
Defaults to the "All" tab for the recently updated section
|
static WebDashboard |
getDashboard(Map<String,Object> params) |
static WebDashboard |
getDashboard(Map<String,Object> params,
net.sourceforge.jwebunit.junit.WebTester tester) |
static WebDashboard |
getDashboard(net.sourceforge.jwebunit.junit.WebTester tester) |
static WebDashboard |
getDashboardUpdatesMacroOnPage(AbstractPageEntity page) |
static WebDashboard |
getDashboardUpdatesMacroOnPage(AbstractPageEntity page,
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() |
public static WebDashboard getDashboard(Map<String,Object> params)
public static WebDashboard getDashboard(Map<String,Object> params, net.sourceforge.jwebunit.junit.WebTester tester)
public static WebDashboard getDashboardUpdatesMacroOnPage(AbstractPageEntity page, Map<String,Object> params)
public static WebDashboard getDashboardUpdatesMacroOnPage(AbstractPageEntity page)
public static WebDashboard getDashboard()
public static WebDashboard getDashboard(net.sourceforge.jwebunit.junit.WebTester tester)
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 forpublic void assertTabVisible(String tab)
public void assertTabNotVisible(String tab)
public String getSelectedTabName()
Copyright © 2003–2020 Atlassian. All rights reserved.