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

EasyMile / protox / 149
100%

Build:
DEFAULT BRANCH: master
Ran 24 May 2020 12:32PM UTC
Jobs 2
Files 17
Run time 6s
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
149

push

travis-ci

Alexandre Hamez
Recursive merge of sub messages when duplicated on the wire

Excerpt from https://developers.google.com/protocol-buffers/docs/encoding#optional:

Normally, an encoded message would never have more than one instance of a non-repeated field. However, parsers are expected to handle the case in which they do.

For numeric types and strings, if the same field appears multiple times, the parser accepts the last value it sees.  (Note: already handled by protox)

For embedded message fields, the parser merges multiple instances of the same field, as if with the Message::MergeFrom method – that is, all singular scalar fields in the latter instance replace those in the former, singular embedded messages are merged, and repeated fields are concatenated. The effect of these rules is that parsing the concatenation of two encoded messages produces exactly the same result as if you had parsed the two messages separately and merged the resulting objects.

328 of 331 relevant lines covered (99.09%)

232151.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 149.1 (MIX_ENV=test) 24 May 2020 12:32PM UTC 0
98.5
Travis Job 149.1
2 149.2 (MIX_ENV=test) 24 May 2020 12:32PM UTC 0
99.09
Travis Job 149.2
Source Files on build 149
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #149
  • f514235b on github
  • Prev Build on master (#148)
  • Next Build on master (#150)
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