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

davidely
22.56.2007 638494c8a9ef3c738848159b279703e199a9d8b8
refs
author davidely <davidely@localhost>
Monday, January 22, 2007 04:56 +0100
committer davidely <davidely@localhost>
Monday, January 22, 2007 04:56 +0100
commit638494c8a9ef3c738848159b279703e199a9d8b8
tree 1b6da8e5f034549ca5f8007cc04fa6f350e38b83 tree | zip | gz
parent d19038d2aa112fbaa77e2ab9153a5ce4a7c2bf80 view | diff
Various fixes to the unit testing framework.

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 modified
236 ■■■■■ changed files
opendj-sdk/opends/build.xml 236 ●●●●● diff | view | raw | blame | history