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

kenneth_suter
28.20.2007 bf940a2b684b0efd2e0966e644e798e1ee8528fd
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
commitbf940a2b684b0efd2e0966e644e798e1ee8528fd
tree 91ff15d3c159ab34d8fdc2eae32baf00a863350d tree | zip | gz
parent a9a0ee882ef490756f5c66d2761220466e25af0d 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
opends/build.xml 10 ●●●●● diff | view | raw | blame | history
opends/ext/testng/testng.xml 4 ●●● diff | view | raw | blame | history
opends/src/build-tools/org/opends/build/tools/PrepTestNG.java 114 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/util/TestStaticUtils.java 2 ●●● diff | view | raw | blame | history