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

openconfig / ygot / 5249203510
89%

Build:
DEFAULT BRANCH: master
Ran 12 Jun 2023 10:39PM UTC
Jobs 1
Files 79
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

12 Jun 2023 10:39PM UTC coverage: 89.65%. Remained the same
5249203510

push

github

web-flow
Export remaining ordered map tests (#869)

* Add support for ending iteration of subtrees in `ForEachDataField`

* Try adding stringer

* install stringer

* fix comment

* fix enum name

* Add `DiffWithAtomic` to support creating Atomic Notifications.

When comparing two GoStructs where a YANG `ordered-by user` list is
involved, it is not possible using a single Notification to represent
the diff such that the Notification can do the following:
1. update a gNMI cache correctly with the atomic notification.
2. unmarshal the notification to the `orig` to get back the `modified`
   GoStruct.

This function achieves this functionality, sharing the underlying
implementation with Diff, where a disclaimer has been added to the doc
comment.

Other helpers have been created as well to be shared with
`TogNMINotifications`.

Other changes:
- `TogNMINotifications` has been changed to follow the same convention of
  putting the non-atomic Notification as the first message instead of
  the last. The reason is that current code MAY be using `notifs[0]` and
  I don't want to break that, and this also seems slightly better from a
  usability perspective.

* Fix bug when IgnoreAdditions option is turned on

* Add tests for PopulateDefaults for ordered maps

* Move TestTogNMINotifications's ordered map tests to exported tests

* Export ConstructJSON ordered map test

* Export remaining ordered map tests

* lint

* Remove more dead test code

* Move TestTogNMINotifications's ordered map tests to exported tests (#867)

* Move TestTogNMINotifications's ordered map tests to exported tests

* lint

13200 of 14724 relevant lines covered (89.65%)

499.46 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5249203510.1 12 Jun 2023 10:39PM UTC 0
89.65
GitHub Action Run
Source Files on build 5249203510
Detailed source file information is not available for this build.
  • Back to Repo
  • 1ac9206a on github
  • Prev Build on master (#5248945114)
  • Next Build on master (#5249205476)
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