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

openconfig / ygot / 1275
89%

Build:
DEFAULT BRANCH: master
Ran 25 Sep 2018 05:23PM UTC
Jobs 4
Files 46
Run time 5min
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

25 Sep 2018 05:20PM UTC coverage: 91.101% (+0.04%) from 91.066%
1275

push

travis-ci

web-flow
Add support for leaf getters. (#235)

* Add support for leaf getters.

 * (M) ygen/*
   - Add support for leaf getters which enable the value of a leaf to be retrieved
     using Get<LeafName> methods. These getters return the Go zero value if a leaf
     is unset in the schema. Some caution must therefore be exercised such that
     applications that use them do not assume that a leaf is set simply because
     GetXXX returns a value.
   - A subsequent change will implement YANG default lookups such that GetXXX
     returns the YANG default for unset leaves.
 * (M) ygen/testdata/*
   - Mechanical change to make the receiver name for a generated Go struct
     consistent per style rules. We had a mix of s and t prior to this change.
 * (M) ygen/schema_tests/schema_test.go
   - Add tests against the generated code to ensure operation of leaf getters.
 * (M) generator/generator.go
   - Add support for the -generate_leaf_getters flag.
 * (M) exampleoc/*
   - Regenerate with leaf getters enabled.

* Update schema tests that relied on removed schema elements.

* Run gofmt.

* Address review comments.

59 of 59 new or added lines in 2 files covered. (100.0%)

8579 of 9417 relevant lines covered (91.1%)

1825.36 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1275.1 25 Sep 2018 05:26PM UTC 0
91.1
Travis Job 1275.1
2 1275.2 25 Sep 2018 05:25PM UTC 0
91.1
Travis Job 1275.2
3 1275.3 25 Sep 2018 05:23PM UTC 0
91.1
Travis Job 1275.3
4 1275.4 25 Sep 2018 05:28PM UTC 0
91.1
Travis Job 1275.4
Source Files on build 1275
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1275
  • 380237b5 on github
  • Prev Build on master (#1266)
  • Next Build on master (#1278)
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