update jenkins file and repo

This commit is contained in:
Maxime Pierront
2025-11-23 13:09:37 +01:00
parent b4555aa73f
commit 8a341c51ee
6 changed files with 207 additions and 6 deletions

View File

@@ -5,13 +5,14 @@ import fr.iut_fbleau.info.but3.automation.rock_paper_scissors.stat.domain.StatBo
import fr.iut_fbleau.info.but3.automation.rock_paper_scissors.stat.spi.StatRepository;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
@Stub
public record InMemoryStatRepository(Map<String, Integer> stats) implements StatRepository {
private final static HashMap<String, Integer> DEFAULT_STATS = new HashMap<>(Map.of("joe", 1,"eoj", 3));
private final static HashMap<String, Integer> DEFAULT_STATS = new LinkedHashMap<>(Map.of("joe", 1,"eoj", 3));
public InMemoryStatRepository() {
this(DEFAULT_STATS);