Examples of YearlyReportViewModel


Examples of org.pau.assetmanager.viewmodel.YearlyReportViewModel

    checkYearly(propertyBook, annotationsExpectedToBeUsedInYearly);
  }
 
  public void checkYearly(PropertyBook propertyBook,
      List<Annotation> annotationsExpectedToBeUsedInYearly) {
    YearlyReportViewModel yearlyReportViewModel = new YearlyReportViewModel();
    yearlyReportViewModel.updateBookSelection(BookSelection
        .fromBook(propertyBook));
    yearlyReportViewModel.setYearlyReportYear(2012);
    AnnotationDateYearlyGroupingModel annotationsDateYearlyGroupingModel = yearlyReportViewModel
        .getAnnotationsDateYearlyGroupingModel();
    Integer numberOfGroups = annotationsDateYearlyGroupingModel
        .getGroupCount();
    // we expect 1 property (the one selected)
    Assert.assertEquals(new Integer(1), numberOfGroups);
View Full Code Here

Examples of org.pau.assetmanager.viewmodel.YearlyReportViewModel

  }
 

  public void checkYearly(PropertyBook propertyBook,
      List<Annotation> annotationsExpectedToBeUsedInYearly) {
    YearlyReportViewModel yearlyReportViewModel = new YearlyReportViewModel();
    yearlyReportViewModel.updateBookSelection(BookSelection
        .fromBook(propertyBook));
    yearlyReportViewModel.setYearlyReportYear(2012);
    AnnotationDateYearlyGroupingModel annotationsDateYearlyGroupingModel = yearlyReportViewModel
        .getAnnotationsDateYearlyGroupingModel();
    Integer numberOfGroups = annotationsDateYearlyGroupingModel
        .getGroupCount();
    // we expect 1 property (the one selected)
    Assert.assertEquals(new Integer(1), numberOfGroups);
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.