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

neil_a_wilson
04.42.2007 3a04777ab3cdf21b2f5de2272d0b267b6939f701
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
commit3a04777ab3cdf21b2f5de2272d0b267b6939f701
tree fe875837efd17e9189d6023b7d1147dc5555b02b tree | zip | gz
parent 6dc91f889744c17a9a0d8a7c92276b62dea25941 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
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/api/plugin/DirectoryServerPluginTestCase.java 592 ●●●●● diff | view | raw | blame | history