forked from StarOpenSource/Engine
Remove EngineTest
This commit is contained in:
parent
919edd3375
commit
170f5fd372
2 changed files with 2 additions and 31 deletions
|
@ -374,6 +374,8 @@ public final class EngineConfiguration implements SubsystemConfiguration {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clears {@code instance}. Used in unit tests.
|
* Clears {@code instance}. Used in unit tests.
|
||||||
|
*
|
||||||
|
* @since 1-alpha1
|
||||||
*/
|
*/
|
||||||
private static void clearInstance() {
|
private static void clearInstance() {
|
||||||
instance = null;
|
instance = null;
|
||||||
|
|
|
@ -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");
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in a new issue