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

openconfig / ygot / 5261585609
89%

Build:
DEFAULT BRANCH: master
Ran 14 Jun 2023 12:16AM 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

14 Jun 2023 12:16AM UTC coverage: 89.637%. Remained the same
5261585609

push

github

web-flow
Uncompressed ordered map tests for ytypes (#873)

* 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

* Initial tests for uncompressed structs with ordered maps.

* Remove more dead test code

* Uncompressed ordered map test on PopulateDefaults

* Uncompressed GoStruct tests in mostly `ygot` package.

* Simplified `UnmarshalSetRequest` to always unmarshal w/r to the root
  node. This allows atomic Notifications to be deleted correctly.

* Uncompressed ordered map tests for ytypes

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

* Move TestTogNMINotifications's ordere... (continued)

43 of 43 new or added lines in 11 files covered. (100.0%)

13182 of 14706 relevant lines covered (89.64%)

506.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5261585609.1 14 Jun 2023 12:16AM UTC 0
89.64
GitHub Action Run
Source Files on build 5261585609
Detailed source file information is not available for this build.
  • Back to Repo
  • e9abcd41 on github
  • Prev Build on master (#5259094432)
  • Next Build on master (#5270265221)
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