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

Jean-Noel Rouvignac
30.42.2013 68493d78c0886c86c4345d8174069824b5d9f6f1
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Monday, September 30, 2013 11:42 +0200
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Monday, September 30, 2013 11:42 +0200
commit68493d78c0886c86c4345d8174069824b5d9f6f1
tree 133189b00af335301708fc9162c5aeb5a76832b0 tree | zip | gz
parent 4102cd7949dacd9df6be6dc59d268c465bcd8abc view | diff
Ludo prefer to not have CSNGenerator.newCSNs() in the production code because it should never be called this way in production, so I moved it back to tests.

CSNGenerator.java:
Moved newCSNs() to DbHandlerTest.

CSNGeneratorTest.java:
Renamed newCSNs() test to newCSN()

DbHandlerTest.java:
Moved newCSNs() here from CSNGenerator.

DraftCNDbHandlerTest.java:
Used DbHandlerTest.newCSNs().
4 files modified
52 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/replication/common/CSNGenerator.java 17 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/common/CSNGeneratorTest.java 10 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/changelog/je/DbHandlerTest.java 19 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/changelog/je/DraftCNDbHandlerTest.java 6 ●●●● diff | view | raw | blame | history