Package org.netbeans.server.uihandler.statistics.TimeToFailture

Examples of org.netbeans.server.uihandler.statistics.TimeToFailture.TTFData


        for (Value value : values61) {
            if (value.statistics.name.equals("TimeToFailture")) {
                List<TimeToFailture.TTFData> ttfData = (List<TTFData>) value.value;
                assertEquals(1, ttfData.size());
                TTFData item = ttfData.iterator().next();
                assertEquals(1, item.getCount());
            }
        }

        f = LogsManagerTest.extractResourceAs(data, "dupres/nested10997", "log444.3");
        addLog(f, "log444");

        values61 = LogsManager.getDefault().getVersionStatistics(version61).getData();
        assertNotNull(values61);

        for (Value value : values61) {
            if (value.statistics.name.equals("TimeToFailture")) {
                List<TimeToFailture.TTFData> ttfData = (List<TTFData>) value.value;
                assertEquals(1, ttfData.size());
                TTFData item = ttfData.iterator().next();
                assertEquals(2, item.getCount());
            }
        }


        em.getTransaction().commit();
View Full Code Here

TOP

Related Classes of org.netbeans.server.uihandler.statistics.TimeToFailture.TTFData

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.