Package org.netbeans.web.action.StatisticsAction

Examples of org.netbeans.web.action.StatisticsAction.TableCell


        addExc(cal.getTime(), last);

        ArrayList<TableCell> cellData = new StatisticsAction().recountData(true);
        assertNotNull(cellData);
        assertEquals(12, cellData.size());
        TableCell tableCell = cellData.get(0);
        assertEquals(6, tableCell.getAllReports());
        assertEquals(3, tableCell.getNonDuplicateReports());

        last = addExc(cal.getTime(), null, 1);
        addExc(cal.getTime(), null, 2);
        addExc(cal.getTime(), last, 3);
        last = addExc(cal.getTime(), last, 4);
        addExc(cal.getTime(), last, 4);

        cellData = new StatisticsAction().recountData(true);
        assertNotNull(cellData);
        assertEquals(12, cellData.size());
        tableCell = cellData.get(0);
        assertEquals(11, tableCell.getAllReports());
        assertEquals(5, tableCell.getNonDuplicateReports());
        assertEquals(0, tableCell.getResolved());
        assertEquals(0, tableCell.getFixed());
    }
View Full Code Here

TOP

Related Classes of org.netbeans.web.action.StatisticsAction.TableCell

Copyright © 2018 www.massapicom. 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.