Bug 4454: Write to datastore: elements count error 99/28599/7
authorFilip Gregor <fgregor@cisco.com>
Tue, 10 Nov 2015 13:03:32 +0000 (14:03 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 10 Nov 2015 17:04:52 +0000 (17:04 +0000)
commit8293e1db9d7fb9becf0680d9a8c84cf16aafd479
tree372ab127387805cbf5fc41bc1200ed68d1dd5312
parente420e37d6545f45c94c1cffbd5e261cad1cb3ead
Bug 4454: Write to datastore: elements count error

added check for write
added aditional tests
added childrenBefore counter check

Change-Id: I970272520a2c97210cf10a7ff4aa92adc8dc6b27
Signed-off-by: Filip.Gregor <fgregor@cisco.com>
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/tree/MinMaxElementsValidation.java
yang/yang-data-impl/src/test/java/org/opendaylight/yangtools/yang/data/impl/schema/tree/Bug4454Test.java [new file with mode: 0644]
yang/yang-data-impl/src/test/resources/bug-4454-test.yang [new file with mode: 0644]