summaryrefslogtreecommitdiffstats
path: root/v3po/data-impl/src/test/resources
diff options
context:
space:
mode:
Diffstat (limited to 'v3po/data-impl/src/test/resources')
-rw-r--r--v3po/data-impl/src/test/resources/expected-persisted-output.txt5
-rw-r--r--v3po/data-impl/src/test/resources/test-persistence.yang16
2 files changed, 21 insertions, 0 deletions
diff --git a/v3po/data-impl/src/test/resources/expected-persisted-output.txt b/v3po/data-impl/src/test/resources/expected-persisted-output.txt
new file mode 100644
index 000000000..fb21d61e8
--- /dev/null
+++ b/v3po/data-impl/src/test/resources/expected-persisted-output.txt
@@ -0,0 +1,5 @@
+{
+ "test-persistence:top-container": {
+ "string": "testing"
+ }
+} \ No newline at end of file
diff --git a/v3po/data-impl/src/test/resources/test-persistence.yang b/v3po/data-impl/src/test/resources/test-persistence.yang
new file mode 100644
index 000000000..b7dbbb1bc
--- /dev/null
+++ b/v3po/data-impl/src/test/resources/test-persistence.yang
@@ -0,0 +1,16 @@
+module test-persistence {
+ yang-version 1;
+ namespace "urn:opendaylight:params:xml:ns:yang:test:persistence";
+ prefix "tp";
+
+ revision "2015-01-05" {
+ description "Initial revision";
+ }
+
+ container top-container {
+ leaf string {
+ type string;
+ }
+ }
+
+}