BeforeEach partout
This commit is contained in:
@@ -6,7 +6,6 @@ import java.util.HashSet;
|
|||||||
|
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
import org.junit.Before;
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.jupiter.api.BeforeEach;
|
import org.junit.jupiter.api.BeforeEach;
|
||||||
|
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ import java.util.HashSet;
|
|||||||
|
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
import org.junit.Before;
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
import org.junit.jupiter.api.BeforeEach;
|
||||||
|
|
||||||
import src.fr.impl.*;
|
import src.fr.impl.*;
|
||||||
import src.fr.impl.Parts.*;
|
import src.fr.impl.Parts.*;
|
||||||
@@ -45,7 +45,7 @@ public class test_V2 {
|
|||||||
CompatibilityManager cm = new CompatibilityManagerImpl();
|
CompatibilityManager cm = new CompatibilityManagerImpl();
|
||||||
|
|
||||||
|
|
||||||
@Before
|
@BeforeEach
|
||||||
public void init(){
|
public void init(){
|
||||||
Set<PartType> EH120Requirement = new HashSet<PartType>();
|
Set<PartType> EH120Requirement = new HashSet<PartType>();
|
||||||
EH120Requirement.add(TC120);
|
EH120Requirement.add(TC120);
|
||||||
|
|||||||
Reference in New Issue
Block a user