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

neil_a_wilson
26.30.2006 d5d876e147af710d6e10a25ffd7e6952f0ef7b26
refs
author neil_a_wilson <neil_a_wilson@localhost>
Tuesday, September 26, 2006 22:30 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Tuesday, September 26, 2006 22:30 +0200
commitd5d876e147af710d6e10a25ffd7e6952f0ef7b26
tree 64698097556f5720091fe9d693f901eb7f50752b tree | zip | gz
parent 400f4bf5dad65072b332a74c4fc974cfae9f06da view | diff
Add several changes related to testing:

- Add a new plugin that can be used to terminate client connections at specific
points in plugin processing when an appropriate control is included in the
request.

- Add a new plugin that can be used to count the number of times that various
types of plugins are invoked. Update the startServer and shutdownServer
methods in TestCaseUtils to ensure that the startup and shutdown plugins are
invoked at the right times.

- Add test cases for the DirectoryException and InitializationException
classes.

- Create an OperationTestCase superclass that can be used for testing generic
methods in the Operation class. Create an AbandonOperationTestClass subclass
that tests the core Abandon operation.
6 files added
2 files modified
3422 ■■■■■ changed files
opendj-sdk/opends/tests/unit-tests-testng/resource/config-changes.ldif 102 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java 10 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/AbandonOperationTestCase.java 509 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/DirectoryExceptionTestCase.java 293 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/InitializationExceptionTestCase.java 130 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/OperationTestCase.java 370 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/plugins/DisconnectClientPlugin.java 941 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/plugins/InvocationCounterPlugin.java 1067 ●●●●● diff | view | raw | blame | history