Small project to test things against different versions of Apache POI.
The test-application TestCloseBehavior
simply opens and closes documents in various
different ways.
We use a local build of file-leak-detector when running this application so that file-handle leaks are reported as part of the output.
git clone https://github.com/centic9/poi-reproduce.git
cd poi-reproduce
./gradlew check
Check out file-leak-handler, build it locally and adjust te path to it
in build.gradle
.
./gradlew runClose -PpoiVersion=3.17 -PcloseTest=stream
./runAll.sh
Remove some unnecessary output:
./runAll.sh 2>&1 | grep -v "^WARNING:" | grep -v "^> Task :" | grep -v "File leak detector installed" | grep -v "^----$" | grep -v "^> Run with --" | grep -v "^* Get more help at https://help.gradle.org$" > /tmp/output.txt
See https://docs.google.com/spreadsheets/d/1naqkg7rvXGctJMoZ4blWb0n4vseuoD4g0cU7PQpwwOU/edit#gid=0 for a summary of running this experiment with the various versions of Apache POI
If you find this project useful and would like to support work on it, you can Sponsor the author
cd poi-reproduce
./gradlew check jacocoTestReport
- poi-reproduce is licensed under the BSD 2-Clause License.