Adding initial test cases, include enumeration conversion, address review comments
Change-Id: I59a19f80289464c934ad16d2d2ce1c78a6ba6f2c
diff --git a/tests/utests/netconf/yang/container.yang b/tests/utests/netconf/yang/container.yang
new file mode 100644
index 0000000..dbc5dfb
--- /dev/null
+++ b/tests/utests/netconf/yang/container.yang
@@ -0,0 +1,34 @@
+module container {
+ yang-version "1";
+ namespace "http://rob.sh/yang/test/base-test";
+ prefix "foo";
+ organization "BugReports Inc";
+ contact "A bug reporter";
+
+ description
+ "A test module that checks that the plugin works OK";
+ revision 2014-01-01 {
+ description "april-fools";
+ reference "fooled-you";
+ }
+
+ container int-container {
+ description
+ "A container";
+ choice name {
+ case me {
+ leaf eight {
+ type int8;
+ description
+ "A test leaf for uint8";
+ }
+ }
+ case myself {
+ leaf nine {
+ type int16;
+ description "i am nine";
+ }
+ }
+ }
+ }
+}