File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
src/main/java/com/nordstrom/automation/junit Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 33import static com .nordstrom .automation .junit .LifecycleHooks .invoke ;
44
55import java .util .List ;
6+ import java .util .Objects ;
67
78import org .junit .After ;
89import org .junit .AfterClass ;
@@ -121,4 +122,24 @@ public boolean includes(T method) {
121122 public String toString () {
122123 return description .toString ();
123124 }
125+
126+ /**
127+ * {@inheritDoc}
128+ */
129+ @ Override
130+ public boolean equals (Object o ) {
131+ if (this == o ) return true ;
132+ if (o == null || getClass () != o .getClass ()) return false ;
133+ AtomicTest <T > that = (AtomicTest <T >) o ;
134+ return Objects .equals (runner , that .runner ) &&
135+ Objects .equals (identity , that .identity );
136+ }
137+
138+ /**
139+ * {@inheritDoc}
140+ */
141+ @ Override
142+ public int hashCode () {
143+ return Objects .hash (runner , identity );
144+ }
124145}
You can’t perform that action at this time.
0 commit comments