aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lalancette <clalance@redhat.com>2010-05-03 17:15:18 -0400
committerChris Lalancette <clalance@redhat.com>2010-05-20 13:50:03 -0400
commit54971d9170005b4cf86a904455794392feca4514 (patch)
tree688774c2c9f9d566535a9991085e1b21a2483f77 /tests/domainsnapshotxml2xmlin
parentFix up the python bindings for snapshotting. (diff)
downloadlibvirt-54971d9170005b4cf86a904455794392feca4514.tar.gz
libvirt-54971d9170005b4cf86a904455794392feca4514.tar.bz2
libvirt-54971d9170005b4cf86a904455794392feca4514.zip
Domain snapshot RNG and tests.
Signed-off-by: Chris Lalancette <clalance@redhat.com>
Diffstat (limited to 'tests/domainsnapshotxml2xmlin')
-rw-r--r--tests/domainsnapshotxml2xmlin/description_only.xml3
-rw-r--r--tests/domainsnapshotxml2xmlin/empty.xml1
-rw-r--r--tests/domainsnapshotxml2xmlin/name_and_description.xml4
-rw-r--r--tests/domainsnapshotxml2xmlin/name_only.xml3
4 files changed, 11 insertions, 0 deletions
diff --git a/tests/domainsnapshotxml2xmlin/description_only.xml b/tests/domainsnapshotxml2xmlin/description_only.xml
new file mode 100644
index 000000000..b76fca2f9
--- /dev/null
+++ b/tests/domainsnapshotxml2xmlin/description_only.xml
@@ -0,0 +1,3 @@
+<domainsnapshot>
+ <description>My description</description>
+</domainsnapshot>
diff --git a/tests/domainsnapshotxml2xmlin/empty.xml b/tests/domainsnapshotxml2xmlin/empty.xml
new file mode 100644
index 000000000..f2bcfbe4b
--- /dev/null
+++ b/tests/domainsnapshotxml2xmlin/empty.xml
@@ -0,0 +1 @@
+<domainsnapshot/>
diff --git a/tests/domainsnapshotxml2xmlin/name_and_description.xml b/tests/domainsnapshotxml2xmlin/name_and_description.xml
new file mode 100644
index 000000000..90ce77474
--- /dev/null
+++ b/tests/domainsnapshotxml2xmlin/name_and_description.xml
@@ -0,0 +1,4 @@
+<domainsnapshot>
+ <name>snap1</name>
+ <description>A longer description!</description>
+</domainsnapshot>
diff --git a/tests/domainsnapshotxml2xmlin/name_only.xml b/tests/domainsnapshotxml2xmlin/name_only.xml
new file mode 100644
index 000000000..8123a02d2
--- /dev/null
+++ b/tests/domainsnapshotxml2xmlin/name_only.xml
@@ -0,0 +1,3 @@
+<domainsnapshot>
+ <name>snapshot1</name>
+</domainsnapshot>