Merge remote-tracking branch 'origin/FileIO' into FileIO

This commit is contained in:
schrom01
2022-04-29 16:10:50 +02:00
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");