Examples of PerfTestStatistics


Examples of org.ngrinder.perftest.model.PerfTestStatistics

  @Transactional
  public Collection<PerfTestStatistics> getCurrentPerfTestStatistics() {
    Map<User, PerfTestStatistics> perfTestPerUser = newHashMap();
    for (PerfTest each : getAll(null, getProcessingOrTestingTestStatus())) {
      User lastModifiedUser = each.getCreatedUser().getUserBaseInfo();
      PerfTestStatistics perfTestStatistics = perfTestPerUser.get(lastModifiedUser);
      if (perfTestStatistics == null) {
        perfTestStatistics = new PerfTestStatistics(lastModifiedUser);
        perfTestPerUser.put(lastModifiedUser, perfTestStatistics);
      }
      perfTestStatistics.addPerfTest(each);
    }
    return perfTestPerUser.values();
  }
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.