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

openconfig / ygot / 839
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
Jobs 2
Files 40
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
839

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.

22 of 22 new or added lines in 3 files covered. (100.0%)

7049 of 7783 relevant lines covered (90.57%)

167.84 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
ytypes/validate.go
Jobs
ID Job ID Ran Files Coverage
1 839.1 25 Dec 2017 08:52PM UTC 0
90.57
Travis Job 839.1
2 839.2 25 Dec 2017 08:53PM UTC 0
90.57
Travis Job 839.2
Source Files on build 839
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #839
  • 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