mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
06.29.2014 d9288ce4e5cc5a9360cf692db941a5646af0ddb3
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, June 6, 2014 15:29 +0200
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, June 6, 2014 15:29 +0200
commitd9288ce4e5cc5a9360cf692db941a5646af0ddb3
tree 1a18e67d378b9755343da0823caddfd8431a39e5 tree | zip | gz
parent 064849030e8cc530f90a8b5aa2ef59a430a174d0 view | diff
Code cleanup.


SynchronizationMsgTest.java:
In DataProvider methods, inlined + renamed local variables.
Used assertj.
Removed empty messages in assertions.
Aligned assertAttributesEqual() with ProtocolCompatibilityTest's version.

ProtocolCompatibilityTest.java:
Factorized code by extracting method assertAttributesEqual().
Used TestCaseUtils.newList().
Used assertj.
2 files modified
457 ■■■■■ changed files
opendj-sdk/opendj3-server-dev/tests/unit-tests-testng/src/server/org/opends/server/replication/protocol/ProtocolCompatibilityTest.java 253 ●●●●● diff | view | raw | blame | history
opendj-sdk/opendj3-server-dev/tests/unit-tests-testng/src/server/org/opends/server/replication/protocol/SynchronizationMsgTest.java 204 ●●●● diff | view | raw | blame | history