started adding logging to FileIO

This commit is contained in:
Leonardo Brandenberger
2022-04-29 11:52:19 +02:00
parent cff22e9253
commit 068dc44e89
2 changed files with 73 additions and 20 deletions
@@ -12,6 +12,7 @@ import java.nio.file.Files;
import java.nio.file.Path;
import java.util.Comparator;
import java.util.List;
import java.util.logging.Logger;
import static org.junit.jupiter.api.Assertions.*;
@@ -107,7 +108,7 @@ class FileIOTest {
}
@Test
void saveTournament() {
void saveTournament() throws IOException {
Tournament tournament = new Tournament("test1");
io.saveTournament(tournament);
File file = new File(mainDir + "\\saves\\test1.txt");