diff options
author | Maros Marsalek <mmarsalek@frinx.io> | 2018-04-25 10:20:59 +0200 |
---|---|---|
committer | Maros Marsalek <maros.mars@gmail.com> | 2018-04-25 12:52:02 +0200 |
commit | 4c17329ef1b88e75cc24561a3c249e9deb93f05a (patch) | |
tree | df93e0a9c2e913cedf6d177b9cba6d58961dae80 /infra/translate-utils/src/test/java/io | |
parent | 06c54d51670655162465259854750d116faf9e7a (diff) |
Collect all the updates for subtree writers
So far, when a subtree writer was registered on a list node
and ModificationDiff detected 2 or more updated list items for that writer,
FlatWriterRegistry just picked the first item in list, processed that one
and ignored the rest.
Change-Id: If66db1eaad5a3b5c35e5586f46fd83a0698e1728
Signed-off-by: Maros Marsalek <maros.mars@gmail.com>
Diffstat (limited to 'infra/translate-utils/src/test/java/io')
-rw-r--r-- | infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/DataObjects.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/DataObjects.java b/infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/DataObjects.java index 77db65c5d..f3da1c767 100644 --- a/infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/DataObjects.java +++ b/infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/DataObjects.java @@ -69,6 +69,14 @@ public class DataObjects { RWUtils.makeIidWildcarded(InstanceIdentifier.create(DataObject1.class).child(DataObject1ChildK.class)); InstanceIdentifier<DataObject1ChildK> INTERNALLY_KEYED_IID = InstanceIdentifier.create(DataObject1.class) .child(DataObject1ChildK.class, new DataObject1ChildKey()); + + public interface DataObject1ChildKNested extends DataObject, ChildOf<DataObject1ChildK> { + InstanceIdentifier<DataObject1ChildK.DataObject1ChildKNested> IID = DataObject1ChildK.IID.child(DataObject1ChildK.DataObject1ChildKNested.class); + } + + public interface DataObject1ChildKNested2 extends DataObject, ChildOf<DataObject1ChildK> { + InstanceIdentifier<DataObject1ChildK.DataObject1ChildKNested2> IID = DataObject1ChildK.IID.child(DataObject1ChildK.DataObject1ChildKNested2.class); + } } public static class DataObject1ChildKey implements Identifier<DataObject1ChildK> { |