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

openconfig / ygot / 850
89%

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

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%)

167.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 850.1 09 Jan 2018 05:53PM UTC 0
90.57
Travis Job 850.1
2 850.2 09 Jan 2018 05:55PM UTC 0
90.57
Travis Job 850.2
Source Files on build 850
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #850
  • 1bd66f07 on github
  • Prev Build on master (#838)
  • Next Build on master (#856)
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