Package org.jboss.dashboard.provider

Examples of org.jboss.dashboard.provider.DefaultDataSetFilter.addProperty()


    @Test
    public void testFilterMultiple() throws Exception {
        DefaultDataSetFilter filter = new DefaultDataSetFilter(dataSet);
        filter.addProperty("amount", null, false, 500, false, null, DataFilter.ALLOW_ANY);
        filter.addProperty("date", "*/11 *");
        filter.addProperty("department", "Engineering");
        DataSet result = dataSet.filter(filter);
        assertThat(result.getRowCount()).isEqualTo(7);
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.