summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorManuel Bentele2021-03-24 15:20:33 +0100
committerManuel Bentele2021-03-24 15:20:33 +0100
commit2d012afbaf72794ad8ff16cc7ac50bc2e05b0c74 (patch)
treeac7fe643ad97cf697126807b06be60f79c4bde9f /src/test
parentAdd parallel and serial devices to Libvirt domain XML documents (diff)
downloadmaster-sync-shared-2d012afbaf72794ad8ff16cc7ac50bc2e05b0c74.tar.gz
master-sync-shared-2d012afbaf72794ad8ff16cc7ac50bc2e05b0c74.tar.xz
master-sync-shared-2d012afbaf72794ad8ff16cc7ac50bc2e05b0c74.zip
Add shared folder support to Libvirt domain XML documents
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/openslx/libvirt/domain/DomainTest.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/java/org/openslx/libvirt/domain/DomainTest.java b/src/test/java/org/openslx/libvirt/domain/DomainTest.java
index b4e0187..aa556f9 100644
--- a/src/test/java/org/openslx/libvirt/domain/DomainTest.java
+++ b/src/test/java/org/openslx/libvirt/domain/DomainTest.java
@@ -322,6 +322,14 @@ public class DomainTest
}
@Test
+ @DisplayName( "Get all VM file system devices from libvirt XML file" )
+ public void testGetFileSystemDevices()
+ {
+ Domain vm = this.newDomainInstance( "qemu-kvm_default-ubuntu-20-04-vm.xml" );
+ assertEquals( 0, vm.getFileSystemDevices().size() );
+ }
+
+ @Test
@DisplayName( "Get all VM hostdev devices from libvirt XML file" )
public void testGetHostdevDevices()
{