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

neil_a_wilson
09.51.2006 32fc01cbb578afb62cb4b678f4066976e8ee6337
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
commit32fc01cbb578afb62cb4b678f4066976e8ee6337
tree c26477aae6e10340b83104c9142ab0971dd44859 tree | zip | gz
parent 4b4288f19a09f8ea272f754b45c22d81dbfb225a 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
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/controls/MatchedValuesControlTest.java 8 ●●●● diff | view | raw | blame | history