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

davidely
22.40.2007 d19038d2aa112fbaa77e2ab9153a5ce4a7c2bf80
refs
author davidely <davidely@localhost>
Monday, January 22, 2007 04:40 +0100
committer davidely <davidely@localhost>
Monday, January 22, 2007 04:40 +0100
commitd19038d2aa112fbaa77e2ab9153a5ce4a7c2bf80
tree 0e087af9044fa21271b8b89b808151841716a979 tree | zip | gz
parent cb23b6feb6d13d49534294af0ffd625a4926b39a view | diff
1.  Wrapped TestNG suite runner with our own (SuiteRunner.java).  When there is an uncaught exception in the tests, this gives us the stack trace and forces the tests to exit.  This should make it easier to track down OutOfMemoryErrors in the future.

2. Added our own listener for the tests. This does the following
* As soon as a test fails, it prints it out all of the info to the screen. Test method, error message, stacktrace, parameters
* At the end of the tests, it summarizes all of the tests that failed.
* It generates a new test report in text format. The html report generator was a real memory hog.

3. Changes to build.xml
* Test output is suppressed by default.
* The coverage report is generated even if the tests failed.
* Exposed the ability to rerun only the failed tests with -Dtest.failed=true.
* The 'runtests' target prints out information about additional test options.
* Two small fixes so that ant doesn't recompile files that haven't changed.
* Removed tabs. This was mostly in the status panel code.
* Reverted the -Xmx256M temporary fix for the unit tests.


1 files deleted
3 files added
5 files modified
809 ■■■■ changed files
opendj-sdk/opends/build-tools/src/org/opends/build/tools/CoverageDiff.java 52 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/ext/testng/CHANGES.txt 74 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/ext/testng/lib/testng-5.1-jdk15.jar diff | view | raw | blame | history
opendj-sdk/opends/ext/testng/lib/testng-5.4-jdk15.jar diff | view | raw | blame | history
opendj-sdk/opends/ext/testng/src.zip diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/DirectoryServerTestCase.java 105 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/SuiteRunner.java 46 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java 63 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/TestListener.java 469 ●●●●● diff | view | raw | blame | history