Update test javadoc

This commit is contained in:
JeremyStar™ 2024-06-28 02:17:53 +02:00
parent ef29a1f775
commit 0514329556
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
3 changed files with 6 additions and 3 deletions

View file

@ -59,7 +59,7 @@ class EngineConfigurationTest {
} }
/** /**
* Sets the {@link EngineConfiguration} {@code instance} to {@code null} after each test. * Sets the {@link EngineConfiguration}#{@code instance} to {@code null} after each test.
*/ */
@AfterEach @AfterEach
void clearClass() { void clearClass() {

View file

@ -57,8 +57,11 @@ public class MiscellaneousTest {
*/ */
private static boolean throwableCaught; private static boolean throwableCaught;
/**
* Sets the {@link EngineConfiguration}#{@code instance} to {@code null} after each test.
*/
@AfterEach @AfterEach
void clearConfigurationInstance() { void clearConfiguration() {
// Only does something if 'EngineConfiguration#instance' is set, only applies to 'testExecuteSafely1' // Only does something if 'EngineConfiguration#instance' is set, only applies to 'testExecuteSafely1'
Reflect.onClass(EngineConfiguration.class).call("clearInstance"); Reflect.onClass(EngineConfiguration.class).call("clearInstance");
} }

View file

@ -20,10 +20,10 @@
package de.staropensource.sosengine.slf4j_compat; package de.staropensource.sosengine.slf4j_compat;
import de.staropensource.sosengine.base.classes.SubsystemMainClass; import de.staropensource.sosengine.base.classes.SubsystemMainClass;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.events.LogEvent; import de.staropensource.sosengine.base.events.LogEvent;
import de.staropensource.sosengine.base.logging.LoggerInstance; import de.staropensource.sosengine.base.logging.LoggerInstance;
import de.staropensource.sosengine.base.types.CodePart; import de.staropensource.sosengine.base.types.CodePart;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import lombok.Getter; import lombok.Getter;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;