diff options
Diffstat (limited to 'plugins/org.eclipse.osee.ote.rest/src/org/eclipse/osee/ote/rest/internal/TestResultSummary.java')
-rw-r--r-- | plugins/org.eclipse.osee.ote.rest/src/org/eclipse/osee/ote/rest/internal/TestResultSummary.java | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/plugins/org.eclipse.osee.ote.rest/src/org/eclipse/osee/ote/rest/internal/TestResultSummary.java b/plugins/org.eclipse.osee.ote.rest/src/org/eclipse/osee/ote/rest/internal/TestResultSummary.java deleted file mode 100644 index 611950c3175..00000000000 --- a/plugins/org.eclipse.osee.ote.rest/src/org/eclipse/osee/ote/rest/internal/TestResultSummary.java +++ /dev/null @@ -1,59 +0,0 @@ -package org.eclipse.osee.ote.rest.internal; - -class TestResultSummary { - - private static final String NA = "N/A"; - private String name; - private String results; - private String time; - - public TestResultSummary(String name, String results, String time) { - this.name = name; - this.results = results; - this.time = time; - } - - public TestResultSummary(String name) { - this.name = name; - this.results = NA; - this.time = NA; - } - - public String getName() { - return name; - } - - public String getResult() { - return results; - } - - public String getTime() { - return time; - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((name == null) ? 0 : name.hashCode()); - return result; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - TestResultSummary other = (TestResultSummary) obj; - if (name == null) { - if (other.name != null) - return false; - } else if (!name.equals(other.name)) - return false; - return true; - } - -} |