mirror of
https://github.com/trainerlord/WorldSystem.git
synced 2024-12-01 13:13:21 +01:00
prepd tests
This commit is contained in:
parent
ccae398047
commit
6939e9c4af
@ -28,6 +28,4 @@ build:
|
|||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- ./gradlew check
|
- ./gradlew test
|
||||||
after_script:
|
|
||||||
- echo "End CI"
|
|
@ -0,0 +1,10 @@
|
|||||||
|
package de.butzlabben.WorldSystem.data;
|
||||||
|
|
||||||
|
public abstract class AbstractSqlLiteDatabase {
|
||||||
|
|
||||||
|
public AbstractSqlLiteDatabase() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
package de.butzlabben.WorldSystem.data;
|
||||||
|
|
||||||
|
public class MockDatabase extends AbstractSqlLiteDatabase {
|
||||||
|
}
|
@ -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("", "");
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user