Bug 4656: Yang parser does not determine configuration true or false properly
[yangtools.git] / yang / yang-parser-impl / src / test / resources / case-test / bar.yang
1 module bar {
2     yang-version 1;
3     namespace "bar";
4     prefix "br";
5
6     revision "2015-09-09" {
7             reference "NO REF";
8     }
9
10     container sh-root-fff {
11         config false;
12         choice sh-choice-fff {
13             config false;
14             container sh-c-fff {
15                 config false;
16             }
17         }
18     }
19
20     container sh-root-ffn {
21         config false;
22         choice sh-choice-ffn {
23             config false;
24             container sh-c-ffn {
25             }
26         }
27     }
28
29     container sh-root-fnf {
30         config false;
31         choice sh-choice-fnf {
32             container sh-c-fnf {
33                 config false;
34             }
35         }
36     }
37
38     container sh-root-nff {
39         choice sh-choice-nff {
40             config false;
41             container sh-c-nff {
42                 config false;
43             }
44         }
45     }
46
47     container sh-root-nnf {
48         choice sh-choice-nnf {
49             container sh-c-nnf {
50                 config false;
51             }
52         }
53     }
54
55     container sh-root-nfn {
56         choice sh-choice-nfn {
57             config false;
58             container sh-c-nfn {
59             }
60         }
61     }
62
63     container sh-root-fnn {
64         config false;
65         choice sh-choice-fnn {
66             container sh-c-fnn {
67             }
68         }
69     }
70
71     container sh-root-ttt {
72         config true;
73         choice sh-choice-ttt {
74             config true;
75             container sh-c-ttt {
76                 config true;
77             }
78         }
79     }
80
81     container sh-root-ntt {
82         choice sh-choice-ntt {
83             config true;
84             container sh-c-ntt {
85                 config true;
86             }
87         }
88     }
89
90     container sh-root-tnt {
91         config true;
92         choice sh-choice-tnt {
93             container sh-c-tnt {
94                 config true;
95             }
96         }
97     }
98
99     container sh-root-ttn {
100         config true;
101         choice sh-choice-ttt {
102             config true;
103             container sh-c-ttt {
104             }
105         }
106     }
107
108     container sh-root-tnn {
109         config true;
110         choice sh-choice-tnn {
111             container sh-c-tnn {
112             }
113         }
114     }
115
116     container sh-root-ntn {
117         choice sh-choice-ntn {
118             config true;
119             container sh-c-ntn {
120             }
121         }
122     }
123
124     container sh-root-nnt {
125         choice sh-choice-nnt {
126             container sh-c-nnt {
127                 config true;
128             }
129         }
130     }
131
132     container sh-root-tff {
133         config true;
134         choice sh-choice-tff {
135             config false;
136             container c-tff {
137                 config false;
138             }
139         }
140     }
141
142     container sh-root-tfn {
143         config true;
144         choice sh-choice-tfn {
145             config false;
146             container sh-c-tfn {
147             }
148         }
149     }
150
151     container sh-root-tnf {
152         config true;
153         choice sh-choice-tnf {
154             container sh-c-tnf {
155                 config false;
156             }
157         }
158     }
159
160     container sh-root-ntf {
161         choice sh-choice-ntf {
162             config true;
163             container sh-c-ntf {
164                 config false;
165             }
166         }
167     }
168 }