assertTrue(records.getRecordsCount() == 0);
}
final public void testFillLogEntryListINFO() throws Exception
{
RecordsData records = new RecordsData();
User user = null;
records.setBlockSize((null != user)?user.getSettings().getMes_per_page():25);
LogSearchCriteria criteria = new LogSearchCriteria();
criteria.setFrom(from);
criteria.setTo(to);
criteria.setLog_level("INFO");
criteria.setLogger("FORUM");
criteria.setRemote_ip(IConst.VALUES.ALL);
criteria.setSession_id(IConst.VALUES.ALL);
criteria.setUser_name(IConst.VALUES.ALL);
int block = 1;
dao.fillLogEntryList(criteria, records, block);
Iterator it = records.getRecords().iterator();
assertTrue(it.hasNext());
assertTrue(records.getRecordsCount() > 0);
}