Esempio n. 1
0
 /**
  * Determines if two test elements are equal.
  *
  * @return true if the value is not null and equals the other Objects value; false otherwise (even
  *     if both values are null)
  */
 @Override
 public boolean equals(Object o) {
   if (o instanceof TestElementProperty) {
     if (this == o) {
       return true;
     }
     if (value != null) {
       return value.equals(((JMeterProperty) o).getObjectValue());
     }
   }
   return false;
 }