From 72b117f83b12715dfea7f8b80df08aaf56d1811f Mon Sep 17 00:00:00 2001 From: Paul ALNET Date: Fri, 17 May 2024 07:54:19 +0200 Subject: [PATCH] test(dijkstra): fix before annotation on init --- .../graphs/algorithm/shortestpath/DijkstraAlgorithmTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/be-graphes-algos/src/test/java/org/insa/graphs/algorithm/shortestpath/DijkstraAlgorithmTest.java b/be-graphes-algos/src/test/java/org/insa/graphs/algorithm/shortestpath/DijkstraAlgorithmTest.java index 9b2b08e..426427e 100644 --- a/be-graphes-algos/src/test/java/org/insa/graphs/algorithm/shortestpath/DijkstraAlgorithmTest.java +++ b/be-graphes-algos/src/test/java/org/insa/graphs/algorithm/shortestpath/DijkstraAlgorithmTest.java @@ -15,6 +15,7 @@ import org.insa.graphs.model.io.BinaryGraphReader; import org.insa.graphs.model.io.BinaryPathReader; import org.insa.graphs.model.io.GraphReader; import org.insa.graphs.model.io.PathReader; +import org.junit.BeforeClass; import org.junit.Test; public class DijkstraAlgorithmTest { @@ -26,7 +27,7 @@ public class DijkstraAlgorithmTest { public Path path; - //@Before + @BeforeClass public void init() { // Visit these directory to see the list of available files on Commetud. // When running with VSC, paths are relative to the BE_Graphes directory.