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

matthew_swift
13.46.2007 79cb3d38939c48e71eb1d83592f61765d3983cf0
refs
author matthew_swift <matthew_swift@localhost>
Friday, July 13, 2007 00:46 +0200
committer matthew_swift <matthew_swift@localhost>
Friday, July 13, 2007 00:46 +0200
commit79cb3d38939c48e71eb1d83592f61765d3983cf0
tree 418512b4fcf652f15b5987e6d7230e4c1da8f852 tree | zip | gz
parent 79cc6e8df43fc7327d99fb6f3bc6f20c705acacd view | diff
Fix issues 1558 and 1919.

Modify the LDAPProfile API so that it is possible to decorate the core LDAPProfile. When a LDAPProfile query is received each decorator is queried in sequence until one can return a response. If none of the decorators can respond, then the core LDAP profile is queried.

This change makes it easier to create test configuration definitions in the unit tests. A unit test can decorate the core LDAPProfile with additional profile information for its test configuration definitions.

In addition, we now have test-parent and test-child components which are for use in unit tests. They are generated from XML definitions in a similar manner to other components (this must be done manually though at the moment).

Whilst updating the admin LDAP client test suite I encountered a bug in inherited default value resolution. This has also been fixed.
4 files added
10 files modified
3653 ■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/MockLDAPProfile.java 115 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/RelativeInheritedDefaultBehaviorProviderTest.java 10 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestCfg.java 75 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestChildCfg.java 83 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestChildCfgClient.java 126 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestChildCfgDefn.java 342 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestChildConfiguration.xml 143 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestParentCfg.java 211 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestParentCfgClient.java 305 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestParentCfgDefn.java 626 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestParentConfiguration.xml 134 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/client/ldap/LDAPClientTest.java 831 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/server/DNBuilderTest.java 105 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/server/ListenerTest.java 547 ●●●●● diff | view | raw | blame | history