summaryrefslogtreecommitdiffstats
path: root/core/modules/qemu/runvirt-plugin-qemu/src/test/java/org/openslx/runvirt/plugin/qemu/AppTest.java
diff options
context:
space:
mode:
authorManuel Bentele2021-02-11 09:00:09 +0100
committerManuel Bentele2021-02-11 09:00:09 +0100
commitcdd849cc9a5c748627f7882974c9e3cb7e9457ba (patch)
tree8250f8ca047d25de0c28625f1d92ee24060c5852 /core/modules/qemu/runvirt-plugin-qemu/src/test/java/org/openslx/runvirt/plugin/qemu/AppTest.java
parent[qemu] Call Java run-virt tool to finalize Libvirt configuration (diff)
downloadmltk-cdd849cc9a5c748627f7882974c9e3cb7e9457ba.tar.gz
mltk-cdd849cc9a5c748627f7882974c9e3cb7e9457ba.tar.xz
mltk-cdd849cc9a5c748627f7882974c9e3cb7e9457ba.zip
[qemu] Add command line argument parsing to 'qemu' runvirt plugin
Diffstat (limited to 'core/modules/qemu/runvirt-plugin-qemu/src/test/java/org/openslx/runvirt/plugin/qemu/AppTest.java')
-rw-r--r--core/modules/qemu/runvirt-plugin-qemu/src/test/java/org/openslx/runvirt/plugin/qemu/AppTest.java16
1 files changed, 10 insertions, 6 deletions
diff --git a/core/modules/qemu/runvirt-plugin-qemu/src/test/java/org/openslx/runvirt/plugin/qemu/AppTest.java b/core/modules/qemu/runvirt-plugin-qemu/src/test/java/org/openslx/runvirt/plugin/qemu/AppTest.java
index 90b658cd..110fb639 100644
--- a/core/modules/qemu/runvirt-plugin-qemu/src/test/java/org/openslx/runvirt/plugin/qemu/AppTest.java
+++ b/core/modules/qemu/runvirt-plugin-qemu/src/test/java/org/openslx/runvirt/plugin/qemu/AppTest.java
@@ -2,16 +2,20 @@ package org.openslx.runvirt.plugin.qemu;
import static org.junit.jupiter.api.Assertions.assertTrue;
+import org.apache.log4j.Level;
+import org.apache.log4j.LogManager;
+import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
-/**
- * Unit test for simple App.
- */
public class AppTest
{
- /**
- * Rigorous Test :-)
- */
+ @BeforeAll
+ public static void setUp()
+ {
+ // disable logging with log4j
+ LogManager.getRootLogger().setLevel( Level.OFF );
+ }
+
@Test
public void shouldAnswerWithTrue()
{