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

openconfig / ygot / 948 / 1
89%
master: 89%

Build:
DEFAULT BRANCH: master
Ran 09 Feb 2018 10:48PM UTC
Files 41
Run time 2s
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

09 Feb 2018 10:45PM UTC coverage: 90.776% (+0.03%) from 90.745%
948.1

push

travis-ci

web-flow
Add support for marshalling annotations to JSON (#160)

* Add JSON marshalling for an Annotation field.

 * (M) ygot/render*.go
   - Add handling for rendering annotations within structs to JSON
     during constructing output JSON for a GoStruct.

* Fix integration test for annotation marshalling.

 * (M) demo/device*
   - Add an integration/e2e test that demonstrates use of an annotation.
 * (M) exampleoc/oc.go
   - Regenerate code with fixed type for annotation.
 * (M) ygen/gogen*
   - Previous type used for an annotation was a slice of pointer to an interface,
     which was erroneous -- use a slice of interface type
 * (M) ytypes/container.go
   - Fix Validate() behaviour for annotations.
 * (M) ygot/render*
   - Amendments to marshalling code.

* Fix error message text.

* Ensure test case covers unmarshal error.

* Remove debug statement.

* Address review comments.

* Remove trailing newline.

7479 of 8239 relevant lines covered (90.78%)

88.35 hits per line

Source Files on job 948.1
  • Tree
  • List 0
  • Changed 13
  • Source Changed 3
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 948
  • Travis Job 948.1
  • e4c7b2b9 on github
  • Prev Job for on master (#944.2)
  • Next Job for on master (#963.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