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

neil_a_wilson
09.51.2006 9f8ff8b66d182affc70991ed301e6b8f3ea86039
refs
author neil_a_wilson <neil_a_wilson@localhost>
Thursday, November 9, 2006 17:51 +0100
committer neil_a_wilson <neil_a_wilson@localhost>
Thursday, November 9, 2006 17:51 +0100
commit9f8ff8b66d182affc70991ed301e6b8f3ea86039
tree 202ff9f2f3864d562cb34af755f06576a15200e5 tree | zip | gz
parent f232e2f931b79f4087f3758cb772a80fccfb19a3 view | diff
Update the matched values control test case to replace a couple of calls to
catch Exception with catch Throwable. This is necessary because when
assertions are enabled when running the unit tests, an AssertionError will be
generated by the methods in the Validator class rather than an exception, and
Throwable covers both exceptions and errors whereas Exception doesn't handle
errors.
1 files modified
8 ■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/controls/MatchedValuesControlTest.java 8 ●●●● diff | view | raw | blame | history