First runnable tests for Database / Commented out Good/BadCasesTests (not relevant to this branch)

This commit is contained in:
Riley Schneider
2025-12-03 18:19:48 +01:00
parent 8c4849fdf0
commit 04f2087456
6 changed files with 111 additions and 5 deletions

View File

@@ -0,0 +1,32 @@
package hhn.temp.project.provider;
import java.sql.SQLException;
import java.util.Collection;
import java.util.List;
public class SimpleDatabaseManager<E> implements DatabaseManager<E> {
@Override
public void saveObjects(Collection<E> objects) {
}
@Override
public Collection<E> getObjects() {
return List.of();
}
@Override
public void saveObject(E object) {
}
@Override
public E getObject(int id) {
return null;
}
@Override
public void connect() {
//...
}
}