use of org.dashbuilder.displayer.client.Displayer in project kie-wb-common by kiegroup.
the class ContributorsDashboardTest method testDayOfWeekSelector.
@Test
public void testDayOfWeekSelector() {
Displayer displayer = presenter.getDayOfWeekSelectorDisplayer();
DataSet dataSet = displayer.getDataSetHandler().getLastDataSet();
assertDataSetValues(dataSet, new String[][] { { "1", "0.00" }, { "2", "0.00" }, { "3", "2.00" }, { "4", "1.00" }, { "5", "1.00" }, { "6", "2.00" }, { "7", "2.00" } }, 0);
}
use of org.dashbuilder.displayer.client.Displayer in project kie-wb-common by kiegroup.
the class ContributorsDashboardTest method testYearsSelector.
@Test
public void testYearsSelector() {
Displayer displayer = presenter.getYearsSelectorDisplayer();
DataSet dataSet = displayer.getDataSetHandler().getLastDataSet();
assertDataSetValues(dataSet, new String[][] { { "2019", "7.00" }, { "2020", "1.00" } }, 0);
}
use of org.dashbuilder.displayer.client.Displayer in project kie-wb-common by kiegroup.
the class ProjectMetricsScreenTest method testTopAuthorSelector.
@Test
public void testTopAuthorSelector() {
Displayer displayer = presenter.getTopAuthorSelectorDisplayer();
DataSet dataSet = displayer.getDataSetHandler().getLastDataSet();
assertDataSetValues(dataSet, new String[][] { { "user1", "2.00" }, { "user2", "2.00" } }, 0);
}
Aggregations