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

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

Build:
DEFAULT BRANCH: master
Ran 09 Jan 2018 05:53PM UTC
Files 40
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

09 Jan 2018 05:51PM UTC coverage: 90.569%. Remained the same
850.1

push

travis-ci

web-flow
Add option framework for MergeStructs. (#143)

* Add option framework for MergeStructs.

 * (M) ygot/struct_validation_map.go:
 * (M) ygot/struct_validation_map_test.go:
    - Add an opts slice to MergeStructs which allows options to be
      specified when merging structs. Particularly, allow overwrite of a
      pointer field that is specified in both structs. In the case that
      the IfEqual bool is set true, merging is only allowed when the two
      values are equal. This is particularly aimed to handle merging
      lists which always have equal keys.
    - Change default behaviour for merging map structs to be allowing
      leaf overwrites.

* gofmt + fix merge error.

* Update behaviour of MergeStructs to remove options framework.

 * (M) ygot/struct_validation_map.go
 * (M) ygot/struct_validation_map_test.go
   - Update implementation to simply allow merging of two structs
     when their values are equal - this ensures that there are no
     errors when merging identical list entries.

* Add a demo of using ygot.MergeStructs for a list member.

* Fix test failures.

7049 of 7783 relevant lines covered (90.57%)

83.95 hits per line

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