prepd tests

This commit is contained in:
danielb 2024-05-23 16:10:26 +00:00
parent ccae398047
commit 6939e9c4af
4 changed files with 29 additions and 3 deletions

View File

@ -28,6 +28,4 @@ build:
test:
stage: test
script:
- ./gradlew check
after_script:
- echo "End CI"
- ./gradlew test

View File

@ -0,0 +1,10 @@
package de.butzlabben.WorldSystem.data;
public abstract class AbstractSqlLiteDatabase {
public AbstractSqlLiteDatabase() {
}
}

View File

@ -0,0 +1,4 @@
package de.butzlabben.WorldSystem.data;
public class MockDatabase extends AbstractSqlLiteDatabase {
}

View File

@ -0,0 +1,14 @@
package de.butzlabben.WorldSystem.data;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class TestAbstractSqlLiteDatabase {
@Test
public void testPrintMessage() {
System.out.println("Inside testPrintMessage()");
assertEquals("", "");
}
}