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

apache / thrift / 1937 / 12
20%
master: 20%

Build:
DEFAULT BRANCH: master
Ran 13 Sep 2017 05:17AM UTC
Files 8
Run time 0s
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

13 Sep 2017 05:17AM UTC coverage: 99.368%. First build
TEST_NAME="make cross (automake)" THRIFT_CROSSTEST_CONCURRENCY=6 CONFIG="--enable-tutorial=no --without-lua --without-haxe --without-d" ALL_DEPS="yes" MAKE_TARGET="cross" ERROR_LOG="test/log/unexpected_failures.log"

Pull #687

travis-ci

Max Spencer
THRIFT-2974 fix optional writeToParcel

Fix for [THRIFT-2974](https://issues.apache.org/jira/browse/THRIFT-2974?jql=text%20~%20%22optional%20writeToParcel%22) which causes NPEs whenever struct with an unset optional enum is written to an Android [`Parcel`](http://developer.android.com/reference/android/os/Parcel.html#writeInt%28int%29).

[Thrift IDL docs](https://thrift.apache.org/docs/idl#enum) specify that enum values must be greater than or equal to zero so we can write -1 to the parcel to represent an unset enum. The corresponding code for reconstructing the struct (see line 1728) uses the `TEnum.findByValue` method which will return `null` for any unused enum values, which will always include -1.
Pull Request #687: THRIFT-2974 fix optional writeToParcel

629 of 633 relevant lines covered (99.37%)

7.29 hits per line

Source Files on job 1937.12 (TEST_NAME="make cross (automake)" THRIFT_CROSSTEST_CONCURRENCY=6 CONFIG="--enable-tutorial=no --without-lua --without-haxe --without-d" ALL_DEPS="yes" MAKE_TARGET="cross" ERROR_LOG="test/log/unexpected_failures.log")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1937
  • Travis Job 1937.12
  • 9707d7e6 on github
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

© 2025 Coveralls, Inc