Code Review
/
yangtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Bug 8307: Add the option for activating deviation statements
[yangtools.git]
/
yang
/
yang-parser-impl
/
src
/
test
/
resources
/
deviation-resolution-test
/
deviation-add
/
foo-invalid-4.yang
diff --git
a/yang/yang-parser-impl/src/test/resources/deviation-resolution-test/deviation-add/foo-invalid-4.yang
b/yang/yang-parser-impl/src/test/resources/deviation-resolution-test/deviation-add/foo-invalid-4.yang
index b48742aa16647045e80f7b82a2d3596bcc72cb11..2070d7718a5b0c57ec197fb4c9bd9c2f648fd7ac 100644
(file)
--- a/
yang/yang-parser-impl/src/test/resources/deviation-resolution-test/deviation-add/foo-invalid-4.yang
+++ b/
yang/yang-parser-impl/src/test/resources/deviation-resolution-test/deviation-add/foo-invalid-4.yang
@@
-2,25
+2,16
@@
module foo {
namespace foo;
prefix foo;
namespace foo;
prefix foo;
+ import bar {
+ prefix bar;
+ revision-date 2017-02-01;
+ }
+
revision 2017-02-01;
revision 2017-02-01;
- deviation "/
my-cont/
my-used-leaf" {
+ deviation "/
bar:my-cont/bar:
my-used-leaf" {
deviate add {
default 50;
}
}
deviate add {
default 50;
}
}
-
- container my-cont {
- uses my-grouping {
- refine my-used-leaf {
- default "def-val-added-by-refine";
- }
- }
- }
-
- grouping my-grouping {
- leaf my-used-leaf {
- type int32;
- }
- }
}
\ No newline at end of file
}
\ No newline at end of file