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

openconfig / ygot / 825 / 2
89%
master: 89%

Build:
DEFAULT BRANCH: master
Ran 21 Dec 2017 06:27PM UTC
Files 40
Run time 3s
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

21 Dec 2017 06:21PM UTC coverage: 90.511% (-0.02%) from 90.527%
825.2

push

travis-ci

web-flow
Fix a number of bugs related to enumerations within unions. (#140)

* Fix bug where a leafref key to a union that included an enum didn't add enum.

 * (M) ygen/codegen_test.go
  - Add a test case demonstrating the bug described below.
 * (M) ygen/protogen.go
  - When a list had a key that was a leafref, and path compression was
    disabled, and the target of the leafref was a union that contained
    a enumeration, then the enumeration would not be output within the
    list key message, meaning that it could not be resolved correctly.
    This PR fixes that behaviour to include the enum.
 * (A) testdata/proto/union-list-key*
  - Test case for the above setup.

* Squash bug with nested unions within proto messages.

 * (M) ygen/protogen.go
   - Squash a bug whereby nested unions that contained enumerations
     were not fully unrolled so that the embedded enum was not
     included in the relevant message.
 * (M) testdata/proto/union-list-key*
   - Write failing test cases to fix.

* Clean up unused files.

  * (M) ygen/codegen_test.go
    - Ensure consistency of naming for testdata files.
  * (R) ygen/testdata/proto/union-list-key.uncompressed.formatted-txt
    - Rename file such that it matches other files
  * (D) ygen/testdata/proto/union-list-key.uncompressed.enums.formatted-txt
  * (D) ygen/testdata/proto/union-list-key.uncompressed.union_list_key.formatted-txt
    - Remove stale test data.

* Fix test failures.

  * (M) ygen/codegen_test.go
  * (A) ygen/testdata/proto/union-list-key.union_list_key.formatted-txt
    - Fix tests referencing same file.

7030 of 7767 relevant lines covered (90.51%)

83.73 hits per line

Source Files on job 825.2
  • Tree
  • List 0
  • Changed 15
  • Source Changed 1
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 825
  • Travis Job 825.2
  • cfe44ea8 on github
  • Prev Job for on master (#814.2)
  • Next Job for on master (#838.1)
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