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

boli
09.19.2007 dae4651f605dc12731720b0cc34a5926b12319f9
refs
author boli <boli@localhost>
Tuesday, January 9, 2007 23:19 +0100
committer boli <boli@localhost>
Tuesday, January 9, 2007 23:19 +0100
commitdae4651f605dc12731720b0cc34a5926b12319f9
tree 46f88e4b42cefc98e7dce9644ee9e64a9d4b3cfe tree | zip | gz
parent d26d8989bb940946e001956bcc6bcedad5b9c2d9 view | diff
Added various enhancements to the coveragediff utility:
1. coveragediff is now an ant task that is run after the test*withcoverage targets. It can be disabled with -Dtest.diff.disabled=
2. coveragediff now calls svn internally. By default it looks for svn in your path. You can specify where svn is manually by using the -Dtest.diff.svnpath property. You can also specify what files are diffed by using the -Dtest.diff.srcpath property.
3. the testcustom* targets are removed and the test* should now be used. If no no -Dtest.* properties are set, it runs the default set of tests just like before.
4. coveragediff now generates an html report to build/diff/reports/.
5. coveragediff now calculates coverage for modified lines overall and by file. It also lists overall number of lines modified and deleted.
6. coveragediff can function without coverage data. It will issue an warning and just generate the report w/o any coverage info. Users can use the coveragediff ant target just to generate a graphical diff.

Fix for issue 1125
1 files deleted
2 files modified
991 ■■■■ changed files
opends/build-tools/bin/coveragediff 61 ●●●●● diff | view | raw | blame | history
opends/build-tools/src/org/opends/build/tools/CoverageDiff.java 823 ●●●● diff | view | raw | blame | history
opends/build.xml 107 ●●●● diff | view | raw | blame | history