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

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

Build:
DEFAULT BRANCH: master
Ran 26 Mar 2018 02:25PM 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

26 Mar 2018 02:20PM UTC coverage: 90.949% (-0.05%) from 91.0%
1022.1

push

travis-ci

web-flow
Getters for containers and lists. (#174)

* Generate getters that consider schema defaults.

 * (M) ygen/*
   - Add code to generate a 'GetXXX' function that retrieves a
     field's value directly. If the field has a default within the
     YANG schema and the field is unset, the default value is
     returned. Methods are generated for lists, containers and
     scalar fields.
 * (M) demo/getters/*
   - Add example code that shows use of the getter functions and
     makes up an integration test for generated code that contains
     the getters. This code is used in preference to the exampleoc
     schema to aid in debugging.
 * (M) demo/{protobuf_getting_started, uncompressed}:
   - Ensure checked-in generated code is up to datee.
 * (M) exampleoc/oc.go
   - Regenerate exampleoc using the new getters.

* Commit testdata updates.

* Fix error in demo based on incorrect enum types.

* Remove leaf-level getters.

 * (D) demo/getters/*
   - Remove the getters demo since it is no longer required without
     the leaf-level getters.
 * (M) exampleoc/oc.go
   - Regenerate OC schema.
 * () ygen/*
   - Update code to generate getters for containers and list entries.

* Make structFieldDetails have a single definition.

* Fix tests.

* Address review comments.

* Fix variable naming in schema_tests.

7627 of 8386 relevant lines covered (90.95%)

90.98 hits per line

Source Files on job 1022.1
  • Tree
  • List 0
  • Changed 7
  • Source Changed 1
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1
  • Travis Job 1022.1
  • 04d08ce1 on github
  • Prev Job for on master (#1007.2)
  • Next Job for on master (#1026.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