Beispiel #1
0
 @Override
 public boolean equals(Object o) {
   if (o == this) {
     return true;
   } else if (o instanceof TestCaseGroupKey) {
     TestCaseGroupKey c = (TestCaseGroupKey) o;
     return (this.env == null ? c.env == null || c.env.isEmpty() : this.env.equals(c.env))
         && PhptTestCase.isEquivalentForTestCase(this.ini, c.ini);
   } else {
     return false;
   }
 }
Beispiel #2
0
 @Override
 public int hashCode() {
   return (env == null ? 1 : env.hashCode()) | PhptTestCase.hashCode(ini);
 }