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

neil_a_wilson
04.42.2007 6bc6cfef8ac819105f33abeb6b86343c9b5fd736
refs
author neil_a_wilson <neil_a_wilson@localhost>
Friday, May 4, 2007 00:42 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Friday, May 4, 2007 00:42 +0200
commit6bc6cfef8ac819105f33abeb6b86343c9b5fd736
tree aeef4e51125894b5948786e3201b0a41516e82bf tree | zip | gz
parent d755882f59202fe62b2ad5a141b3c044c1898aa6 view | diff
Update the plugin API test cases to add methods that help ensure the API can
remain stable. These include:

- Test to ensure that no new abstract methods are added. If any new abstract
methods are introduced, then this will break backward compatibility, and an
error will be printed.

- Test to ensure that no abstract methods are removed. If any existing
abstract methods are removed, then it has the potential to break backward
compatibility, and an error will be printed.

- Test to ensure that no existing public methods are removed. If any public
methods are removed, then this has the potential to break backward
compatibility, and an error will be printed.

- Test to ensure that no new public methods are added. This isn't a problem in
itself, and it's perfectly acceptable to add new public methods without
impacting backward compatibility. However, the test will still fail until
the test case is updated to account for this new method so that we can ensure
that the new method won't be removed or altered in the future in a way that
could impact backward compatibility.
1 files modified
592 ■■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/api/plugin/DirectoryServerPluginTestCase.java 592 ●●●●● diff | view | raw | blame | history