Package com.agiletec.plugins.jpstats.aps.util

Examples of com.agiletec.plugins.jpstats.aps.util.TopContentsCDP.produceDataset()


    DatasetProducer mostVisitedPagesChart = (DatasetProducer) action.getMostVisitedPagestimeData();
    TopContentsCDP topContents = (TopContentsCDP) action.getTopContentsDataset();//request.getAttribute("TopContents");
    assertNotNull(accessChart);
    assertNotNull(mostVisitedPagesChart);
    assertNotNull(topContents);
    DefaultIntervalCategoryDataset data = (DefaultIntervalCategoryDataset) topContents.produceDataset(null);
    List categories = data.getCategories();
    assertTrue(categories.size()>0);
  }
 
  public void testPerformErrorFormatDatesView() throws Throwable {
View Full Code Here


    start = CalendarConverter.getCalendarDay("05/03/2007", 23, 59, 59, 999);
    end = CalendarConverter.getCalendarDay("30/03/2007", 23, 59, 59, 999);
    bean.setStart(start);
    bean.setEnd(end);
    TopContentsCDP topContentsCDP = new TopContentsCDP(_statsManager, bean);
    Object produceDataset = topContentsCDP.produceDataset(null);
    assertNotNull(produceDataset);
  }
 
  public void testCountIPByDateInterval() throws ApsSystemException, SQLException {
    Calendar start = CalendarConverter.getCalendarDay("06/03/2007", 0, 0, 0, 0);
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.