First database tests
This commit is contained in:
25
test/hhn/temp/project/DatabaseGoodCasesTest.java
Normal file
25
test/hhn/temp/project/DatabaseGoodCasesTest.java
Normal file
@@ -0,0 +1,25 @@
|
||||
package hhn.temp.project;
|
||||
|
||||
import hhn.temp.project.provider.DatabaseManager;
|
||||
import hhn.temp.project.provider.SimpleDatabaseManager;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
|
||||
public class DatabaseGoodCasesTest
|
||||
{
|
||||
public class TestClass {
|
||||
private int id;
|
||||
private String dataString;
|
||||
private int dataInteger;
|
||||
|
||||
public TestClass(int id, String dataString, int dataInteger) {
|
||||
this.id = id;
|
||||
this.dataString = dataString;
|
||||
this.dataInteger = dataInteger;
|
||||
}
|
||||
}
|
||||
|
||||
@BeforeEach
|
||||
public void setup() {
|
||||
DatabaseManager<TestClass> databaseTaskManager = new SimpleDatabaseManager<>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user