1 Commits
Prof ... master

Author SHA1 Message Date
62769c137e Ajouter readme.yaml 2025-10-17 13:28:48 +02:00
4 changed files with 2 additions and 21 deletions

1
.gitignore vendored
View File

@@ -1 +0,0 @@
/target/

1
readme.yaml Normal file
View File

@@ -0,0 +1 @@
Voir branche Developpement

View File

@@ -30,7 +30,7 @@ public class GestionBibliotheque {
System.out.println("2. Ajouter un livre"); System.out.println("2. Ajouter un livre");
System.out.println("3. Afficher les livres"); System.out.println("3. Afficher les livres");
System.out.println("4. Quitter"); System.out.println("4. Quitter");
System.out.print("Merci de faire votre choix : "); System.out.println("Votre choix : ");
choix = sc.nextInt(); choix = sc.nextInt();
switch (choix) { switch (choix) {
case 1 : case 1 :

View File

@@ -24,7 +24,6 @@ public class LivreValideTest {
/** /**
* Test of isValidIsbn method, of class LivreValide. * Test of isValidIsbn method, of class LivreValide.
* @author Emile
*/ */
@Test @Test
public void testIsValidIsbn() { public void testIsValidIsbn() {
@@ -39,7 +38,6 @@ public class LivreValideTest {
/** /**
* Test of isValidTitre method, of class LivreValide. * Test of isValidTitre method, of class LivreValide.
* @author Salomé/Emile
*/ */
@Test @Test
public void testIsValidTitre() { public void testIsValidTitre() {
@@ -54,7 +52,6 @@ public class LivreValideTest {
/** /**
* Test of isValidAuteur method, of class LivreValide. * Test of isValidAuteur method, of class LivreValide.
* @author Medhi/Steve
*/ */
@Test @Test
public void testIsValidAuteur() { public void testIsValidAuteur() {
@@ -69,7 +66,6 @@ public class LivreValideTest {
/** /**
* Test of isLongueurTitreValid method, of class LivreValide. * Test of isLongueurTitreValid method, of class LivreValide.
* @author Morgann
*/ */
@Test @Test
public void testIsLongueurTitreValid() { public void testIsLongueurTitreValid() {
@@ -82,19 +78,4 @@ public class LivreValideTest {
fail("The test case is a prototype."); 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.");
}
} }