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

Jean-Noel Rouvignac
30.42.2013 4290bf7c48e9d681ead7484abe54fea53e08c1e6
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
commit4290bf7c48e9d681ead7484abe54fea53e08c1e6
tree aac91641a3450bd19604685d63082398d5496925 tree | zip | gz
parent 6f4e39c2324a3055906d5889da00d482e1436299 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
opends/src/server/org/opends/server/replication/common/CSNGenerator.java 17 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/common/CSNGeneratorTest.java 10 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/changelog/je/DbHandlerTest.java 19 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/changelog/je/DraftCNDbHandlerTest.java 6 ●●●● diff | view | raw | blame | history