From e43ecc8cfe1f0abd35f03b7c2e00f1a4cd957e74 Mon Sep 17 00:00:00 2001 From: Rochas Date: Thu, 19 Dec 2024 21:59:45 +0100 Subject: [PATCH] BeforeEach partout --- src/fr/test/test_V1.java | 1 - src/fr/test/test_V2.java | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/fr/test/test_V1.java b/src/fr/test/test_V1.java index e656797..27fe945 100644 --- a/src/fr/test/test_V1.java +++ b/src/fr/test/test_V1.java @@ -6,7 +6,6 @@ import java.util.HashSet; import static org.junit.Assert.*; -import org.junit.Before; import org.junit.Test; import org.junit.jupiter.api.BeforeEach; diff --git a/src/fr/test/test_V2.java b/src/fr/test/test_V2.java index d2ce493..73a9bfe 100644 --- a/src/fr/test/test_V2.java +++ b/src/fr/test/test_V2.java @@ -6,8 +6,8 @@ import java.util.HashSet; import static org.junit.Assert.*; -import org.junit.Before; import org.junit.Test; +import org.junit.jupiter.api.BeforeEach; import src.fr.impl.*; import src.fr.impl.Parts.*; @@ -45,7 +45,7 @@ public class test_V2 { CompatibilityManager cm = new CompatibilityManagerImpl(); - @Before + @BeforeEach public void init(){ Set EH120Requirement = new HashSet(); EH120Requirement.add(TC120);