• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

INRIA / spoon / 7194
87%

Build:
DEFAULT BRANCH: master
Ran 25 Oct 2018 06:02AM UTC
Jobs 1
Files 445
Run time 23s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
7194

push

travis-ci

surli
feat: Use Apache Common Compressor API to [de]compress serialized models (#2165)

Since #2094 and #2103 we can [de]serialize the model (CtFactory) with standard java serialization in a file, or a gzip file to save space. Choice was made to write things so that we can add new compression types easily. 

In this PR, I propose to use Apache Common Compressor API (+other files needed for some compression types such as LZMA).

Main changes in src/main/java/spoon/support/SerializationModelStreamer.java and its junit test case src/test/java/spoon/test/serializable/ModelStreamerTest.java and of course pom.xml.

I don't know what you think about adding a new lib, but this lib allows very easily (i) to test what compressor is used for an inputstream (except 7zip btw), (ii) to decompress, (iii) to compress.

Looking forward discussing it with you guyz :)
Cheers,
Mehdi

19 of 19 new or added lines in 2 files covered. (100.0%)

23848 of 28013 relevant lines covered (85.13%)

0.85 hits per line

Jobs
ID Job ID Ran Files Coverage
3 7194.3 (SCRIPT=travis-coverage.sh) 25 Oct 2018 06:02AM UTC 0
85.13
Travis Job 7194.3
Source Files on build 7194
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7194
  • 6558c49c on github
  • Prev Build on master (#7191)
  • Next Build on master (#7198)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc