1 16 package com.google.gwt.junit.viewer.client; 17 18 import com.google.gwt.user.client.rpc.IsSerializable; 19 20 import java.util.Date ; 21 22 25 public class ReportSummary implements IsSerializable { 26 27 private boolean allTestsSucceeded; 28 29 private Date date; 30 31 private String dateString; 33 34 private String id; 35 36 private int numTests; 38 39 public ReportSummary() { 40 } 41 42 public ReportSummary(String id, Date date, String dateString, int numTests, 43 boolean allTestsSucceeded) { 44 this.id = id; 45 this.date = date; 46 this.dateString = dateString; 47 this.numTests = numTests; 48 this.allTestsSucceeded = allTestsSucceeded; 49 } 50 51 public boolean allTestsSucceeded() { 52 return allTestsSucceeded; 53 } 54 55 public Date getDate() { 56 return date; 57 } 58 59 public String getDateString() { 60 return dateString; 61 } 62 63 public String getId() { 64 return id; 65 } 66 67 public int getNumTests() { 68 return numTests; 69 } 70 } 71 | Popular Tags |