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

openconfig / ygot / 839 / 1
91%
master: 89%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/google.golang.org/grpc-1.78.0
DEFAULT BRANCH: master
Ran 25 Dec 2017 08:52PM UTC
Files 40
Run time 1s
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 Dec 2017 08:46PM UTC coverage: 90.569%. First build
839.1

push

travis-ci

web-flow
Add handling for partial data tree validation for leafrefs. (#141)

* Add handling for partial data tree validation for leafrefs.

 * (M) ytypes/validate.go
   - Add a configuration struct to the ytypes library that allows
     some parameters relating to validation to be globally set for
     a caller. Particularly, this allows for enabling/disabling
     errors when a leafref points to a target leaf that does not
     exist. This is required for partial schema population..
 * (M) ytypes/leafref.go
 * (M) ytypes/leafref_test.go
   - Add functions to check whether errors should be thrown for
     leafref data errors. If data errors are not to be returned as
     errors, log this error occurring. Add test cases to check this.
 * (M) ytypes/schema_tests/validate_test.go
   - Add a test case that covers ignoring leafref data errors.

* Adopt an explicit API specifying validation options.

* Fix function comments, ensure test coverage for public API.

* Ensure code is gofmt'd.

* Update function comment.

* Add ability for EmitJSON to have validation options specified.

7049 of 7783 relevant lines covered (90.57%)

83.92 hits per line

Source Files on job 839.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 839
  • Travis Job 839.1
  • b71b4131 on github
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