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

Jean-Noel Rouvignac
08.36.2013 d1e5fc57813f3c17930c6d7a7b6710d5283f9781
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, March 8, 2013 15:36 +0100
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, March 8, 2013 15:36 +0100
commitd1e5fc57813f3c17930c6d7a7b6710d5283f9781
tree 59f49a139504669586618e62f23a1a6858aba129 tree | zip | gz
parent c9ad8279480c6a396c50478a7f577a78244b4de2 view | diff
(CR-1387) Making AssuredReplicationServerTest.java more maintainable

AssuredReplicationServerTest.java:
In createReplicationServer(), added parameter int nbRS, removed some complicated code that I replaced with generateReplicationServerUrls() and addIfNotSame(). I think this explicits better what this code is doing.
Extracted method getRsPort(int rsId).
1 files modified
235 ■■■■■ changed files
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/AssuredReplicationServerTest.java 235 ●●●●● diff | view | raw | blame | history