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

davidely
22.40.2007 0e81a89428812436ad35285700c8fae614a7b92e
refs
author davidely <davidely@localhost>
Monday, January 22, 2007 04:40 +0100
committer davidely <davidely@localhost>
Monday, January 22, 2007 04:40 +0100
commit0e81a89428812436ad35285700c8fae614a7b92e
tree fdbde08a329eda61b130539001f7d1a49ca369f7 tree | zip | gz
parent dd0aa3d6f2295686b10d2e11c972687a225c103f 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
opends/build-tools/src/org/opends/build/tools/CoverageDiff.java 52 ●●●● diff | view | raw | blame | history
opends/ext/testng/CHANGES.txt 74 ●●●●● diff | view | raw | blame | history
opends/ext/testng/lib/testng-5.1-jdk15.jar diff | view | raw | blame | history
opends/ext/testng/lib/testng-5.4-jdk15.jar diff | view | raw | blame | history
opends/ext/testng/src.zip diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/DirectoryServerTestCase.java 105 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/SuiteRunner.java 46 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java 63 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/TestListener.java 469 ●●●●● diff | view | raw | blame | history