[ONOS-5878] schema context provider impl
Change-Id: Ib93ca69d659fe700cd4270035dae8cece1b23b88
diff --git a/runtime/app/src/test/resources/schemaProviderTestYangFiles/choice-case.yang b/runtime/app/src/test/resources/schemaProviderTestYangFiles/choice-case.yang
new file mode 100644
index 0000000..66b2f8a
--- /dev/null
+++ b/runtime/app/src/test/resources/schemaProviderTestYangFiles/choice-case.yang
@@ -0,0 +1,65 @@
+module choice-case {
+
+ yang-version 1;
+
+ namespace "yrt:choice-case";
+
+ prefix "choice";
+
+ organization "ON-LAB";
+
+ description "This module defines for choice-case.";
+
+ revision "2016-06-24" {
+ description "Initial revision.";
+ }
+
+ choice snack {
+ case sportsarena {
+
+ leaf pretzel {
+ type empty;
+ }
+
+ choice bear {
+ case type {
+ leaf light {
+ type empty;
+ }
+ }
+
+ case add-on {
+ choice snacks {
+ case chips {
+ leaf-list potato {
+ type empty;
+ }
+
+ list banana {
+ config false;
+ leaf l1 {
+ type string;
+ }
+ }
+
+ container cold-drink {
+ leaf-list flavor {
+ type string;
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ case latenight {
+ leaf chocolate {
+ type enumeration {
+ enum dark;
+ enum milk;
+ enum first-available;
+ }
+ }
+ }
+ }
+}
\ No newline at end of file