Skip to content

Simple project to reproduce some behavior with different versions of Apache POI

License

Notifications You must be signed in to change notification settings

centic9/poi-reproduce

Repository files navigation

Build Status Gradle Status

Small project to test things against different versions of Apache POI.

How it works

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.

Use it

Grab and build it

git clone https://github.com/centic9/poi-reproduce.git
cd poi-reproduce
./gradlew check

Prepare for running

Check out file-leak-handler, build it locally and adjust te path to it in build.gradle.

Run single check for single version

./gradlew runClose -PpoiVersion=3.17 -PcloseTest=stream

Run all checks

./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

Summary

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

Support this project

If you find this project useful and would like to support work on it, you can Sponsor the author

Change it

Build it and run tests

cd poi-reproduce
./gradlew check jacocoTestReport

Licensing

About

Simple project to reproduce some behavior with different versions of Apache POI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published