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

Jean-Noel Rouvignac
30.49.2014 ae8c5336f3a8e1fc82d65d0c0ba12f78ad02c13e
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Monday, June 30, 2014 14:49 +0200
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Monday, June 30, 2014 14:49 +0200
commitae8c5336f3a8e1fc82d65d0c0ba12f78ad02c13e
tree fb4bafcf9908fae15885b10d7dffb464e8f93ec5 tree | zip | gz
parent 4614705135d4b49f1f5e6e30d76b8fbdf145bb68 view | diff
Chasing random test failures.
Added better diagnostics to ResourceLimitsPolicyTest in case of test failure.


ResourceLimitsPolicyTest.java:
Created assertOperationIsAllowed() and createQOSPolicy().
Used assertOperationIsAllowed() instead of the ad-hoc asserts.
Replaced MockResourceLimitsQOSPolicyCfg by using Mockito mocks.
Code cleanups.

MockResourceLimitsQOSPolicyCfg.java: REMOVED, now unused
1 files deleted
1 files modified
359 ■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/core/networkgroups/MockResourceLimitsQOSPolicyCfg.java 209 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/core/networkgroups/ResourceLimitsPolicyTest.java 150 ●●●●● diff | view | raw | blame | history