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

kenneth_suter
28.20.2007 654eefcc5b1a2c8ba5fd47a83a8be114cef73bf5
refs
author kenneth_suter <kenneth_suter@localhost>
Thursday, June 28, 2007 23:20 +0200
committer kenneth_suter <kenneth_suter@localhost>
Thursday, June 28, 2007 23:20 +0200
commit654eefcc5b1a2c8ba5fd47a83a8be114cef73bf5
tree 2358edca602fad5b0e1966be6a03be0276255c71 tree | zip | gz
parent 2319b28ec9b778d4cdbff34b3efd2800cbd3a0f6 view | diff
This improves on the previous commit for grouping and running Windows specific tests.  The previous implementation only worked for the default tests and not the precommit or function test definitions.

With this commit:

The following rules apply to the generation of content for test.xml by PrepTestNG:

- For the default test definition, if no group clauses have been specified and the platform is non-Windows and explicit Windows exclusion element is generated.
- For the default test definition, if group clauses have been specified a Windows exclusion element is generated if the platform is non-Windows and a Windows group clause has not been explicitly provided.
- The precommit and functional test definitions are always parameterized with an explicit Windows exclusion element if the platform is non-Windows.

Corrected and added to the test framework help generated in build.xml.

I have also cleaned up the formatting of the generated XML with reasonable indentation.

Reenabled TestStaticUtils.testRenameFileLockedTarget()
4 files modified
130 ■■■■ changed files
opendj-sdk/opends/build.xml 10 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/ext/testng/testng.xml 4 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/build-tools/org/opends/build/tools/PrepTestNG.java 114 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/util/TestStaticUtils.java 2 ●●● diff | view | raw | blame | history