Bug 2563 - Parser should fail when key statement does not reference leaf. 45/14145/3
authorPeter Kajsa <pkajsa@cisco.com>
Wed, 14 Jan 2015 14:45:55 +0000 (15:45 +0100)
committerTony Tkacik <ttkacik@cisco.com>
Fri, 16 Jan 2015 13:39:53 +0000 (13:39 +0000)
commit29f1998fb28a7b1205f4c6aad75dd87428cf5569
treebc602481f26f8fbf1e7e22b00e5aaf48ee68f166
parent9b83f17a5d43a64837e09716c81d8ce48600a401
Bug 2563 - Parser should fail when key statement does not reference leaf.

Change-Id: Idec40d3ae75f09894600856a349154cc7fb4b64a
Signed-off-by: Peter Kajsa <pkajsa@cisco.com>
yang/yang-parser-impl/src/main/java/org/opendaylight/yangtools/yang/parser/builder/impl/ListSchemaNodeBuilder.java
yang/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/parser/impl/ListKeysTest.java [new file with mode: 0644]
yang/yang-parser-impl/src/test/resources/list-keys-test/correct-list-keys-test.yang [new file with mode: 0644]
yang/yang-parser-impl/src/test/resources/list-keys-test/incorrect-list-keys-test.yang [new file with mode: 0644]
yang/yang-parser-impl/src/test/resources/list-keys-test/incorrect-list-keys-test2.yang [new file with mode: 0644]
yang/yang-parser-impl/src/test/resources/list-keys-test/incorrect-list-keys-test3.yang [new file with mode: 0644]
yang/yang-parser-impl/src/test/resources/list-keys-test/incorrect-list-keys-test4.yang [new file with mode: 0644]