From abea788fa540da34df1b9dbf85064a0aa4058218 Mon Sep 17 00:00:00 2001 From: JunkJumper Date: Mon, 27 May 2019 18:16:34 +0200 Subject: [PATCH] add a javadoc --- tests/testPiece.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tests/testPiece.java b/tests/testPiece.java index c0c48cc..22e470d 100644 --- a/tests/testPiece.java +++ b/tests/testPiece.java @@ -6,6 +6,21 @@ 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 testPiece { private Echiquier e; private Joueur jb;