Backup
This commit is contained in:
@@ -4,8 +4,12 @@ import hhn.temp.project.provider.DatabaseManager;
|
||||
import hhn.temp.project.provider.SimpleDatabaseManager;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
|
||||
public class DatabaseGoodCasesTest
|
||||
{
|
||||
import java.sql.SQLException;
|
||||
|
||||
public class DatabaseGoodCasesTest {
|
||||
|
||||
private DatabaseManager<DatabaseGoodCasesTest.TestClass> databaseManager;
|
||||
|
||||
public class TestClass {
|
||||
private int id;
|
||||
private String dataString;
|
||||
@@ -20,6 +24,10 @@ public class DatabaseGoodCasesTest
|
||||
|
||||
@BeforeEach
|
||||
public void setup() {
|
||||
DatabaseManager<TestClass> databaseTaskManager = new SimpleDatabaseManager<>();
|
||||
databaseManager = new SimpleDatabaseManager<>();
|
||||
}
|
||||
|
||||
public void assertConnectToDatabase() throws SQLException {
|
||||
databaseManager.connect();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user