commit | 4883981228e871f9b58c01197c01d93ded6250d2 | [log] [tgz] |
---|---|---|
author | Marco Miller <marco.miller@ericsson.com> | Thu May 05 10:49:51 2016 -0400 |
committer | David Pursehouse <david.pursehouse@sonymobile.com> | Fri May 06 01:37:25 2016 +0000 |
tree | fd5ae4471acad83795f3af1674918afd80707c8a | |
parent | 17801ecc67781d7ce1304ab10b1c8219855475d2 [diff] |
Add RefReplicatedEvent refStatus testing similarly to sibling members Change-Id: Ia7feb1b9983dff144d521da8c7253c66bbf6eb6b
diff --git a/src/test/java/com/googlesource/gerrit/plugins/replication/RefReplicatedEventEquals.java b/src/test/java/com/googlesource/gerrit/plugins/replication/RefReplicatedEventEquals.java index c2efcad..d614463 100644 --- a/src/test/java/com/googlesource/gerrit/plugins/replication/RefReplicatedEventEquals.java +++ b/src/test/java/com/googlesource/gerrit/plugins/replication/RefReplicatedEventEquals.java
@@ -48,6 +48,9 @@ if (!equals(expected.status, actualRefReplicatedEvent.status)) { return false; } + if (!equals(expected.refStatus, actualRefReplicatedEvent.refStatus)) { + return false; + } return true; } @@ -73,6 +76,8 @@ buffer.append(expected.targetNode); buffer.append("\" and status \""); buffer.append(expected.status); + buffer.append("\" and refStatus \""); + buffer.append(expected.refStatus); buffer.append("\")"); } }