-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncompressed ordered map tests in mostly ygot
package.
#872
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
c79e185
Add support for ending iteration of subtrees in `ForEachDataField`
wenovus 2fad304
Try adding stringer
wenovus 6765293
install stringer
wenovus 744010e
fix comment
wenovus b35c210
fix enum name
wenovus f967992
Add `DiffWithAtomic` to support creating Atomic Notifications.
wenovus 4a399ac
Fix bug when IgnoreAdditions option is turned on
wenovus ccb9b0d
Add tests for PopulateDefaults for ordered maps
wenovus e735629
Move TestTogNMINotifications's ordered map tests to exported tests
wenovus 1e61de2
Export ConstructJSON ordered map test
wenovus 2c9655f
Export remaining ordered map tests
wenovus d7f175c
lint
wenovus 99c53e0
Merge branch 'export-tognmi-tests' into export-constructjson
wenovus 62b74df
Merge branch 'export-constructjson' into export-others-orderedmap
wenovus 1257144
Initial tests for uncompressed structs with ordered maps.
wenovus 233a927
Remove more dead test code
wenovus 7901a8d
Merge branch 'export-others-orderedmap' into uncompressed-orderedmap
wenovus bdb4312
Uncompressed ordered map test on PopulateDefaults
wenovus 1230b4c
Uncompressed GoStruct tests in mostly `ygot` package.
wenovus de819a1
Move TestTogNMINotifications's ordered map tests to exported tests (#…
wenovus 35f4c47
Merge branch 'master' into populatedef-om
wenovus 18c8cef
Merge branch 'populatedef-om' into export-constructjson
wenovus 0572c34
Merge branch 'export-constructjson' into export-others-orderedmap
wenovus 3b97314
Merge branch 'export-others-orderedmap' into uncompressed-orderedmap
wenovus 55368df
Add doc comments for test helpers.
wenovus 9c8131e
Merge branch 'uncompressed-orderedmap' into uom-1
wenovus 9f983dd
Merge branch 'uom-1' into uom-2
wenovus 9186a5e
Merge branch 'master' into export-constructjson
wenovus 7cae251
Merge branch 'export-constructjson' into export-others-orderedmap
wenovus feae932
Merge branch 'export-others-orderedmap' into uncompressed-orderedmap
wenovus eb9c41c
Merge branch 'uncompressed-orderedmap' into uom-1
wenovus 31ea0c8
Merge branch 'uom-1' into uom-2
wenovus cfe027b
Merge branch 'master' into export-others-orderedmap
wenovus 4692f74
Merge branch 'export-others-orderedmap' into uncompressed-orderedmap
wenovus 5e337a7
Merge branch 'uncompressed-orderedmap' into uom-1
wenovus 1e5fc20
Merge branch 'uom-1' into uom-2
wenovus 8b5fef7
Merge branch 'master' into uom-1
wenovus 6338570
Merge branch 'uom-1' into uom-2
wenovus b095e91
add doc comments for ordered map test helpers
wenovus 1073e6f
Merge branch 'master' into uom-2
wenovus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
godoc
nit: i don't like "2" suffix, it's unclear what makes this func different from other func without looking at the code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the feedback, I've added a godoc. I think in this case it's ok to leave it like this rather than
GetOrderedMapWeeWoo
as the readers are mostly ygot maintainers and the code is fairly easy to understand. The "2" as a indicator for a different ordered map I think is sufficient. Let me know if you have other thoughts on this.