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

neil_a_wilson
26.30.2006 e1cc3de403b42ef84bf5bd91af4e32cc40185a81
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
commite1cc3de403b42ef84bf5bd91af4e32cc40185a81
tree c9ff9c3c07527664b85165baf527c4c915db5587 tree | zip | gz
parent cf6ce939e5b551c147d76a86c91345622916756a 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.
2 files modified
6 files added
3422 ■■■■■ changed files
opends/tests/unit-tests-testng/resource/config-changes.ldif 102 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java 10 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/core/AbandonOperationTestCase.java 509 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/core/DirectoryExceptionTestCase.java 293 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/core/InitializationExceptionTestCase.java 130 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/core/OperationTestCase.java 370 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/plugins/DisconnectClientPlugin.java 941 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/plugins/InvocationCounterPlugin.java 1067 ●●●●● diff | view | raw | blame | history