summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/openslx/libvirt/domain/DomainTest.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/test/java/org/openslx/libvirt/domain/DomainTest.java b/src/test/java/org/openslx/libvirt/domain/DomainTest.java
index f55c511..d73abe0 100644
--- a/src/test/java/org/openslx/libvirt/domain/DomainTest.java
+++ b/src/test/java/org/openslx/libvirt/domain/DomainTest.java
@@ -412,7 +412,7 @@ public class DomainTest
public void testGetDevices()
{
Domain vm = DomainTest.getDomain( "qemu-kvm_default-ubuntu-20-04-vm.xml" );
- assertEquals( 22, vm.getDevices().size() );
+ assertEquals( 24, vm.getDevices().size() );
}
@Test
@@ -496,6 +496,14 @@ public class DomainTest
}
@Test
+ @DisplayName( "Get all Redir devices from libvirt XML file" )
+ public void testGetRedirDevices()
+ {
+ Domain vm = DomainTest.getDomain( "qemu-kvm_default-ubuntu-20-04-vm.xml" );
+ assertEquals( 2, vm.getRedirectDevices().size() );
+ }
+
+ @Test
@DisplayName( "Get all QEMU command line arguments from libvirt XML file" )
public void testGetQemuCmdlnArguments()
{