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

matthew_swift
21.08.2009 afb1b0e878209a895a9fc779fe77714021946fd2
refs
author matthew_swift <matthew_swift@localhost>
Monday, September 21, 2009 17:08 +0200
committer matthew_swift <matthew_swift@localhost>
Monday, September 21, 2009 17:08 +0200
commitafb1b0e878209a895a9fc779fe77714021946fd2
tree 7a2661e31844073fb6273680a2f60056c7e72be7 tree | zip | gz
parent c6b5f75749702af270d574ed5dbe392b486bc6a9 view | diff
Fix issue 4043: problems with ACI unit tests

1) Make AciTestCase base class of all ACI tests

2) Make AciTestCase clear test backend and default JE backend before and after each test

3) Make AciTestCase save a copy of the global ACIs before each test and restore the global ACIs after each test

4) Remove setup/teardown code from other ACI tests which is now performed by AciTestCase.

Tested on JDK5 and JDK6 for precommit and nightly targets.
13 files modified
218 ■■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/AciTestCase.java 78 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/AciTests.java 12 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/AlternateRootDN.java 13 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/ExtOpTestCase.java 11 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/GetEffectiveRightsTestCase.java 13 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/NestedGroupDNTestCase.java 13 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/ProxyBindTestCase.java 3 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/ReferencesTestCase.java 17 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/SSFTestCase.java 9 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/TargAttrFiltersTestCase.java 9 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/TargetAttrTestCase.java 14 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/TargetControlTestCase.java 14 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/TargetTestCase.java 12 ●●●● diff | view | raw | blame | history