From f1571ced27295d227bc06978186d6d47a778248b Mon Sep 17 00:00:00 2001 From: sio Date: Fri, 26 Sep 2025 08:56:57 +0200 Subject: [PATCH] =?UTF-8?q?m=C3=A0j=20LivreValidTest.java?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bibliotheque/LivreValideTest.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/test/java/com/mycompany/bibliotheque/LivreValideTest.java b/src/test/java/com/mycompany/bibliotheque/LivreValideTest.java index 4773c5e..2738f0b 100644 --- a/src/test/java/com/mycompany/bibliotheque/LivreValideTest.java +++ b/src/test/java/com/mycompany/bibliotheque/LivreValideTest.java @@ -24,6 +24,7 @@ public class LivreValideTest { /** * Test of isValidIsbn method, of class LivreValide. + * @author Emile */ @Test public void testIsValidIsbn() { @@ -38,6 +39,7 @@ public class LivreValideTest { /** * Test of isValidTitre method, of class LivreValide. + * @author Salomé/Emile */ @Test public void testIsValidTitre() { @@ -52,6 +54,7 @@ public class LivreValideTest { /** * Test of isValidAuteur method, of class LivreValide. + * @author Medhi/Steve */ @Test public void testIsValidAuteur() { @@ -66,6 +69,7 @@ public class LivreValideTest { /** * Test of isLongueurTitreValid method, of class LivreValide. + * @author Morgann */ @Test public void testIsLongueurTitreValid() { @@ -78,4 +82,19 @@ public class LivreValideTest { fail("The test case is a prototype."); } + /** + * Test of isTitreValid method, of class LivreValide. + * @author Steve + */ + @Test + public void testIsContenuTitreValide() { + System.out.println("isTitreValid"); + String titre = ""; + boolean expResult = false; + boolean result = LivreValide.isContenuTitreValide(titre); + assertEquals(expResult, result); + // TODO review the generated test code and remove the default call to fail. + fail("The test case is a prototype."); + } + }