Remove EngineTest

This commit is contained in:
JeremyStar™ 2024-06-27 22:26:52 +02:00
parent 919edd3375
commit 170f5fd372
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
2 changed files with 2 additions and 31 deletions

View file

@ -374,6 +374,8 @@ public final class EngineConfiguration implements SubsystemConfiguration {
/**
* Clears {@code instance}. Used in unit tests.
*
* @since 1-alpha1
*/
private static void clearInstance() {
instance = null;

View file

@ -1,31 +0,0 @@
package de.staropensource.sosengine.base.srctests;
import de.staropensource.sosengine.base.Engine;
import de.staropensource.sosengine.unittests.UnitLogger;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
/**
* Tests the class {@link EngineTest}.
*/
@SuppressWarnings("unused")
@DisplayName("Engine")
class EngineTest {
/**
* The {@link UnitLogger} for this instance.
*/
private final UnitLogger logger = new UnitLogger(getClass());
/**
* Tests the constructor.
*/
@Test
@DisplayName("Constructor")
void testConstructor() {
logger.testCall("testConstructor");
assertNotEquals(new Engine(), null, "Engine should not be null");
}
}