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

protobuf-c / protobuf-c / 312 / 2
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: wasm-no-protoc-build
DEFAULT BRANCH: master
Ran 22 Apr 2016 06:22PM UTC
Files 3
Run time 4min
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

22 Apr 2016 06:12PM UTC coverage: 90.77%. Remained the same
GCC_VERSION=4.8

push

travis-ci

lipnitsk
protoc-c/c_enum_field.cc: Fix default enum values

From https://developers.google.com/protocol-buffers/docs/proto#optional:
If the default value is not specified for an optional element, a
type-specific default value is used instead: for strings, the default
value is the empty string. For bools, the default value is false. For
numeric types, the default value is zero. For enums, the default value
is the first value listed in the enum's type definition. This means care
must be taken when adding a value to the beginning of an enum value
list.

Prior to this change, protoc-c set the default enum value to 0, whether
or not 0 was the first value listed in the enum's type definition (or if
it even was listed at all).

1308 of 1441 relevant lines covered (90.77%)

300.72 hits per line

Source Files on job 312.2 (GCC_VERSION=4.8)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 312
  • Travis Job 312.2
  • 258eb7d4 on github
  • Prev Job for GCC_VERSION=4.8 on next (#306.2)
  • Next Job for GCC_VERSION=4.8 on next (#313.2)
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