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

openconfig / ygot / 1022
89%

Build:
DEFAULT BRANCH: master
Ran 26 Mar 2018 02:25PM UTC
Jobs 2
Files 41
Run time 1min
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
1022

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.

26 of 26 new or added lines in 1 file covered. (100.0%)

7627 of 8386 relevant lines covered (90.95%)

181.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1022.1 26 Mar 2018 02:25PM UTC 0
90.95
Travis Job 1022.1
2 1022.2 26 Mar 2018 02:27PM UTC 0
90.95
Travis Job 1022.2
Source Files on build 1022
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1022
  • 04d08ce1 on github
  • Prev Build on master (#1007)
  • Next Build on master (#1026)
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