1 16 package com.google.gwt.junit.client; 17 18 import com.google.gwt.user.client.rpc.IsSerializable; 19 20 import java.util.List ; 21 import java.util.ArrayList ; 22 23 35 public class TestResults implements IsSerializable { 36 37 String agent; 39 40 String host; 41 42 52 String sourceRef; 53 54 57 List trials; 58 59 public TestResults() { 60 trials = new ArrayList (); 61 } 62 63 public String getAgent() { 64 return agent; 65 } 66 67 public String getHost() { 68 return host; 69 } 70 71 public String getSourceRef() { 72 return sourceRef; 73 } 74 75 public List getTrials() { 76 return trials; 77 } 78 79 public void setAgent(String agent) { 80 this.agent = agent; 81 } 82 83 public void setHost(String host) { 84 this.host = host; 85 } 86 87 public void setSourceRef(String sourceRef) { 88 this.sourceRef = sourceRef; 89 } 90 91 public void setTrials(List trials) { 92 this.trials = trials; 93 } 94 95 public String toString() { 96 return "trials: " + trials + ", sourceRef: " + sourceRef + ", agent: " 97 + agent + ", host: " + host; 98 } 99 } | Popular Tags |