diff options
author | Manuel Bentele | 2021-02-11 09:00:09 +0100 |
---|---|---|
committer | Manuel Bentele | 2021-02-11 09:00:09 +0100 |
commit | cdd849cc9a5c748627f7882974c9e3cb7e9457ba (patch) | |
tree | 8250f8ca047d25de0c28625f1d92ee24060c5852 /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) | |
download | mltk-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.java | 16 |
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() { |