Examples of QuarterlyReportViewModel


Examples of org.pau.assetmanager.viewmodel.QuarterlyReportViewModel

  }


  public void checkQuarterly(PropertyBook propertyBook, List<Annotation> annotationsExpectedToBeUsedInQuarterly) {
    QuarterlyReportViewModel quarterlyReportViewModel = new QuarterlyReportViewModel();
    quarterlyReportViewModel.updateBookSelection(BookSelection
        .fromBook(propertyBook));
    quarterlyReportViewModel.setQuarterlyReportYear(2012);
    AnnotationDateQuarterlyGroupingModel quarterlyGroupingModel = quarterlyReportViewModel
        .getAnnotationsDateQuarterlyGroupingModel();
    Integer numberOfGroups = quarterlyGroupingModel.getGroupCount();
    // we expect 1 quarter (all the annotations are in the first quarter)
    Assert.assertEquals(new Integer(1), numberOfGroups);
    for (Integer currentQuarter = 0; currentQuarter < numberOfGroups; currentQuarter++) {
View Full Code Here

Examples of org.pau.assetmanager.viewmodel.QuarterlyReportViewModel

  }

  public void checkQuarterly(PropertyBook propertyBook,
      List<Annotation> annotationsExpectedToBeUsedInQuarterly) {
    QuarterlyReportViewModel quarterlyReportViewModel = new QuarterlyReportViewModel();
    quarterlyReportViewModel.updateBookSelection(BookSelection
        .fromBook(propertyBook));
    quarterlyReportViewModel.setQuarterlyReportYear(2012);
    AnnotationDateQuarterlyGroupingModel quarterlyGroupingModel = quarterlyReportViewModel
        .getAnnotationsDateQuarterlyGroupingModel();
    Integer numberOfGroups = quarterlyGroupingModel.getGroupCount();
    // we expect 1 quarter (all the annotations are in the first quarter)
    Assert.assertEquals(new Integer(1), numberOfGroups);
    for (Integer currentQuarter = 0; currentQuarter < numberOfGroups; currentQuarter++) {
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.