[YANGTOOLS-467] Provide DataTreeCandidateNode Utils for testing Created: 16/Jun/15  Updated: 10/Apr/22

Status: Confirmed
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement
Reporter: Dana Kutenicsova Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All



 Description   

Currently there is no easy way how to test DOMDataTreeChangeListeners (onDataChange) because the only way how to create DataTreeCandidateNode is using deprecated DefaultDataTreeCandidate and even this one does not allow to set modification type.

Create a set of test APIs that would allow easier way of creating this objects for testing.



 Comments   
Comment by Dhevendran Kulandaivel [ 19/May/16 ]

(In reply to Dana Kutenicsova from comment #0)
> Currently there is no easy way how to test DOMDataTreeChangeListeners
> (onDataChange) because the only way how to create DataTreeCandidateNode is
> using deprecated DefaultDataTreeCandidate and even this one does not allow
> to set modification type.
>
> Create a set of test APIs that would allow easier way of creating this
> objects for testing.

We can take this up if more clear requirement details is provided

Generated at Wed Feb 07 20:53:20 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.