From d276b330f449f7dc4a5fd64446d4edf8bfe5fe6a Mon Sep 17 00:00:00 2001 From: JunkJumper Date: Mon, 27 May 2019 18:15:14 +0200 Subject: [PATCH] add a javadoc --- tests/testGeneraux.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/testGeneraux.java b/tests/testGeneraux.java index 08bc56f..021e546 100644 --- a/tests/testGeneraux.java +++ b/tests/testGeneraux.java @@ -7,6 +7,20 @@ import org.junit.jupiter.api.Test; import joueurs.Joueur; import piecesEchiquier.*; +/* + * @AfterEach is used to signal that the annotated method should beexecuted after each @Test, @RepeatedTest, @ParameterizedTest, @TestFactory,and @TestTemplate method in the current test class. + * org.junit.jupiter.api.AfterEach; + * + * @BeforeEach is used to signal that the annotated method should beexecuted before each @Test, @RepeatedTest, @ParameterizedTest, @TestFactory,and @TestTemplate method in the current test class. + * org.junit.jupiter.api.BeforeEach; + * + * @Test is used to signal that the annotated method is a test method. + * @Test methods must not be private or staticand must not return a value. + * @Test methods may optionally declare parameters to beresolved by ParameterResolvers. + * @Test may also be used as a meta-annotation in order to createa custom composed annotation that inherits the semantics of @Test. + * org.junit.jupiter.api.Test; + * */ + class testGeneraux { private Echiquier e; private Joueur jb;