use of org.jenkinsci.test.acceptance.po.ListView in project acceptance-test-harness by jenkinsci.
the class AbstractAnalysisTest method addListViewColumn.
/**
* Creates a new view and adds the given column to the view.
*
* @param columnClass the type of the column to add
* @param owner the owner of this view
* @param <T> the concrete type of the ListViewColumn
* @return the created view
*/
protected <T extends ListViewColumn> ListView addListViewColumn(final Class<T> columnClass, final Container owner) {
ListView view = createNewViewForAllJobs(ListView.class, owner);
view.addColumn(columnClass);
view.save();
return view;
}
Aggregations