diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 67edac6..714b2c8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,6 +28,4 @@ build: test: stage: test script: - - ./gradlew check -after_script: - - echo "End CI" \ No newline at end of file + - ./gradlew test \ No newline at end of file diff --git a/src/main/java/de/butzlabben/WorldSystem/data/AbstractSqlLiteDatabase.java b/src/main/java/de/butzlabben/WorldSystem/data/AbstractSqlLiteDatabase.java new file mode 100644 index 0000000..86bcacb --- /dev/null +++ b/src/main/java/de/butzlabben/WorldSystem/data/AbstractSqlLiteDatabase.java @@ -0,0 +1,10 @@ +package de.butzlabben.WorldSystem.data; + +public abstract class AbstractSqlLiteDatabase { + + public AbstractSqlLiteDatabase() { + + } + + +} diff --git a/src/test/java/de/butzlabben/WorldSystem/data/MockDatabase.java b/src/test/java/de/butzlabben/WorldSystem/data/MockDatabase.java new file mode 100644 index 0000000..dd89978 --- /dev/null +++ b/src/test/java/de/butzlabben/WorldSystem/data/MockDatabase.java @@ -0,0 +1,4 @@ +package de.butzlabben.WorldSystem.data; + +public class MockDatabase extends AbstractSqlLiteDatabase { +} diff --git a/src/test/java/de/butzlabben/WorldSystem/data/TestAbstractSqlLiteDatabase.java b/src/test/java/de/butzlabben/WorldSystem/data/TestAbstractSqlLiteDatabase.java new file mode 100644 index 0000000..5fca3c3 --- /dev/null +++ b/src/test/java/de/butzlabben/WorldSystem/data/TestAbstractSqlLiteDatabase.java @@ -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("", ""); + } +}