wip idk
This commit is contained in:
@@ -17,6 +17,7 @@ public class TestClient implements CommandLineRunner {
|
||||
|
||||
@Override
|
||||
public void run(String... args) {
|
||||
// 1c)
|
||||
autoDAO.createAuto("BMW", "E32", "NE-IN 0000");
|
||||
|
||||
List<LogEntry> logs = logEntryDAO.getAllLogEntries();
|
||||
@@ -24,5 +25,14 @@ public class TestClient implements CommandLineRunner {
|
||||
for (LogEntry entry : logs) {
|
||||
System.out.println("[" + entry.time + "] " + entry.message);
|
||||
}
|
||||
|
||||
// 1d)
|
||||
autoDAO.createAuto("Mercedes", "AMG", "");
|
||||
|
||||
List<LogEntry> newLogs = logEntryDAO.getAllLogEntries();
|
||||
System.out.println("=== Log-Einträge (" + logs.size() + ") ===");
|
||||
for (LogEntry entry : logs) {
|
||||
System.out.println("[" + entry.time + "] " + entry.message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user