From 1f44c6ee69ea15474c624d467fbe2de3ae603da0 Mon Sep 17 00:00:00 2001 From: "delphine.thevenot" Date: Thu, 2 Oct 2025 21:50:36 +0200 Subject: [PATCH] =?UTF-8?q?rajout=20m=C3=A9thode=20testIsContenuTitreValid?= =?UTF-8?q?=20=C3=A0=20compl=C3=A9ter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/mycompany/bibliotheque/LivreValideTest.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/test/java/com/mycompany/bibliotheque/LivreValideTest.java b/src/test/java/com/mycompany/bibliotheque/LivreValideTest.java index c963cdf..0e68587 100644 --- a/src/test/java/com/mycompany/bibliotheque/LivreValideTest.java +++ b/src/test/java/com/mycompany/bibliotheque/LivreValideTest.java @@ -114,4 +114,15 @@ public class LivreValideTest { fail("The test case is a prototype."); } + @Test + public void testIsContenuTitreValid() { + System.out.println("isLongueurTitreValid"); + String titre = ""; + boolean expResult = false; + boolean result = LivreValide.isLongueurTitreValid(titre); + assertEquals(expResult, result); + // TODO review the generated test code and remove the default call to fail. + fail("The test case is a prototype."); + } + }