From e9ee951e570c441151385d1ccd8c4230abf704ca Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Sat, 26 Jun 2021 14:32:12 +0200 Subject: Updated javadoc, added jacoco and the necessary JUnit for this feature. --- .../musichub/business/PathValidationTest.class | Bin 0 -> 1190 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 target/test-classes/musichub/business/PathValidationTest.class (limited to 'target/test-classes') diff --git a/target/test-classes/musichub/business/PathValidationTest.class b/target/test-classes/musichub/business/PathValidationTest.class new file mode 100644 index 0000000..24d063b Binary files /dev/null and b/target/test-classes/musichub/business/PathValidationTest.class differ -- cgit v1.2.3 From 5d167b38848c3f69bbcfd952272ac39e48a9af93 Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Sat, 26 Jun 2021 21:54:26 +0200 Subject: LogHandler now working fine. --- log/spoteezer.log | 3 ++ src/main/java/musichub/main/Main.java | 12 ++++- src/main/java/musichub/util/LogHandler.java | 56 +++++++++++++++++++++ src/main/java/musichub/util/LogWriter.java | 27 ---------- .../classes/musichub/business/PathValidation.class | Bin 865 -> 0 bytes target/classes/musichub/main/Main.class | Bin 10064 -> 10287 bytes .../musichub/business/PathValidationTest.class | Bin 1190 -> 0 bytes 7 files changed, 70 insertions(+), 28 deletions(-) create mode 100644 src/main/java/musichub/util/LogHandler.java delete mode 100644 src/main/java/musichub/util/LogWriter.java delete mode 100644 target/classes/musichub/business/PathValidation.class delete mode 100644 target/test-classes/musichub/business/PathValidationTest.class (limited to 'target/test-classes') diff --git a/log/spoteezer.log b/log/spoteezer.log index e69de29..091f5e0 100644 --- a/log/spoteezer.log +++ b/log/spoteezer.log @@ -0,0 +1,3 @@ +[yyyy-MM-dd HH:mm:ss.SSS] TYPE: Message +[2021-06-26 21:37:09.507] WARNING: The music file was not found with the path you've provided. +[2021-06-26 21:45:11.453] WARNING: The music file was not found with the path you've provided. \ No newline at end of file diff --git a/src/main/java/musichub/main/Main.java b/src/main/java/musichub/main/Main.java index e06d056..e7ca721 100644 --- a/src/main/java/musichub/main/Main.java +++ b/src/main/java/musichub/main/Main.java @@ -1,6 +1,7 @@ package musichub.main; import musichub.business.*; +import musichub.util.LogHandler; import javax.sound.sampled.LineUnavailableException; import javax.sound.sampled.UnsupportedAudioFileException; @@ -93,7 +94,9 @@ public class Main { System.out.println("Song content: "); String content = scan.nextLine(); if (!isPathValid(content)) { - System.out.println("The music file was not found with the path you've provided.\nType h for available commands"); + String logMsg = "The music file was not found with the path you've provided."; + LogHandler.write(logMsg, "WARNING"); //write a line in the log file + System.out.println(logMsg + "\nType h for available commands"); choice = scan.nextLine(); break; } @@ -240,6 +243,12 @@ public class Main { printAvailableCommands(); choice = scan.nextLine(); break; + case 'o': + //consult the app logs + LogHandler.read(); + System.out.println("Type h for available commands"); + choice = scan.nextLine(); + break; default: break; @@ -260,6 +269,7 @@ public class Main { System.out.println("p: create a new playlist from existing songs and audio books"); System.out.println("-: delete an existing playlist"); System.out.println("s: save elements, albums, playlists"); + System.out.println("o: consult the app logs"); System.out.println("q: quit program"); } } \ No newline at end of file diff --git a/src/main/java/musichub/util/LogHandler.java b/src/main/java/musichub/util/LogHandler.java new file mode 100644 index 0000000..f6522f5 --- /dev/null +++ b/src/main/java/musichub/util/LogHandler.java @@ -0,0 +1,56 @@ +package musichub.util; + +import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.StandardOpenOption; +import java.sql.Timestamp; + +/** + * Class offering a log writing method. + * + * @author Aimeric ADJUTOR + * @version 1.0 + */ + +public final class LogHandler { + + /** + * Method that just throws an AssertionError if the class is called + * + * @throws AssertionError you can't instantiate this class + * @author Aimeric ADJUTOR + */ + + public LogHandler() { + throw new AssertionError("You just can't instantiate this class."); + } + + public static void write(String msg, String type) throws IOException { + + Timestamp timestamp = new Timestamp(System.currentTimeMillis()); + + //Create the log using the given message + String logMsg = "\n[" + timestamp + "] " + type + ": " + msg; + + // Define the file name of the file + Path fileName = Path.of("log/spoteezer.log"); + + // Write into the file + Files.writeString(fileName, logMsg, StandardOpenOption.APPEND); + + + } + + public static void read() throws IOException { + Path fileName = Path.of("log/spoteezer.log"); + + // Read the content of the file + String file_content = Files.readString(fileName); + + // Print the content inside the file + System.out.println("\n" + file_content + "\n"); + + } + +} \ No newline at end of file diff --git a/src/main/java/musichub/util/LogWriter.java b/src/main/java/musichub/util/LogWriter.java deleted file mode 100644 index 46d602e..0000000 --- a/src/main/java/musichub/util/LogWriter.java +++ /dev/null @@ -1,27 +0,0 @@ -package musichub.util; - -/** - * Class offering a log writing method. - * - * @author Aimeric ADJUTOR - * @version 1.0 - */ - -public final class LogWriter { - - /** - * Method that just throws an AssertionError if the class is called - * - * @throws AssertionError you can't instantiate this class - * @author Aimeric ADJUTOR - */ - - public LogWriter() { - throw new AssertionError("You just can't instantiate this class."); - } - - public static void write(String msg) { - - } - -} \ No newline at end of file diff --git a/target/classes/musichub/business/PathValidation.class b/target/classes/musichub/business/PathValidation.class deleted file mode 100644 index 5e3ac15..0000000 Binary files a/target/classes/musichub/business/PathValidation.class and /dev/null differ diff --git a/target/classes/musichub/main/Main.class b/target/classes/musichub/main/Main.class index f3d2052..632e576 100644 Binary files a/target/classes/musichub/main/Main.class and b/target/classes/musichub/main/Main.class differ diff --git a/target/test-classes/musichub/business/PathValidationTest.class b/target/test-classes/musichub/business/PathValidationTest.class deleted file mode 100644 index 24d063b..0000000 Binary files a/target/test-classes/musichub/business/PathValidationTest.class and /dev/null differ -- cgit v1.2.3 From 948ff415cd3571c9f418765b30f1547dd16e84bf Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Sun, 27 Jun 2021 18:59:41 +0200 Subject: Latest maven, jacoco and javadoc files --- log/spoteezer.log | 4 +- target/classes/musichub/util/LogHandler.class | Bin 0 -> 2161 bytes target/classes/musichub/util/PathValidation.class | Bin 0 -> 1150 bytes target/jacoco.exec | Bin 15166 -> 30542 bytes .../javadoc-options-javadoc-resources.xml | 10 + target/maven-archiver/pom.properties | 5 + target/maven-javadoc-plugin-stale-data.txt | 66 +++ .../default-testCompile/createdFiles.lst | 6 +- target/original-spoteezer-0.1.0.jar | Bin 0 -> 33454 bytes target/site/jacoco/index.html | 2 +- target/site/jacoco/jacoco-sessions.html | 2 +- target/site/jacoco/jacoco.csv | 6 +- target/site/jacoco/jacoco.xml | 2 +- .../site/jacoco/musichub.business/AudioBook.html | 2 +- .../jacoco/musichub.business/AudioBook.java.html | 24 +- target/site/jacoco/musichub.business/Category.html | 2 +- .../jacoco/musichub.business/Category.java.html | 10 +- target/site/jacoco/musichub.business/Language.html | 2 +- .../jacoco/musichub.business/Language.java.html | 10 +- .../jacoco/musichub.business/MusicHub.java.html | 21 + target/site/jacoco/musichub.business/index.html | 2 +- .../jacoco/musichub.business/index.source.html | 2 +- target/site/jacoco/musichub.main/Main.java.html | 487 +++++++++++---------- .../jacoco/musichub.util/PathValidation.java.html | 8 +- target/spoteezer-0.1.0-shaded.jar | Bin 0 -> 369356 bytes target/spoteezer-0.1.0.jar | Bin 0 -> 369356 bytes .../TEST-musichub.business.CategoryTest.xml | 59 +++ .../TEST-musichub.business.LanguageTest.xml | 67 +-- .../TEST-musichub.business.PlayListTest.xml | 63 +++ .../TEST-musichub.business.SongTest.xml | 64 +++ .../TEST-musichub.util.LogHandlerTest.xml | 61 +++ .../TEST-musichub.util.PathValidationTest.xml | 60 +++ .../TEST-musichub.util.XMLHandlerTest.xml | 60 +++ .../musichub.business.CategoryTest.txt | 4 + .../musichub.business.LanguageTest.txt | 4 + .../musichub.business.PlayListTest.txt | 4 + .../musichub.business.SongTest.txt | 4 + .../musichub.util.LogHandlerTest.txt | 4 + .../musichub.util.PathValidationTest.txt | 4 + .../musichub.util.XMLHandlerTest.txt | 4 + .../musichub/business/CategoryTest.class | Bin 0 -> 1648 bytes .../musichub/business/LanguageTest.class | Bin 0 -> 1649 bytes .../musichub/business/PlayListTest.class | Bin 0 -> 3108 bytes .../test-classes/musichub/business/SongTest.class | Bin 0 -> 3889 bytes .../musichub/util/LogHandlerTest.class | Bin 0 -> 1336 bytes .../musichub/util/PathValidationTest.class | Bin 0 -> 1215 bytes .../musichub/util/XMLHandlerTest.class | Bin 0 -> 1756 bytes 47 files changed, 822 insertions(+), 313 deletions(-) create mode 100644 target/classes/musichub/util/LogHandler.class create mode 100644 target/classes/musichub/util/PathValidation.class create mode 100644 target/javadoc-bundle-options/javadoc-options-javadoc-resources.xml create mode 100644 target/maven-archiver/pom.properties create mode 100644 target/maven-javadoc-plugin-stale-data.txt create mode 100644 target/original-spoteezer-0.1.0.jar create mode 100644 target/spoteezer-0.1.0-shaded.jar create mode 100644 target/spoteezer-0.1.0.jar create mode 100644 target/surefire-reports/TEST-musichub.business.CategoryTest.xml create mode 100644 target/surefire-reports/TEST-musichub.business.PlayListTest.xml create mode 100644 target/surefire-reports/TEST-musichub.business.SongTest.xml create mode 100644 target/surefire-reports/TEST-musichub.util.LogHandlerTest.xml create mode 100644 target/surefire-reports/TEST-musichub.util.PathValidationTest.xml create mode 100644 target/surefire-reports/TEST-musichub.util.XMLHandlerTest.xml create mode 100644 target/surefire-reports/musichub.business.CategoryTest.txt create mode 100644 target/surefire-reports/musichub.business.LanguageTest.txt create mode 100644 target/surefire-reports/musichub.business.PlayListTest.txt create mode 100644 target/surefire-reports/musichub.business.SongTest.txt create mode 100644 target/surefire-reports/musichub.util.LogHandlerTest.txt create mode 100644 target/surefire-reports/musichub.util.PathValidationTest.txt create mode 100644 target/surefire-reports/musichub.util.XMLHandlerTest.txt create mode 100644 target/test-classes/musichub/business/CategoryTest.class create mode 100644 target/test-classes/musichub/business/LanguageTest.class create mode 100644 target/test-classes/musichub/business/PlayListTest.class create mode 100644 target/test-classes/musichub/business/SongTest.class create mode 100644 target/test-classes/musichub/util/LogHandlerTest.class create mode 100644 target/test-classes/musichub/util/PathValidationTest.class create mode 100644 target/test-classes/musichub/util/XMLHandlerTest.class (limited to 'target/test-classes') diff --git a/log/spoteezer.log b/log/spoteezer.log index b4799c9..7f2fbd4 100644 --- a/log/spoteezer.log +++ b/log/spoteezer.log @@ -1,3 +1,5 @@ [yyyy-MM-dd HH:mm:ss.SSS] TYPE: Message [2021-06-27 13:23:02.181] WARNING: The music file was not found with the path you've provided or the extension is not .wav -[2021-06-27 13:23:40.286] TEST: JUnit test \ No newline at end of file +[2021-06-27 13:23:40.286] TEST: JUnit test +[2021-06-27 17:01:30.263] WARNING: The music file was not found with the path you've provided or the extension is not .wav +[2021-06-27 18:57:02.639] TEST: JUnit test \ No newline at end of file diff --git a/target/classes/musichub/util/LogHandler.class b/target/classes/musichub/util/LogHandler.class new file mode 100644 index 0000000..40507d1 Binary files /dev/null and b/target/classes/musichub/util/LogHandler.class differ diff --git a/target/classes/musichub/util/PathValidation.class b/target/classes/musichub/util/PathValidation.class new file mode 100644 index 0000000..8c0bfc4 Binary files /dev/null and b/target/classes/musichub/util/PathValidation.class differ diff --git a/target/jacoco.exec b/target/jacoco.exec index 029f7db..407278b 100644 Binary files a/target/jacoco.exec and b/target/jacoco.exec differ diff --git a/target/javadoc-bundle-options/javadoc-options-javadoc-resources.xml b/target/javadoc-bundle-options/javadoc-options-javadoc-resources.xml new file mode 100644 index 0000000..8b89c97 --- /dev/null +++ b/target/javadoc-bundle-options/javadoc-options-javadoc-resources.xml @@ -0,0 +1,10 @@ + + + + + + + + + src/main/javadoc + diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties new file mode 100644 index 0000000..ea770d4 --- /dev/null +++ b/target/maven-archiver/pom.properties @@ -0,0 +1,5 @@ +#Generated by Maven +#Sun Jun 27 13:23:41 CEST 2021 +groupId=esiea.softwareengineering +artifactId=spoteezer +version=0.1.0 diff --git a/target/maven-javadoc-plugin-stale-data.txt b/target/maven-javadoc-plugin-stale-data.txt new file mode 100644 index 0000000..7723699 --- /dev/null +++ b/target/maven-javadoc-plugin-stale-data.txt @@ -0,0 +1,66 @@ +@options +@argfile +-classpath +'C:/Users/SoftA/.m2/repository/org/junit/jupiter/junit-jupiter-api/5.0.2/junit-jupiter-api-5.0.2.jar;C:/Users/SoftA/.m2/repository/org/opentest4j/opentest4j/1.0.0/opentest4j-1.0.0.jar;C:/Users/SoftA/.m2/repository/org/junit/platform/junit-platform-commons/1.0.2/junit-platform-commons-1.0.2.jar;C:/Users/SoftA/.m2/repository/org/junit/jupiter/junit-jupiter-engine/5.0.2/junit-jupiter-engine-5.0.2.jar;C:/Users/SoftA/.m2/repository/org/junit/platform/junit-platform-engine/1.0.2/junit-platform-engine-1.0.2.jar' +-encoding +'Cp1252' +-protected +--release +16 +-sourcepath +'C:/Users/SoftA/Documents/spoteezer/src/main/java' +-author +-bottom +'Copyright © 2021. All rights reserved.' +-charset +'UTF-8' +-d +'C:/Users/SoftA/Documents/spoteezer/target/site/apidocs' +-docencoding +'UTF-8' +-doctitle +'spoteezer 0.1.0 API' +-use +-version +-windowtitle +'spoteezer 0.1.0 API' +'C:/Users/SoftA/Documents/spoteezer/src/main/java/musichub/business/Album.java' +'C:/Users/SoftA/Documents/spoteezer/src/main/java/musichub/business/AudioBook.java' +'C:/Users/SoftA/Documents/spoteezer/src/main/java/musichub/business/AudioElement.java' +'C:/Users/SoftA/Documents/spoteezer/src/main/java/musichub/business/Category.java' +'C:/Users/SoftA/Documents/spoteezer/src/main/java/musichub/business/Genre.java' +'C:/Users/SoftA/Documents/spoteezer/src/main/java/musichub/business/Language.java' +'C:/Users/SoftA/Documents/spoteezer/src/main/java/musichub/business/MusicHub.java' +'C:/Users/SoftA/Documents/spoteezer/src/main/java/musichub/business/NoAlbumFoundException.java' +'C:/Users/SoftA/Documents/spoteezer/src/main/java/musichub/business/NoElementFoundException.java' +'C:/Users/SoftA/Documents/spoteezer/src/main/java/musichub/business/NoPlayListFoundException.java' +'C:/Users/SoftA/Documents/spoteezer/src/main/java/musichub/business/PlayList.java' +'C:/Users/SoftA/Documents/spoteezer/src/main/java/musichub/business/Song.java' +'C:/Users/SoftA/Documents/spoteezer/src/main/java/musichub/main/Main.java' +'C:/Users/SoftA/Documents/spoteezer/src/main/java/musichub/util/LogHandler.java' +'C:/Users/SoftA/Documents/spoteezer/src/main/java/musichub/util/PathValidation.java' +'C:/Users/SoftA/Documents/spoteezer/src/main/java/musichub/util/XMLHandler.java' +C:\Users\SoftA\.m2\repository\org\junit\jupiter\junit-jupiter-api\5.0.2\junit-jupiter-api-5.0.2.jar = 1624015816799 +C:\Users\SoftA\.m2\repository\org\opentest4j\opentest4j\1.0.0\opentest4j-1.0.0.jar = 1624015816785 +C:\Users\SoftA\.m2\repository\org\junit\platform\junit-platform-commons\1.0.2\junit-platform-commons-1.0.2.jar = 1624015816770 +C:\Users\SoftA\.m2\repository\org\junit\jupiter\junit-jupiter-engine\5.0.2\junit-jupiter-engine-5.0.2.jar = 1624015816790 +C:\Users\SoftA\.m2\repository\org\junit\platform\junit-platform-engine\1.0.2\junit-platform-engine-1.0.2.jar = 1624015816783 +C:\Users\SoftA\Documents\spoteezer\src\main\java = 1624708123937 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\allclasses-index.html = 1624793029572 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\allpackages-index.html = 1624793029575 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\element-list = 1624793029464 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\help-doc.html = 1624793029599 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\index-all.html = 1624793029596 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\index.html = 1624793029553 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\jquery-ui.overrides.css = 1624793029620 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\member-search-index.js = 1624793029579 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\module-search-index.js = 1624793029576 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\overview-summary.html = 1624793029597 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\overview-tree.html = 1624793029548 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\package-search-index.js = 1624793029577 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\script.js = 1624793029602 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\search.js = 1624793029605 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\serialized-form.html = 1624793029489 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\stylesheet.css = 1624793029601 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\tag-search-index.js = 1624793029580 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\type-search-index.js = 1624793029578 \ No newline at end of file diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst index 7726a1c..1b87d1d 100644 --- a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst +++ b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst @@ -1,5 +1,7 @@ -musichub\util\XMLHandlerTest.class -musichub\business\PlayListTest.class +musichub\business\CategoryTest.class musichub\util\PathValidationTest.class musichub\business\SongTest.class +musichub\business\LanguageTest.class +musichub\util\XMLHandlerTest.class +musichub\business\PlayListTest.class musichub\util\LogHandlerTest.class diff --git a/target/original-spoteezer-0.1.0.jar b/target/original-spoteezer-0.1.0.jar new file mode 100644 index 0000000..49fe805 Binary files /dev/null and b/target/original-spoteezer-0.1.0.jar differ diff --git a/target/site/jacoco/index.html b/target/site/jacoco/index.html index b69ecb5..88d1333 100644 --- a/target/site/jacoco/index.html +++ b/target/site/jacoco/index.html @@ -1 +1 @@ -spoteezer

spoteezer

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
Total2 162 of 2 82523 %193 of 2149 %17321359175162931219
musichub.business1 55151224 %1521710 %14317238149959811115
musichub.main6050 %410 %30302062063311
musichub.util15196 %4100 %0114460903
\ No newline at end of file +spoteezer

spoteezer

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
Total2 023 of 2 82528 %191 of 21410 %1642135697515393919
musichub.business1 41265131 %1501911 %1341723594995081815
musichub.main6050 %410 %30302062063311
musichub.util15196 %4100 %0114460903
\ No newline at end of file diff --git a/target/site/jacoco/jacoco-sessions.html b/target/site/jacoco/jacoco-sessions.html index 9debc99..eb4b943 100644 --- a/target/site/jacoco/jacoco-sessions.html +++ b/target/site/jacoco/jacoco-sessions.html @@ -1 +1 @@ -Sessions

Sessions

This coverage report is based on execution data from the following sessions:

SessionStart TimeDump Time
DESKTOP-M4INQND-91a7872b27 juin 2021, 13:23:3927 juin 2021, 13:23:40

Execution data for the following classes is considered in this report:

ClassId
java.sql.Dated25610486aed3f31
java.sql.Timestampb848522074600355
musichub.business.AudioElement776d9bc5621fe50f
musichub.business.Genreb2fbdfedce493822
musichub.business.PlayList5513ec76de07c419
musichub.business.PlayListTest7e7a002919fb95e1
musichub.business.Song44a87f7f8335b156
musichub.business.SongTest88f03b022c5c7270
musichub.util.LogHandler09990b742e8d897c
musichub.util.LogHandlerTest49f271871a8ef7bf
musichub.util.PathValidation170ad3c706c07f6b
musichub.util.PathValidationTest9eabcd97683d6e01
musichub.util.XMLHandlerab2fa919a374fd87
musichub.util.XMLHandlerTest4852491d32ffd349
org.apache.maven.plugin.surefire.log.api.NullConsoleLogger80d79e52a7499259
org.apache.maven.surefire.booter.AbstractPathConfiguration8182fa1396653f01
org.apache.maven.surefire.booter.BaseProviderFactory82593383b8ea92d6
org.apache.maven.surefire.booter.BiProperty4945e268841ae2cb
org.apache.maven.surefire.booter.BooterDeserializer5e68b147d2c4b22f
org.apache.maven.surefire.booter.ClassLoaderConfigurationdc8fd5c18ebb0e44
org.apache.maven.surefire.booter.Classpath6f6b6469b9fdf4dd
org.apache.maven.surefire.booter.ClasspathConfiguration4c7a5282c74ba3e2
org.apache.maven.surefire.booter.Commandeb1b53eb8cbe7b47
org.apache.maven.surefire.booter.CommandReader0c8d3ca700ec7199
org.apache.maven.surefire.booter.CommandReader.1fbfebde20e2b504c
org.apache.maven.surefire.booter.CommandReader.CommandRunnableee59ae4d74408619
org.apache.maven.surefire.booter.DumpErrorSingletona3fa02cb87e0e12b
org.apache.maven.surefire.booter.ForkedBootera5c33895f0d22838
org.apache.maven.surefire.booter.ForkedBooter.1c87487d278c3ea96
org.apache.maven.surefire.booter.ForkedBooter.231c66931520df8eb
org.apache.maven.surefire.booter.ForkedBooter.395d48141fa4dd03d
org.apache.maven.surefire.booter.ForkedBooter.424dcd1c5bcf0d850
org.apache.maven.surefire.booter.ForkedBooter.5862846325c16cf76
org.apache.maven.surefire.booter.ForkedBooter.6b3ab24d3791d84dd
org.apache.maven.surefire.booter.ForkedBooter.7401437f62a3b16ff
org.apache.maven.surefire.booter.ForkedBooter.PingScheduler04bf02021dfc5e9c
org.apache.maven.surefire.booter.ForkingReporterFactory076a6c0176f6238b
org.apache.maven.surefire.booter.ForkingRunListener92d4b034b32ca2c0
org.apache.maven.surefire.booter.MasterProcessCommandda65de332c2de19d
org.apache.maven.surefire.booter.PpidChecker71b8c658da2ea8d3
org.apache.maven.surefire.booter.PpidChecker.268d262a2c2ad8f14
org.apache.maven.surefire.booter.PpidChecker.ProcessInfoConsumer73f319c21fab7e7f
org.apache.maven.surefire.booter.ProcessInfob5b56cd86f3f0b31
org.apache.maven.surefire.booter.PropertiesWrapperae4bf137cc5290c1
org.apache.maven.surefire.booter.ProviderConfigurationd19986536a351b50
org.apache.maven.surefire.booter.Shutdownee9c65017e107986
org.apache.maven.surefire.booter.StartupConfigurationa8cc10b01ed27439
org.apache.maven.surefire.booter.SystemPropertyManagerf47497b1dde50d64
org.apache.maven.surefire.booter.TypeEncodedValue5ea9766678ac06a2
org.apache.maven.surefire.cli.CommandLineOption467fc7f51b73863b
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider89b934b90ec6eb01
org.apache.maven.surefire.junitplatform.RunListenerAdapter02cb8e87a6db2057
org.apache.maven.surefire.junitplatform.TestPlanScannerFilter622558f718a42827
org.apache.maven.surefire.providerapi.AbstractProvider90f3b08fe8a1c87c
org.apache.maven.surefire.report.ConsoleOutputCaptureb8ae904ed8536017
org.apache.maven.surefire.report.ConsoleOutputCapture.ForwardingPrintStreamf912ea5d2dac308e
org.apache.maven.surefire.report.ConsoleOutputCapture.NullOutputStream8d05eb67510fd586
org.apache.maven.surefire.report.ReporterConfiguration4281487891f02f69
org.apache.maven.surefire.report.SimpleReportEntryced572f24a462295
org.apache.maven.surefire.shade.org.apache.commons.io.IOUtils31aed2fcfab3e082
org.apache.maven.surefire.shade.org.apache.commons.io.output.StringBuilderWriter6d33fec8cb3374c0
org.apache.maven.surefire.shade.org.apache.commons.lang3.JavaVersiona8452005cb20bb7d
org.apache.maven.surefire.shade.org.apache.commons.lang3.StringUtils4f785afa8bb3a23f
org.apache.maven.surefire.shade.org.apache.commons.lang3.SystemUtilsaba69a973b7ba06a
org.apache.maven.surefire.shade.org.apache.commons.lang3.math.NumberUtilsd0156407bff7b695
org.apache.maven.surefire.shade.org.apache.maven.shared.utils.StringUtils483d14212b21a3ea
org.apache.maven.surefire.suite.RunResultf5c7c53a954bcafa
org.apache.maven.surefire.testset.DirectoryScannerParameters2b5eeacae469cd1d
org.apache.maven.surefire.testset.IncludedExcludedPatternsf39908e3b64d7090
org.apache.maven.surefire.testset.ResolvedTesta598483e424232d4
org.apache.maven.surefire.testset.ResolvedTest.ClassMatcher79be7f2fa77ad8d7
org.apache.maven.surefire.testset.ResolvedTest.MethodMatcher7c71374a51e8e61b
org.apache.maven.surefire.testset.ResolvedTest.Type90e4214668937845
org.apache.maven.surefire.testset.RunOrderParametersb4c06223c3099700
org.apache.maven.surefire.testset.TestArtifactInfof703953620e80b33
org.apache.maven.surefire.testset.TestListResolver7d372c99b98a147d
org.apache.maven.surefire.testset.TestRequest0fa2c0cc34345df2
org.apache.maven.surefire.util.CloseableIteratorcc15bdebae86d5d2
org.apache.maven.surefire.util.DefaultRunOrderCalculator1aeecbcd3bf6e89b
org.apache.maven.surefire.util.DefaultScanResult7fefafdf8c793c36
org.apache.maven.surefire.util.ReflectionUtils8d5f4b05d6d77207
org.apache.maven.surefire.util.RunOrderd2292a6beb4b6337
org.apache.maven.surefire.util.TestsToRuna95363e4b4ba2069
org.apache.maven.surefire.util.TestsToRun.ClassesIterator84a139c598502c0b
org.apache.maven.surefire.util.internal.DaemonThreadFactory21a589f6dedb169c
org.apache.maven.surefire.util.internal.DaemonThreadFactory.NamedThreadFactory682458ca85b067a3
org.apache.maven.surefire.util.internal.DumpFileUtilsfff19f49be3d8149
org.apache.maven.surefire.util.internal.ImmutableMap72bcae5e55b4fabb
org.apache.maven.surefire.util.internal.ObjectUtils69a2a92649b44645
org.apache.maven.surefire.util.internal.StringUtils3a7e4daf0a993e1e
org.apache.maven.surefire.util.internal.StringUtils.EncodedArray477f1d94d78cb50b
org.apiguardian.api.API.Status0341e8d99fc36573
org.junit.jupiter.api.AssertEquals12bfbbf2e4327e63
org.junit.jupiter.api.AssertFalse32fea5a28fb6a114
org.junit.jupiter.api.AssertNotEqualsc7953c8abfcb95d0
org.junit.jupiter.api.AssertNull85f4114f65559fbd
org.junit.jupiter.api.AssertTrue612f68f7274dd69c
org.junit.jupiter.api.AssertionUtilsda37ffd9f98016fd
org.junit.jupiter.api.Assertions041279bcf2826fff
org.junit.jupiter.api.TestInstance.Lifecycle0e93858cc703e9fc
org.junit.jupiter.api.extension.ConditionEvaluationResult2f9dc9ea54b57975
org.junit.jupiter.api.extension.ExtensionContext222e1fc44c4844aa
org.junit.jupiter.engine.DiscoveryFilterApplierae96a3ff3c2e2bc4
org.junit.jupiter.engine.JupiterTestEnginec74f725c8cb223be
org.junit.jupiter.engine.descriptor.AbstractExtensionContext1f7ed0b87a9f2cca
org.junit.jupiter.engine.descriptor.ClassExtensionContextb85422abe06bbadd
org.junit.jupiter.engine.descriptor.ClassTestDescriptor61a635a4acc3ee31
org.junit.jupiter.engine.descriptor.JupiterEngineDescriptord025635c09450d0d
org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext7ae853fe3a80d83c
org.junit.jupiter.engine.descriptor.JupiterTestDescriptor606e5ec97816bda5
org.junit.jupiter.engine.descriptor.LifecycleMethodUtils19c9fba5accef0fa
org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor65654838f58d8b44
org.junit.jupiter.engine.descriptor.MethodExtensionContextc098f6d0bb344d56
org.junit.jupiter.engine.descriptor.TestInstanceLifecycleUtilsc42bb138e6a06252
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor54eb6a19bd953962
org.junit.jupiter.engine.discovery.AbstractMethodResolver3934f16bf877b9f5
org.junit.jupiter.engine.discovery.DiscoverySelectorResolvera858789f976fefbc
org.junit.jupiter.engine.discovery.JavaElementsResolver32e9ea682e77049d
org.junit.jupiter.engine.discovery.MethodFinder5ea468d2eb528361
org.junit.jupiter.engine.discovery.NestedTestsResolver9d92451ae793af41
org.junit.jupiter.engine.discovery.TestContainerResolver7db010f5e9c7301d
org.junit.jupiter.engine.discovery.TestFactoryMethodResolver59fd27320e375440
org.junit.jupiter.engine.discovery.TestMethodResolver1417c6356fa4b27f
org.junit.jupiter.engine.discovery.TestTemplateMethodResolver47563eb55cd35171
org.junit.jupiter.engine.discovery.predicates.IsInnerClassf7d9846d00228720
org.junit.jupiter.engine.discovery.predicates.IsNestedTestClasse47ff7cd33073803
org.junit.jupiter.engine.discovery.predicates.IsPotentialTestContainer0f8df015b2d5841a
org.junit.jupiter.engine.discovery.predicates.IsScannableTestClass839db992754219f6
org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests5ab134cc6ef3a81f
org.junit.jupiter.engine.discovery.predicates.IsTestFactoryMethoda2c68978bd6bfbc6
org.junit.jupiter.engine.discovery.predicates.IsTestMethod8b244977e441886e
org.junit.jupiter.engine.discovery.predicates.IsTestTemplateMethod0baf1066bf0cbad7
org.junit.jupiter.engine.discovery.predicates.IsTestableMethod59a0b58a40803fe2
org.junit.jupiter.engine.execution.ConditionEvaluatorfba35d945644501d
org.junit.jupiter.engine.execution.ExecutableInvokerd64b9ef7a154ea95
org.junit.jupiter.engine.execution.ExtensionValuesStore2517eb7835ca6234
org.junit.jupiter.engine.execution.JupiterEngineExecutionContext65be276e3a954a94
org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builderdd69537274ccbffc
org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.State38616672a2502408
org.junit.jupiter.engine.execution.ThrowableCollector92102b13561afdcf
org.junit.jupiter.engine.extension.DisabledConditiona967493a244329fa
org.junit.jupiter.engine.extension.ExtensionRegistry20b847fc63fd255b
org.junit.jupiter.engine.extension.RepeatedTestExtension1b7914cc8cf83732
org.junit.jupiter.engine.extension.TestInfoParameterResolver1b5b370a56807cae
org.junit.jupiter.engine.extension.TestReporterParameterResolver839c7c31b3ec6390
org.junit.platform.commons.logging.LoggerFactoryca4e1a8773fb9bed
org.junit.platform.commons.logging.LoggerFactory.DelegatingLoggerfd74fe2bb4edddd0
org.junit.platform.commons.util.AnnotationUtils32499b01efc144e8
org.junit.platform.commons.util.AnnotationUtils.AnnotationCacheKeyf04082259bc4a6ab
org.junit.platform.commons.util.ClassLoaderUtilsebded5f4ecebd9d8
org.junit.platform.commons.util.ClassUtils4982a89773933a90
org.junit.platform.commons.util.ClasspathScanner8425ab535628f6b9
org.junit.platform.commons.util.CollectionUtils59532d0e14166bc8
org.junit.platform.commons.util.Preconditionsf9207dc44e9d043d
org.junit.platform.commons.util.ReflectionUtils4d39f1033ae8eb12
org.junit.platform.commons.util.ReflectionUtils.HierarchyTraversalModeb267f8ac562d551e
org.junit.platform.commons.util.StringUtils3441f99393e2406b
org.junit.platform.engine.CompositeFilterd9d6482243cc9fa3
org.junit.platform.engine.CompositeFilter.175dffc26c0811b9d
org.junit.platform.engine.ExecutionRequested3835cc21e5a048
org.junit.platform.engine.Filterf932423ccd3b54bf
org.junit.platform.engine.FilterResultbf731bc7f64ce694
org.junit.platform.engine.TestDescriptore9574ca206cded64
org.junit.platform.engine.TestDescriptor.Typeeb97fc5a29f3ee3a
org.junit.platform.engine.TestExecutionResultabbab174d32db912
org.junit.platform.engine.TestExecutionResult.Statusda0473a55d05e891
org.junit.platform.engine.UniqueIdd23a178963e86ca7
org.junit.platform.engine.UniqueId.Segment54a2765f04c8cab7
org.junit.platform.engine.UniqueIdFormatc860ade4b928ce32
org.junit.platform.engine.discovery.ClassSelector228aa96d72021db2
org.junit.platform.engine.discovery.DiscoverySelectors8fefc6f1651cc3bd
org.junit.platform.engine.support.descriptor.AbstractTestDescriptor2bfbf25c43491443
org.junit.platform.engine.support.descriptor.ClassSource9727c5551a632c40
org.junit.platform.engine.support.descriptor.EngineDescriptorb7dbf6dfb794516c
org.junit.platform.engine.support.descriptor.MethodSource0a1b0f0f95f17b77
org.junit.platform.engine.support.filter.ClasspathScanningSupport8223a02c2b9d8c89
org.junit.platform.engine.support.hierarchical.ExecutionTrackercbd37bfd76595d62
org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine410766a2a07e44b1
org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor7b43a475463d740e
org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.1197b854565198af0
org.junit.platform.engine.support.hierarchical.Node8a5379bd364a5bf6
org.junit.platform.engine.support.hierarchical.Node.SkipResultd4551dfb7a813206
org.junit.platform.engine.support.hierarchical.SingleTestExecutord75bd01628eef7be
org.junit.platform.launcher.TestIdentifier225bb434f8f223e2
org.junit.platform.launcher.TestPlan9a2b71b572924cbc
org.junit.platform.launcher.core.DefaultDiscoveryRequest7dda3ad9a0e6a666
org.junit.platform.launcher.core.DefaultLauncher1a1f88af87dc6ec1
org.junit.platform.launcher.core.ExecutionListenerAdapter52cf3c3c69d4dfba
org.junit.platform.launcher.core.LauncherConfigurationParametersef55cacb5e47a902
org.junit.platform.launcher.core.LauncherDiscoveryRequestBuildere78a71b91c159e69
org.junit.platform.launcher.core.LauncherFactorye2bd67b8a72737b5
org.junit.platform.launcher.core.Root32394ca895f9fb9a
org.junit.platform.launcher.core.ServiceLoaderTestEngineRegistry7c054c4cf76cb0f6
org.junit.platform.launcher.core.ServiceLoaderTestExecutionListenerRegistry2299bac1075a6bf3
org.junit.platform.launcher.core.TestExecutionListenerRegistry190f4fb2b0ab865d
org.junit.platform.launcher.core.TestExecutionListenerRegistry.CompositeTestExecutionListener7538d2d860e1f9cb
org.junit.platform.launcher.listeners.LegacyReportingUtilsf3c021e100a54063
sun.nio.cs.ext.AbstractCharsetProvider9a72c9e39fdac365
sun.nio.cs.ext.Big57f7799a4239d3d01
sun.nio.cs.ext.EUC_CNdaed57327edf3023
sun.nio.cs.ext.EUC_JPf0c718c92ac0cabc
sun.nio.cs.ext.EUC_KR3d50c0e84dcd54e6
sun.nio.cs.ext.EUC_TW4fbeba8ab3b0661e
sun.nio.cs.ext.ExtendedCharsets7715d4380ab405a8
sun.nio.cs.ext.IBM037b9b8c9ec2e056149
sun.nio.cs.ext.IBM1047e368b4c70681ed2e
sun.nio.cs.ext.IBM2777b5b55809ca60de9
sun.nio.cs.ext.IBM278326393dad6851723
sun.nio.cs.ext.IBM2809d9334ffd18e4e40
sun.nio.cs.ext.IBM28401c4a83f23f1b53d
sun.nio.cs.ext.IBM285be059d13431c468f
sun.nio.cs.ext.IBM29709fd5ed2f7ce33cb
sun.nio.cs.ext.IBM420dfa9e617bd0f689b
sun.nio.cs.ext.IBM424edd26be1d2ed5a00
sun.nio.cs.ext.IBM50058b3c90789d546a5
sun.nio.cs.ext.IBM8604bc938afb837212f
sun.nio.cs.ext.IBM870ad9dcff6cd8f8661
sun.nio.cs.ext.IBM871ef144f207fc359f5
sun.nio.cs.ext.IBM918a83d0db73f26c654
sun.nio.cs.ext.ISO202292bf931cea04ba69
sun.nio.cs.ext.ISO2022_JP4839eaacbb85c150
sun.nio.cs.ext.ISO2022_KRe2e5b9cbb3d44823
sun.nio.cs.ext.ISO_8859_11cb3ce4182f6717e0
sun.nio.cs.ext.ISO_8859_3550e89cba9076937
sun.nio.cs.ext.ISO_8859_67e467e744bd3ad13
sun.nio.cs.ext.ISO_8859_8bb93af1e031c8697
sun.nio.cs.ext.MacRoman7007321b9dd9c10d
sun.text.resources.cldr.ext.FormatData_frcfe4ef8ff7428512
sun.util.resources.cldr.provider.CLDRLocaleDataMetaInfo888d0e6a76acb845
sun.util.resources.provider.LocaleDataProvider36ca29d59ab35e5c
\ No newline at end of file +Sessions

Sessions

This coverage report is based on execution data from the following sessions:

SessionStart TimeDump Time
DESKTOP-M4INQND-91a7872b27 juin 2021, 13:23:3927 juin 2021, 13:23:40
DESKTOP-M4INQND-11e0a09627 juin 2021, 18:57:0227 juin 2021, 18:57:02

Execution data for the following classes is considered in this report:

ClassId
java.sql.Dated25610486aed3f31
java.sql.Timestampb848522074600355
musichub.business.AudioBookaaa13ef213e0885f
musichub.business.AudioElement776d9bc5621fe50f
musichub.business.Categoryf9388aaddff9a152
musichub.business.CategoryTest8046f4a9dc44152c
musichub.business.Genreb2fbdfedce493822
musichub.business.Languaged39e77f1c1a0f641
musichub.business.LanguageTestf53b266ad5abf5d4
musichub.business.PlayList5513ec76de07c419
musichub.business.PlayListTest7e7a002919fb95e1
musichub.business.Song44a87f7f8335b156
musichub.business.SongTest88f03b022c5c7270
musichub.util.LogHandler09990b742e8d897c
musichub.util.LogHandlerTest49f271871a8ef7bf
musichub.util.PathValidation170ad3c706c07f6b
musichub.util.PathValidationTest9eabcd97683d6e01
musichub.util.XMLHandlerab2fa919a374fd87
musichub.util.XMLHandlerTest4852491d32ffd349
org.apache.maven.plugin.surefire.log.api.NullConsoleLogger80d79e52a7499259
org.apache.maven.surefire.booter.AbstractPathConfiguration8182fa1396653f01
org.apache.maven.surefire.booter.BaseProviderFactory82593383b8ea92d6
org.apache.maven.surefire.booter.BiProperty4945e268841ae2cb
org.apache.maven.surefire.booter.BooterDeserializer5e68b147d2c4b22f
org.apache.maven.surefire.booter.ClassLoaderConfigurationdc8fd5c18ebb0e44
org.apache.maven.surefire.booter.Classpath6f6b6469b9fdf4dd
org.apache.maven.surefire.booter.ClasspathConfiguration4c7a5282c74ba3e2
org.apache.maven.surefire.booter.Commandeb1b53eb8cbe7b47
org.apache.maven.surefire.booter.CommandReader0c8d3ca700ec7199
org.apache.maven.surefire.booter.CommandReader.1fbfebde20e2b504c
org.apache.maven.surefire.booter.CommandReader.CommandRunnableee59ae4d74408619
org.apache.maven.surefire.booter.DumpErrorSingletona3fa02cb87e0e12b
org.apache.maven.surefire.booter.ForkedBootera5c33895f0d22838
org.apache.maven.surefire.booter.ForkedBooter.1c87487d278c3ea96
org.apache.maven.surefire.booter.ForkedBooter.231c66931520df8eb
org.apache.maven.surefire.booter.ForkedBooter.395d48141fa4dd03d
org.apache.maven.surefire.booter.ForkedBooter.424dcd1c5bcf0d850
org.apache.maven.surefire.booter.ForkedBooter.5862846325c16cf76
org.apache.maven.surefire.booter.ForkedBooter.6b3ab24d3791d84dd
org.apache.maven.surefire.booter.ForkedBooter.7401437f62a3b16ff
org.apache.maven.surefire.booter.ForkedBooter.PingScheduler04bf02021dfc5e9c
org.apache.maven.surefire.booter.ForkingReporterFactory076a6c0176f6238b
org.apache.maven.surefire.booter.ForkingRunListener92d4b034b32ca2c0
org.apache.maven.surefire.booter.MasterProcessCommandda65de332c2de19d
org.apache.maven.surefire.booter.PpidChecker71b8c658da2ea8d3
org.apache.maven.surefire.booter.PpidChecker.268d262a2c2ad8f14
org.apache.maven.surefire.booter.PpidChecker.ProcessInfoConsumer73f319c21fab7e7f
org.apache.maven.surefire.booter.ProcessInfob5b56cd86f3f0b31
org.apache.maven.surefire.booter.PropertiesWrapperae4bf137cc5290c1
org.apache.maven.surefire.booter.ProviderConfigurationd19986536a351b50
org.apache.maven.surefire.booter.Shutdownee9c65017e107986
org.apache.maven.surefire.booter.StartupConfigurationa8cc10b01ed27439
org.apache.maven.surefire.booter.SystemPropertyManagerf47497b1dde50d64
org.apache.maven.surefire.booter.TypeEncodedValue5ea9766678ac06a2
org.apache.maven.surefire.cli.CommandLineOption467fc7f51b73863b
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider89b934b90ec6eb01
org.apache.maven.surefire.junitplatform.RunListenerAdapter02cb8e87a6db2057
org.apache.maven.surefire.junitplatform.TestPlanScannerFilter622558f718a42827
org.apache.maven.surefire.providerapi.AbstractProvider90f3b08fe8a1c87c
org.apache.maven.surefire.report.ConsoleOutputCaptureb8ae904ed8536017
org.apache.maven.surefire.report.ConsoleOutputCapture.ForwardingPrintStreamf912ea5d2dac308e
org.apache.maven.surefire.report.ConsoleOutputCapture.NullOutputStream8d05eb67510fd586
org.apache.maven.surefire.report.ReporterConfiguration4281487891f02f69
org.apache.maven.surefire.report.SimpleReportEntryced572f24a462295
org.apache.maven.surefire.shade.org.apache.commons.io.IOUtils31aed2fcfab3e082
org.apache.maven.surefire.shade.org.apache.commons.io.output.StringBuilderWriter6d33fec8cb3374c0
org.apache.maven.surefire.shade.org.apache.commons.lang3.JavaVersiona8452005cb20bb7d
org.apache.maven.surefire.shade.org.apache.commons.lang3.StringUtils4f785afa8bb3a23f
org.apache.maven.surefire.shade.org.apache.commons.lang3.SystemUtilsaba69a973b7ba06a
org.apache.maven.surefire.shade.org.apache.commons.lang3.math.NumberUtilsd0156407bff7b695
org.apache.maven.surefire.shade.org.apache.maven.shared.utils.StringUtils483d14212b21a3ea
org.apache.maven.surefire.suite.RunResultf5c7c53a954bcafa
org.apache.maven.surefire.testset.DirectoryScannerParameters2b5eeacae469cd1d
org.apache.maven.surefire.testset.IncludedExcludedPatternsf39908e3b64d7090
org.apache.maven.surefire.testset.ResolvedTesta598483e424232d4
org.apache.maven.surefire.testset.ResolvedTest.ClassMatcher79be7f2fa77ad8d7
org.apache.maven.surefire.testset.ResolvedTest.MethodMatcher7c71374a51e8e61b
org.apache.maven.surefire.testset.ResolvedTest.Type90e4214668937845
org.apache.maven.surefire.testset.RunOrderParametersb4c06223c3099700
org.apache.maven.surefire.testset.TestArtifactInfof703953620e80b33
org.apache.maven.surefire.testset.TestListResolver7d372c99b98a147d
org.apache.maven.surefire.testset.TestRequest0fa2c0cc34345df2
org.apache.maven.surefire.util.CloseableIteratorcc15bdebae86d5d2
org.apache.maven.surefire.util.DefaultRunOrderCalculator1aeecbcd3bf6e89b
org.apache.maven.surefire.util.DefaultScanResult7fefafdf8c793c36
org.apache.maven.surefire.util.ReflectionUtils8d5f4b05d6d77207
org.apache.maven.surefire.util.RunOrderd2292a6beb4b6337
org.apache.maven.surefire.util.TestsToRuna95363e4b4ba2069
org.apache.maven.surefire.util.TestsToRun.ClassesIterator84a139c598502c0b
org.apache.maven.surefire.util.internal.DaemonThreadFactory21a589f6dedb169c
org.apache.maven.surefire.util.internal.DaemonThreadFactory.NamedThreadFactory682458ca85b067a3
org.apache.maven.surefire.util.internal.DumpFileUtilsfff19f49be3d8149
org.apache.maven.surefire.util.internal.ImmutableMap72bcae5e55b4fabb
org.apache.maven.surefire.util.internal.ObjectUtils69a2a92649b44645
org.apache.maven.surefire.util.internal.StringUtils3a7e4daf0a993e1e
org.apache.maven.surefire.util.internal.StringUtils.EncodedArray477f1d94d78cb50b
org.apiguardian.api.API.Status0341e8d99fc36573
org.junit.jupiter.api.AssertEquals12bfbbf2e4327e63
org.junit.jupiter.api.AssertFalse32fea5a28fb6a114
org.junit.jupiter.api.AssertNotEqualsc7953c8abfcb95d0
org.junit.jupiter.api.AssertNull85f4114f65559fbd
org.junit.jupiter.api.AssertTrue612f68f7274dd69c
org.junit.jupiter.api.AssertionUtilsda37ffd9f98016fd
org.junit.jupiter.api.Assertions041279bcf2826fff
org.junit.jupiter.api.TestInstance.Lifecycle0e93858cc703e9fc
org.junit.jupiter.api.extension.ConditionEvaluationResult2f9dc9ea54b57975
org.junit.jupiter.api.extension.ExtensionContext222e1fc44c4844aa
org.junit.jupiter.engine.DiscoveryFilterApplierae96a3ff3c2e2bc4
org.junit.jupiter.engine.JupiterTestEnginec74f725c8cb223be
org.junit.jupiter.engine.descriptor.AbstractExtensionContext1f7ed0b87a9f2cca
org.junit.jupiter.engine.descriptor.ClassExtensionContextb85422abe06bbadd
org.junit.jupiter.engine.descriptor.ClassTestDescriptor61a635a4acc3ee31
org.junit.jupiter.engine.descriptor.JupiterEngineDescriptord025635c09450d0d
org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext7ae853fe3a80d83c
org.junit.jupiter.engine.descriptor.JupiterTestDescriptor606e5ec97816bda5
org.junit.jupiter.engine.descriptor.LifecycleMethodUtils19c9fba5accef0fa
org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor65654838f58d8b44
org.junit.jupiter.engine.descriptor.MethodExtensionContextc098f6d0bb344d56
org.junit.jupiter.engine.descriptor.TestInstanceLifecycleUtilsc42bb138e6a06252
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor54eb6a19bd953962
org.junit.jupiter.engine.discovery.AbstractMethodResolver3934f16bf877b9f5
org.junit.jupiter.engine.discovery.DiscoverySelectorResolvera858789f976fefbc
org.junit.jupiter.engine.discovery.JavaElementsResolver32e9ea682e77049d
org.junit.jupiter.engine.discovery.MethodFinder5ea468d2eb528361
org.junit.jupiter.engine.discovery.NestedTestsResolver9d92451ae793af41
org.junit.jupiter.engine.discovery.TestContainerResolver7db010f5e9c7301d
org.junit.jupiter.engine.discovery.TestFactoryMethodResolver59fd27320e375440
org.junit.jupiter.engine.discovery.TestMethodResolver1417c6356fa4b27f
org.junit.jupiter.engine.discovery.TestTemplateMethodResolver47563eb55cd35171
org.junit.jupiter.engine.discovery.predicates.IsInnerClassf7d9846d00228720
org.junit.jupiter.engine.discovery.predicates.IsNestedTestClasse47ff7cd33073803
org.junit.jupiter.engine.discovery.predicates.IsPotentialTestContainer0f8df015b2d5841a
org.junit.jupiter.engine.discovery.predicates.IsScannableTestClass839db992754219f6
org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests5ab134cc6ef3a81f
org.junit.jupiter.engine.discovery.predicates.IsTestFactoryMethoda2c68978bd6bfbc6
org.junit.jupiter.engine.discovery.predicates.IsTestMethod8b244977e441886e
org.junit.jupiter.engine.discovery.predicates.IsTestTemplateMethod0baf1066bf0cbad7
org.junit.jupiter.engine.discovery.predicates.IsTestableMethod59a0b58a40803fe2
org.junit.jupiter.engine.execution.ConditionEvaluatorfba35d945644501d
org.junit.jupiter.engine.execution.ExecutableInvokerd64b9ef7a154ea95
org.junit.jupiter.engine.execution.ExtensionValuesStore2517eb7835ca6234
org.junit.jupiter.engine.execution.JupiterEngineExecutionContext65be276e3a954a94
org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builderdd69537274ccbffc
org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.State38616672a2502408
org.junit.jupiter.engine.execution.ThrowableCollector92102b13561afdcf
org.junit.jupiter.engine.extension.DisabledConditiona967493a244329fa
org.junit.jupiter.engine.extension.ExtensionRegistry20b847fc63fd255b
org.junit.jupiter.engine.extension.RepeatedTestExtension1b7914cc8cf83732
org.junit.jupiter.engine.extension.TestInfoParameterResolver1b5b370a56807cae
org.junit.jupiter.engine.extension.TestReporterParameterResolver839c7c31b3ec6390
org.junit.platform.commons.logging.LoggerFactoryca4e1a8773fb9bed
org.junit.platform.commons.logging.LoggerFactory.DelegatingLoggerfd74fe2bb4edddd0
org.junit.platform.commons.util.AnnotationUtils32499b01efc144e8
org.junit.platform.commons.util.AnnotationUtils.AnnotationCacheKeyf04082259bc4a6ab
org.junit.platform.commons.util.ClassLoaderUtilsebded5f4ecebd9d8
org.junit.platform.commons.util.ClassUtils4982a89773933a90
org.junit.platform.commons.util.ClasspathScanner8425ab535628f6b9
org.junit.platform.commons.util.CollectionUtils59532d0e14166bc8
org.junit.platform.commons.util.Preconditionsf9207dc44e9d043d
org.junit.platform.commons.util.ReflectionUtils4d39f1033ae8eb12
org.junit.platform.commons.util.ReflectionUtils.HierarchyTraversalModeb267f8ac562d551e
org.junit.platform.commons.util.StringUtils3441f99393e2406b
org.junit.platform.engine.CompositeFilterd9d6482243cc9fa3
org.junit.platform.engine.CompositeFilter.175dffc26c0811b9d
org.junit.platform.engine.ExecutionRequested3835cc21e5a048
org.junit.platform.engine.Filterf932423ccd3b54bf
org.junit.platform.engine.FilterResultbf731bc7f64ce694
org.junit.platform.engine.TestDescriptore9574ca206cded64
org.junit.platform.engine.TestDescriptor.Typeeb97fc5a29f3ee3a
org.junit.platform.engine.TestExecutionResultabbab174d32db912
org.junit.platform.engine.TestExecutionResult.Statusda0473a55d05e891
org.junit.platform.engine.UniqueIdd23a178963e86ca7
org.junit.platform.engine.UniqueId.Segment54a2765f04c8cab7
org.junit.platform.engine.UniqueIdFormatc860ade4b928ce32
org.junit.platform.engine.discovery.ClassSelector228aa96d72021db2
org.junit.platform.engine.discovery.DiscoverySelectors8fefc6f1651cc3bd
org.junit.platform.engine.support.descriptor.AbstractTestDescriptor2bfbf25c43491443
org.junit.platform.engine.support.descriptor.ClassSource9727c5551a632c40
org.junit.platform.engine.support.descriptor.EngineDescriptorb7dbf6dfb794516c
org.junit.platform.engine.support.descriptor.MethodSource0a1b0f0f95f17b77
org.junit.platform.engine.support.filter.ClasspathScanningSupport8223a02c2b9d8c89
org.junit.platform.engine.support.hierarchical.ExecutionTrackercbd37bfd76595d62
org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine410766a2a07e44b1
org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor7b43a475463d740e
org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.1197b854565198af0
org.junit.platform.engine.support.hierarchical.Node8a5379bd364a5bf6
org.junit.platform.engine.support.hierarchical.Node.SkipResultd4551dfb7a813206
org.junit.platform.engine.support.hierarchical.SingleTestExecutord75bd01628eef7be
org.junit.platform.launcher.TestIdentifier225bb434f8f223e2
org.junit.platform.launcher.TestPlan9a2b71b572924cbc
org.junit.platform.launcher.core.DefaultDiscoveryRequest7dda3ad9a0e6a666
org.junit.platform.launcher.core.DefaultLauncher1a1f88af87dc6ec1
org.junit.platform.launcher.core.ExecutionListenerAdapter52cf3c3c69d4dfba
org.junit.platform.launcher.core.LauncherConfigurationParametersef55cacb5e47a902
org.junit.platform.launcher.core.LauncherDiscoveryRequestBuildere78a71b91c159e69
org.junit.platform.launcher.core.LauncherFactorye2bd67b8a72737b5
org.junit.platform.launcher.core.Root32394ca895f9fb9a
org.junit.platform.launcher.core.ServiceLoaderTestEngineRegistry7c054c4cf76cb0f6
org.junit.platform.launcher.core.ServiceLoaderTestExecutionListenerRegistry2299bac1075a6bf3
org.junit.platform.launcher.core.TestExecutionListenerRegistry190f4fb2b0ab865d
org.junit.platform.launcher.core.TestExecutionListenerRegistry.CompositeTestExecutionListener7538d2d860e1f9cb
org.junit.platform.launcher.listeners.LegacyReportingUtilsf3c021e100a54063
sun.nio.cs.ext.AbstractCharsetProvider9a72c9e39fdac365
sun.nio.cs.ext.Big57f7799a4239d3d01
sun.nio.cs.ext.EUC_CNdaed57327edf3023
sun.nio.cs.ext.EUC_JPf0c718c92ac0cabc
sun.nio.cs.ext.EUC_KR3d50c0e84dcd54e6
sun.nio.cs.ext.EUC_TW4fbeba8ab3b0661e
sun.nio.cs.ext.ExtendedCharsets7715d4380ab405a8
sun.nio.cs.ext.IBM037b9b8c9ec2e056149
sun.nio.cs.ext.IBM1047e368b4c70681ed2e
sun.nio.cs.ext.IBM2777b5b55809ca60de9
sun.nio.cs.ext.IBM278326393dad6851723
sun.nio.cs.ext.IBM2809d9334ffd18e4e40
sun.nio.cs.ext.IBM28401c4a83f23f1b53d
sun.nio.cs.ext.IBM285be059d13431c468f
sun.nio.cs.ext.IBM29709fd5ed2f7ce33cb
sun.nio.cs.ext.IBM420dfa9e617bd0f689b
sun.nio.cs.ext.IBM424edd26be1d2ed5a00
sun.nio.cs.ext.IBM50058b3c90789d546a5
sun.nio.cs.ext.IBM8604bc938afb837212f
sun.nio.cs.ext.IBM870ad9dcff6cd8f8661
sun.nio.cs.ext.IBM871ef144f207fc359f5
sun.nio.cs.ext.IBM918a83d0db73f26c654
sun.nio.cs.ext.ISO202292bf931cea04ba69
sun.nio.cs.ext.ISO2022_JP4839eaacbb85c150
sun.nio.cs.ext.ISO2022_KRe2e5b9cbb3d44823
sun.nio.cs.ext.ISO_8859_11cb3ce4182f6717e0
sun.nio.cs.ext.ISO_8859_3550e89cba9076937
sun.nio.cs.ext.ISO_8859_67e467e744bd3ad13
sun.nio.cs.ext.ISO_8859_8bb93af1e031c8697
sun.nio.cs.ext.MacRoman7007321b9dd9c10d
sun.text.resources.cldr.ext.FormatData_frcfe4ef8ff7428512
sun.util.resources.cldr.provider.CLDRLocaleDataMetaInfo888d0e6a76acb845
sun.util.resources.provider.LocaleDataProvider36ca29d59ab35e5c
\ No newline at end of file diff --git a/target/site/jacoco/jacoco.csv b/target/site/jacoco/jacoco.csv index 558423a..9effb4f 100644 --- a/target/site/jacoco/jacoco.csv +++ b/target/site/jacoco/jacoco.csv @@ -5,14 +5,14 @@ spoteezer,musichub.util,XMLHandler,6,66,0,0,4,21,0,4,0,4 spoteezer,musichub.business,Album,330,0,14,0,84,0,16,0,9,0 spoteezer,musichub.business,SortByAuthor,9,0,0,0,2,0,2,0,2,0 spoteezer,musichub.business,NoAlbumFoundException,4,0,0,0,2,0,1,0,1,0 -spoteezer,musichub.business,Language,49,0,0,0,6,0,3,0,3,0 +spoteezer,musichub.business,Language,3,46,0,0,1,5,1,2,1,2 spoteezer,musichub.business,SortByDate,9,0,0,0,2,0,2,0,2,0 spoteezer,musichub.business,MusicHub,803,0,114,0,195,0,79,0,22,0 -spoteezer,musichub.business,Category,49,0,0,0,6,0,3,0,3,0 +spoteezer,musichub.business,Category,3,46,0,0,1,5,1,2,1,2 spoteezer,musichub.business,Song,0,105,0,6,0,26,0,12,0,7 spoteezer,musichub.business,NoPlayListFoundException,4,0,0,0,2,0,1,0,1,0 spoteezer,musichub.business,PlayList,32,170,5,9,9,44,5,9,0,7 -spoteezer,musichub.business,AudioBook,164,0,10,0,39,0,17,0,9,0 +spoteezer,musichub.business,AudioBook,117,47,8,2,27,12,12,5,4,5 spoteezer,musichub.business,SortByGenre,9,0,0,0,2,0,2,0,2,0 spoteezer,musichub.business,NoElementFoundException,4,0,0,0,2,0,1,0,1,0 spoteezer,musichub.business,Genre,0,56,0,0,0,6,0,3,0,3 diff --git a/target/site/jacoco/jacoco.xml b/target/site/jacoco/jacoco.xml index 1118bc5..2e1332b 100644 --- a/target/site/jacoco/jacoco.xml +++ b/target/site/jacoco/jacoco.xml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/target/site/jacoco/musichub.business/AudioBook.html b/target/site/jacoco/musichub.business/AudioBook.html index aec1e56..78809c1 100644 --- a/target/site/jacoco/musichub.business/AudioBook.html +++ b/target/site/jacoco/musichub.business/AudioBook.html @@ -1 +1 @@ -AudioBook

AudioBook

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total164 of 1640 %10 of 100 %1717393999
createXMLElement(Document, Element)450 %n/a11101011
setLanguage(String)290 %50 %557711
setCategory(String)290 %50 %557711
AudioBook(Element)200 %n/a114411
AudioBook(String, String, int, String, String, String, String)140 %n/a114411
AudioBook(String, String, int, String, String, String)130 %n/a114411
toString()80 %n/a111111
getLanguage()30 %n/a111111
getCategory()30 %n/a111111
\ No newline at end of file +AudioBook

AudioBook

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total117 of 16428 %8 of 1020 %1217273949
createXMLElement(Document, Element)450 %n/a11101011
AudioBook(Element)200 %n/a114411
setLanguage(String)151448 %4120 %454701
setCategory(String)151448 %4120 %454701
AudioBook(String, String, int, String, String, String, String)140 %n/a114411
toString()80 %n/a111111
AudioBook(String, String, int, String, String, String)13100 %n/a010401
getLanguage()3100 %n/a010101
getCategory()3100 %n/a010101
\ No newline at end of file diff --git a/target/site/jacoco/musichub.business/AudioBook.java.html b/target/site/jacoco/musichub.business/AudioBook.java.html index 33a7924..d8fc192 100644 --- a/target/site/jacoco/musichub.business/AudioBook.java.html +++ b/target/site/jacoco/musichub.business/AudioBook.java.html @@ -14,10 +14,10 @@ public class AudioBook extends AudioElement { } public AudioBook(String title, String artist, int lengthInSeconds, String content, String language, String category) { - super(title, artist, lengthInSeconds, content); - this.setLanguage(language); - this.setCategory(category); - } + super(title, artist, lengthInSeconds, content); + this.setLanguage(language); + this.setCategory(category); + } public AudioBook(Element xmlElement) { super(xmlElement); @@ -26,32 +26,32 @@ public class AudioBook extends AudioElement { } public Language getLanguage() { - return this.language; + return this.language; } public void setLanguage(String language) { - switch (language.toLowerCase()) { + switch (language.toLowerCase()) { default -> this.language = Language.ENGLISH; - case "french" -> this.language = Language.FRENCH; + case "french" -> this.language = Language.FRENCH; case "german" -> this.language = Language.GERMAN; case "spanish" -> this.language = Language.SPANISH; case "italian" -> this.language = Language.ITALIAN; } - } + } public Category getCategory() { - return this.category; + return this.category; } public void setCategory(String category) { - switch (category.toLowerCase()) { + switch (category.toLowerCase()) { default -> this.category = Category.YOUTH; - case "novel" -> this.category = Category.NOVEL; + case "novel" -> this.category = Category.NOVEL; case "theater" -> this.category = Category.THEATER; case "documentary" -> this.category = Category.DOCUMENTARY; case "speech" -> this.category = Category.SPEECH; } - } + } public String toString() { diff --git a/target/site/jacoco/musichub.business/Category.html b/target/site/jacoco/musichub.business/Category.html index d7e4df0..690ad21 100644 --- a/target/site/jacoco/musichub.business/Category.html +++ b/target/site/jacoco/musichub.business/Category.html @@ -1 +1 @@ -Category

Category

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total49 of 490 %0 of 0n/a336633
static {...}380 %n/a112211
Category(String, int, String)80 %n/a113311
getCategory()30 %n/a111111
\ No newline at end of file +Category

Category

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total3 of 4993 %0 of 0n/a131613
getCategory()30 %n/a111111
static {...}38100 %n/a010201
Category(String, int, String)8100 %n/a010301
\ No newline at end of file diff --git a/target/site/jacoco/musichub.business/Category.java.html b/target/site/jacoco/musichub.business/Category.java.html index cdef51f..1d815b6 100644 --- a/target/site/jacoco/musichub.business/Category.java.html +++ b/target/site/jacoco/musichub.business/Category.java.html @@ -1,12 +1,12 @@ Category.java

Category.java

package musichub.business;
 
-public enum Category {
-    YOUTH("youth"), NOVEL("novel"), THEATER("theater"), DOCUMENTARY("documentary"), SPEECH("speech");
+public enum Category {
+    YOUTH("youth"), NOVEL("novel"), THEATER("theater"), DOCUMENTARY("documentary"), SPEECH("speech");
     private final String category;
 
-    Category(String category) {
-        this.category = category;
-    }
+    Category(String category) {
+        this.category = category;
+    }
 
     public String getCategory() {
         return category;
diff --git a/target/site/jacoco/musichub.business/Language.html b/target/site/jacoco/musichub.business/Language.html
index 604af85..72d4236 100644
--- a/target/site/jacoco/musichub.business/Language.html
+++ b/target/site/jacoco/musichub.business/Language.html
@@ -1 +1 @@
-Language

Language

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total49 of 490 %0 of 0n/a336633
static {...}380 %n/a112211
Language(String, int, String)80 %n/a113311
getLanguage()30 %n/a111111
\ No newline at end of file +Language

Language

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total3 of 4993 %0 of 0n/a131613
getLanguage()30 %n/a111111
static {...}38100 %n/a010201
Language(String, int, String)8100 %n/a010301
\ No newline at end of file diff --git a/target/site/jacoco/musichub.business/Language.java.html b/target/site/jacoco/musichub.business/Language.java.html index f974811..4c55c9d 100644 --- a/target/site/jacoco/musichub.business/Language.java.html +++ b/target/site/jacoco/musichub.business/Language.java.html @@ -1,12 +1,12 @@ Language.java

Language.java

package musichub.business;
 
-public enum Language {
-    FRENCH("french"), ENGLISH("english"), ITALIAN("italian"), SPANISH("spanish"), GERMAN("german");
+public enum Language {
+    FRENCH("french"), ENGLISH("english"), ITALIAN("italian"), SPANISH("spanish"), GERMAN("german");
     private final String language;
 
-    Language(String language) {
-        this.language = language;
-    }
+    Language(String language) {
+        this.language = language;
+    }
 
     public String getLanguage() {
         return language;
diff --git a/target/site/jacoco/musichub.business/MusicHub.java.html b/target/site/jacoco/musichub.business/MusicHub.java.html
index b9dfd09..d150675 100644
--- a/target/site/jacoco/musichub.business/MusicHub.java.html
+++ b/target/site/jacoco/musichub.business/MusicHub.java.html
@@ -339,5 +339,26 @@ public class MusicHub {
         }
 
     }
+
+    public void searchAudioElement() throws UnsupportedAudioFileException, NoAlbumFoundException, LineUnavailableException, IOException {
+        Scanner scanner = new Scanner(System.in);
+        System.out.println("Entrez le titre ou l'artiste de la musique que vous souhaitez chercher dans la base de données");
+        String word = scanner.next().toLowerCase(Locale.ROOT);
+        List<AudioElement> searchResult = new ArrayList<>();
+        for(AudioElement el : elements){
+            if(el.getTitle().toLowerCase(Locale.ROOT).contains(word) || el.getArtist().toLowerCase(Locale.ROOT).contains(word)){
+                searchResult.add(el);
+                System.out.println(el);
+            }
+        }
+
+        if(searchResult.isEmpty()){
+            System.err.println("Aucun résultat pour votre recherche");
+        }
+        if (searchResult.size()==1){
+            this.getAudioElement(searchResult, searchResult.get(0).getTitle());
+        }
+    }
+
 }
 
\ No newline at end of file diff --git a/target/site/jacoco/musichub.business/index.html b/target/site/jacoco/musichub.business/index.html index 3178b04..359d516 100644 --- a/target/site/jacoco/musichub.business/index.html +++ b/target/site/jacoco/musichub.business/index.html @@ -1 +1 @@ -musichub.business

musichub.business

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
Total1 551 of 2 06324 %152 of 16910 %14317238149959811115
MusicHub8030 %1140 %7979195195222211
Album3300 %140 %161684849911
AudioBook1640 %100 %171739399911
AudioElement8518168 %9218 %111630724901
Language490 %n/a33663311
Category490 %n/a33663311
PlayList3217084 %5964 %5149530701
SortByAuthor90 %n/a22222211
SortByDate90 %n/a22222211
SortByGenre90 %n/a22222211
NoAlbumFoundException0 %n/a11221111
NoPlayListFoundException0 %n/a11221111
NoElementFoundException0 %n/a11221111
Song105100 %6100 %0120260701
Genre56100 %n/a03060301
\ No newline at end of file +musichub.business

musichub.business

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
Total1 412 of 2 06331 %150 of 16911 %1341723594995081815
MusicHub8030 %1140 %7979195195222211
Album3300 %140 %161684849911
AudioBook1174728 %8220 %121727394901
AudioElement8518168 %9218 %111630724901
PlayList3217084 %5964 %5149530701
SortByAuthor90 %n/a22222211
SortByDate90 %n/a22222211
SortByGenre90 %n/a22222211
NoAlbumFoundException0 %n/a11221111
NoPlayListFoundException0 %n/a11221111
NoElementFoundException0 %n/a11221111
Language4693 %n/a13161301
Category4693 %n/a13161301
Song105100 %6100 %0120260701
Genre56100 %n/a03060301
\ No newline at end of file diff --git a/target/site/jacoco/musichub.business/index.source.html b/target/site/jacoco/musichub.business/index.source.html index 967ff25..21f0bb6 100644 --- a/target/site/jacoco/musichub.business/index.source.html +++ b/target/site/jacoco/musichub.business/index.source.html @@ -1 +1 @@ -musichub.business

musichub.business

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
Total1 551 of 2 06324 %152 of 16910 %14317238149959811115
MusicHub.java8300 %1140 %8585201201282844
Album.java3300 %140 %161684849911
AudioBook.java1640 %100 %171739399911
AudioElement.java8518168 %9218 %111630724901
Language.java490 %n/a33663311
Category.java490 %n/a33663311
PlayList.java3217084 %5964 %5149530701
NoAlbumFoundException.java0 %n/a11221111
NoPlayListFoundException.java0 %n/a11221111
NoElementFoundException.java0 %n/a11221111
Song.java105100 %6100 %0120260701
Genre.java56100 %n/a03060301
\ No newline at end of file +musichub.business

musichub.business

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
Total1 412 of 2 06331 %150 of 16911 %1341723594995081815
MusicHub.java8300 %1140 %8585201201282844
Album.java3300 %140 %161684849911
AudioBook.java1174728 %8220 %121727394901
AudioElement.java8518168 %9218 %111630724901
PlayList.java3217084 %5964 %5149530701
NoAlbumFoundException.java0 %n/a11221111
NoPlayListFoundException.java0 %n/a11221111
NoElementFoundException.java0 %n/a11221111
Language.java4693 %n/a13161301
Category.java4693 %n/a13161301
Song.java105100 %6100 %0120260701
Genre.java56100 %n/a03060301
\ No newline at end of file diff --git a/target/site/jacoco/musichub.main/Main.java.html b/target/site/jacoco/musichub.main/Main.java.html index d86f303..bee2491 100644 --- a/target/site/jacoco/musichub.main/Main.java.html +++ b/target/site/jacoco/musichub.main/Main.java.html @@ -13,264 +13,271 @@ import java.util.Scanner; import static musichub.util.PathValidation.isPathValid; public class Main { - public static void main(String[] args) throws UnsupportedAudioFileException, IOException, LineUnavailableException { + public static void main(String[] args) throws UnsupportedAudioFileException, IOException, LineUnavailableException, NoAlbumFoundException { - MusicHub theHub = new MusicHub(); + + MusicHub theHub = new MusicHub(); + + System.out.println("Type h for available commands"); - System.out.println("Type h for available commands"); - - - Scanner scan = new Scanner(System.in); - String choice = scan.nextLine(); + + Scanner scan = new Scanner(System.in); + String choice = scan.nextLine(); String albumTitle; - - if (choice.length() == 0) System.exit(0); - - while (!choice.equals("")) { //if the user puts nothing, quit the loop/system - switch (choice.charAt(0)) { - case 'q': //added the option directly in the switch instead of the loop - System.exit(0); - case 'h': - printAvailableCommands(); - choice = scan.nextLine(); - break; + + if (choice.length() == 0) System.exit(0); + + while (!choice.equals("")) { //if the user puts nothing, quit the loop/system + switch (choice.charAt(0)) { + case 'q': //added the option directly in the switch instead of the loop + System.exit(0); + case 'h': + printAvailableCommands(); + choice = scan.nextLine(); + break; case 't': - //album titles, ordered by date - System.out.println(theHub.getAlbumsTitlesSortedByDate()); - printAvailableCommands(); - choice = scan.nextLine(); - break; + //album titles, ordered by date + System.out.println(theHub.getAlbumsTitlesSortedByDate()); + printAvailableCommands(); + choice = scan.nextLine(); + break; case 'g': - //songs of an album, sorted by genre - System.out.println("Songs of an album sorted by genre will be displayed; enter the album name, available albums are:"); - System.out.println(theHub.getAlbumsTitlesSortedByDate()); - - albumTitle = scan.nextLine(); - try { - List<Song> songs = theHub.getAlbumSongsSortedByGenre(albumTitle); - System.out.println(songs); - } catch (NoAlbumFoundException ex) { - System.out.println("No album found with the requested title " + ex.getMessage()); - } - printAvailableCommands(); - choice = scan.nextLine(); - break; + //songs of an album, sorted by genre + System.out.println("Songs of an album sorted by genre will be displayed; enter the album name, available albums are:"); + System.out.println(theHub.getAlbumsTitlesSortedByDate()); + + albumTitle = scan.nextLine(); + try { + List<Song> songs = theHub.getAlbumSongsSortedByGenre(albumTitle); + System.out.println(songs); + } catch (NoAlbumFoundException ex) { + System.out.println("No album found with the requested title " + ex.getMessage()); + } + printAvailableCommands(); + choice = scan.nextLine(); + break; case 'd': - //songs of an album - System.out.println("Songs of an album will be displayed; enter the album name, available albums are:"); - System.out.println(theHub.getAlbumsTitlesSortedByDate()); - - albumTitle = scan.nextLine(); - try { - List<AudioElement> songs = theHub.getAlbumSongs(albumTitle); - System.out.println(theHub.getAlbumSongs(albumTitle)); - String song = scan.nextLine(); - theHub.getAudioElement(songs, song); - } catch (NoAlbumFoundException ex) { - System.out.println("No album found with the requested title " + ex.getMessage()); - } - printAvailableCommands(); - choice = scan.nextLine(); - break; + //songs of an album + System.out.println("Songs of an album will be displayed; enter the album name, available albums are:"); + System.out.println(theHub.getAlbumsTitlesSortedByDate()); + + albumTitle = scan.nextLine(); + try { + List<AudioElement> songs = theHub.getAlbumSongs(albumTitle); + System.out.println(theHub.getAlbumSongs(albumTitle)); + String song = scan.nextLine(); + theHub.getAudioElement(songs, song); + } catch (NoAlbumFoundException ex) { + System.out.println("No album found with the requested title " + ex.getMessage()); + } + printAvailableCommands(); + choice = scan.nextLine(); + break; case 'u': - //audiobooks ordered by author - System.out.println(theHub.getAudiobooksTitlesSortedByAuthor()); - printAvailableCommands(); - choice = scan.nextLine(); - break; + //audiobooks ordered by author + System.out.println(theHub.getAudiobooksTitlesSortedByAuthor()); + printAvailableCommands(); + choice = scan.nextLine(); + break; case 'c': - // add a new song - System.out.println("Enter a new song: "); - System.out.println("Song title: "); - String title = scan.nextLine(); - System.out.println("Song genre (jazz, classic, hiphop, rock, pop, rap):"); - String genre = scan.nextLine(); - System.out.println("Song artist: "); - String artist = scan.nextLine(); - System.out.println("Song length in seconds: "); - int length = Integer.parseInt(scan.nextLine()); - - System.out.println("Song content: "); - String content = scan.nextLine(); - if (!isPathValid(content)) { - String logMsg = "The music file was not found with the path you've provided or the extension is not .wav"; - LogHandler.write(logMsg, "WARNING"); //write a line in the log file - System.out.println(logMsg + "\nType h for available commands"); - choice = scan.nextLine(); - break; + // add a new song + System.out.println("Enter a new song: "); + System.out.println("Song title: "); + String title = scan.nextLine(); + System.out.println("Song genre (jazz, classic, hiphop, rock, pop, rap):"); + String genre = scan.nextLine(); + System.out.println("Song artist: "); + String artist = scan.nextLine(); + System.out.println("Song length in seconds: "); + int length = Integer.parseInt(scan.nextLine()); + + System.out.println("Song content: "); + String content = scan.nextLine(); + if (!isPathValid(content)) { + String logMsg = "The music file was not found with the path you've provided or the extension is not .wav"; + LogHandler.write(logMsg, "WARNING"); //write a line in the log file + System.out.println(logMsg + "\nType h for available commands"); + choice = scan.nextLine(); + break; } - - Song s = new Song(title, artist, length, content, genre); - theHub.addElement(s); - System.out.println("New element list: "); - Iterator<AudioElement> it = theHub.elements(); - while (it.hasNext()) System.out.println(it.next().getTitle()); - System.out.println("Song created!"); - printAvailableCommands(); - choice = scan.nextLine(); - break; + + Song s = new Song(title, artist, length, content, genre); + theHub.addElement(s); + System.out.println("New element list: "); + Iterator<AudioElement> it = theHub.elements(); + while (it.hasNext()) System.out.println(it.next().getTitle()); + System.out.println("Song created!"); + printAvailableCommands(); + choice = scan.nextLine(); + break; case 'a': - // add a new album - System.out.println("Enter a new album: "); - System.out.println("Album title: "); - String aTitle = scan.nextLine(); - System.out.println("Album artist: "); - String aArtist = scan.nextLine(); - System.out.println("Album length in seconds: "); - int aLength = Integer.parseInt(scan.nextLine()); - System.out.println("Album date as YYYY-DD-MM: "); - String aDate = scan.nextLine(); - Album a = new Album(aTitle, aArtist, aLength, aDate); - theHub.addAlbum(a); - System.out.println("New list of albums: "); - Iterator<Album> ita = theHub.albums(); - while (ita.hasNext()) System.out.println(ita.next().getTitle()); - System.out.println("Album created!"); - printAvailableCommands(); - choice = scan.nextLine(); - break; + // add a new album + System.out.println("Enter a new album: "); + System.out.println("Album title: "); + String aTitle = scan.nextLine(); + System.out.println("Album artist: "); + String aArtist = scan.nextLine(); + System.out.println("Album length in seconds: "); + int aLength = Integer.parseInt(scan.nextLine()); + System.out.println("Album date as YYYY-DD-MM: "); + String aDate = scan.nextLine(); + Album a = new Album(aTitle, aArtist, aLength, aDate); + theHub.addAlbum(a); + System.out.println("New list of albums: "); + Iterator<Album> ita = theHub.albums(); + while (ita.hasNext()) System.out.println(ita.next().getTitle()); + System.out.println("Album created!"); + printAvailableCommands(); + choice = scan.nextLine(); + break; case '+': - //add a song to an album: - System.out.println("Add an existing song to an existing album"); - System.out.println("Type the name of the song you wish to add. Available songs: "); - Iterator<AudioElement> itae = theHub.elements(); - while (itae.hasNext()) { - AudioElement ae = itae.next(); - if (ae instanceof Song) System.out.println(ae.getTitle()); - } - String songTitle = scan.nextLine(); - - System.out.println("Type the name of the album you wish to enrich. Available albums: "); - Iterator<Album> ait = theHub.albums(); - while (ait.hasNext()) { - Album al = ait.next(); - System.out.println(al.getTitle()); - } - String titleAlbum = scan.nextLine(); - try { - theHub.addElementToAlbum(songTitle, titleAlbum); - } catch (NoAlbumFoundException | NoElementFoundException ex) { - System.out.println(ex.getMessage()); - } - System.out.println("Song added to the album!"); - printAvailableCommands(); - choice = scan.nextLine(); - break; + //add a song to an album: + System.out.println("Add an existing song to an existing album"); + System.out.println("Type the name of the song you wish to add. Available songs: "); + Iterator<AudioElement> itae = theHub.elements(); + while (itae.hasNext()) { + AudioElement ae = itae.next(); + if (ae instanceof Song) System.out.println(ae.getTitle()); + } + String songTitle = scan.nextLine(); + + System.out.println("Type the name of the album you wish to enrich. Available albums: "); + Iterator<Album> ait = theHub.albums(); + while (ait.hasNext()) { + Album al = ait.next(); + System.out.println(al.getTitle()); + } + String titleAlbum = scan.nextLine(); + try { + theHub.addElementToAlbum(songTitle, titleAlbum); + } catch (NoAlbumFoundException | NoElementFoundException ex) { + System.out.println(ex.getMessage()); + } + System.out.println("Song added to the album!"); + printAvailableCommands(); + choice = scan.nextLine(); + break; case 'l': - // add a new audiobook - System.out.println("Enter a new audiobook: "); - System.out.println("AudioBook title: "); - String bTitle = scan.nextLine(); - System.out.println("AudioBook category (youth, novel, theater, documentary, speech)"); - String bCategory = scan.nextLine(); - System.out.println("AudioBook artist: "); - String bArtist = scan.nextLine(); - System.out.println("AudioBook length in seconds: "); - int bLength = Integer.parseInt(scan.nextLine()); - System.out.println("AudioBook content: "); - String bContent = scan.nextLine(); - System.out.println("AudioBook language (french, english, italian, spanish, german)"); - String bLanguage = scan.nextLine(); - AudioBook b = new AudioBook(bTitle, bArtist, bLength, bContent, bLanguage, bCategory); - theHub.addElement(b); - System.out.println("Audiobook created! New element list: "); - Iterator<AudioElement> itl = theHub.elements(); - while (itl.hasNext()) System.out.println(itl.next().getTitle()); - printAvailableCommands(); - choice = scan.nextLine(); - break; + // add a new audiobook + System.out.println("Enter a new audiobook: "); + System.out.println("AudioBook title: "); + String bTitle = scan.nextLine(); + System.out.println("AudioBook category (youth, novel, theater, documentary, speech)"); + String bCategory = scan.nextLine(); + System.out.println("AudioBook artist: "); + String bArtist = scan.nextLine(); + System.out.println("AudioBook length in seconds: "); + int bLength = Integer.parseInt(scan.nextLine()); + System.out.println("AudioBook content: "); + String bContent = scan.nextLine(); + System.out.println("AudioBook language (french, english, italian, spanish, german)"); + String bLanguage = scan.nextLine(); + AudioBook b = new AudioBook(bTitle, bArtist, bLength, bContent, bLanguage, bCategory); + theHub.addElement(b); + System.out.println("Audiobook created! New element list: "); + Iterator<AudioElement> itl = theHub.elements(); + while (itl.hasNext()) System.out.println(itl.next().getTitle()); + printAvailableCommands(); + choice = scan.nextLine(); + break; case 'p': - //create a new playlist from existing elements - System.out.println("Add an existing song or audiobook to a new playlist"); - System.out.println("Existing playlists:"); - Iterator<PlayList> itpl = theHub.playlists(); - while (itpl.hasNext()) { - PlayList pl = itpl.next(); - System.out.println(pl.getTitle()); - } - System.out.println("Type the name of the playlist you wish to create:"); - String playListTitle = scan.nextLine(); - PlayList pl = new PlayList(playListTitle); - theHub.addPlaylist(pl); - System.out.println("Available elements: "); - - Iterator<AudioElement> itael = theHub.elements(); - while (itael.hasNext()) { - AudioElement ae = itael.next(); - System.out.println(ae.getTitle()); - } - while (choice.charAt(0) != 'n') { - System.out.println("Type the name of the audio element you wish to add or 'n' to exit:"); - String elementTitle = scan.nextLine(); - try { - theHub.addElementToPlayList(elementTitle, playListTitle); - } catch (NoPlayListFoundException | NoElementFoundException ex) { - System.out.println(ex.getMessage()); - } - - System.out.println("Type y to add a new one, n to end"); - choice = scan.nextLine(); - } - System.out.println("Playlist created!"); - printAvailableCommands(); - choice = scan.nextLine(); - break; + //create a new playlist from existing elements + System.out.println("Add an existing song or audiobook to a new playlist"); + System.out.println("Existing playlists:"); + Iterator<PlayList> itpl = theHub.playlists(); + while (itpl.hasNext()) { + PlayList pl = itpl.next(); + System.out.println(pl.getTitle()); + } + System.out.println("Type the name of the playlist you wish to create:"); + String playListTitle = scan.nextLine(); + PlayList pl = new PlayList(playListTitle); + theHub.addPlaylist(pl); + System.out.println("Available elements: "); + + Iterator<AudioElement> itael = theHub.elements(); + while (itael.hasNext()) { + AudioElement ae = itael.next(); + System.out.println(ae.getTitle()); + } + while (choice.charAt(0) != 'n') { + System.out.println("Type the name of the audio element you wish to add or 'n' to exit:"); + String elementTitle = scan.nextLine(); + try { + theHub.addElementToPlayList(elementTitle, playListTitle); + } catch (NoPlayListFoundException | NoElementFoundException ex) { + System.out.println(ex.getMessage()); + } + + System.out.println("Type y to add a new one, n to end"); + choice = scan.nextLine(); + } + System.out.println("Playlist created!"); + printAvailableCommands(); + choice = scan.nextLine(); + break; case '-': - //delete a playlist - System.out.println("Delete an existing playlist. Available playlists:"); - Iterator<PlayList> itp = theHub.playlists(); - while (itp.hasNext()) { - PlayList p = itp.next(); - System.out.println(p.getTitle()); - } - String plTitle = scan.nextLine(); - try { - theHub.deletePlayList(plTitle); - } catch (NoPlayListFoundException ex) { - System.out.println(ex.getMessage()); - } - System.out.println("Playlist deleted!"); - printAvailableCommands(); - choice = scan.nextLine(); - break; + //delete a playlist + System.out.println("Delete an existing playlist. Available playlists:"); + Iterator<PlayList> itp = theHub.playlists(); + while (itp.hasNext()) { + PlayList p = itp.next(); + System.out.println(p.getTitle()); + } + String plTitle = scan.nextLine(); + try { + theHub.deletePlayList(plTitle); + } catch (NoPlayListFoundException ex) { + System.out.println(ex.getMessage()); + } + System.out.println("Playlist deleted!"); + printAvailableCommands(); + choice = scan.nextLine(); + break; case 's': - //save elements, albums, playlists - theHub.saveElements(); - theHub.saveAlbums(); - theHub.savePlayLists(); - System.out.println("Elements, albums and playlists saved!"); - printAvailableCommands(); - choice = scan.nextLine(); - break; - case 'o': + //save elements, albums, playlists + theHub.saveElements(); + theHub.saveAlbums(); + theHub.savePlayLists(); + System.out.println("Elements, albums and playlists saved!"); + printAvailableCommands(); + choice = scan.nextLine(); + break; + case 'r': + //search a music + theHub.searchAudioElement(); + printAvailableCommands(); + case 'o': //consult the app logs - LogHandler.read(); - System.out.println("Type h for available commands"); - choice = scan.nextLine(); - break; - default: - - break; + LogHandler.read(); + System.out.println("Type h for available commands"); + choice = scan.nextLine(); + break; + default: + + break; } - } - scan.close(); - } + } + scan.close(); + } + + private static void printAvailableCommands() { + System.out.println("t: display the album titles, ordered by date"); + System.out.println("g: display songs of an album, ordered by genre"); + System.out.println("d: display songs of an album"); + System.out.println("u: display audiobooks ordered by author"); + System.out.println("r: search audio elements"); + System.out.println("c: add a new song"); + System.out.println("a: add a new album"); + System.out.println("+: add a song to an album"); + System.out.println("l: add a new audiobook"); + System.out.println("p: create a new playlist from existing songs and audio books"); + System.out.println("-: delete an existing playlist"); + System.out.println("s: save elements, albums, playlists"); + System.out.println("o: consult the app logs"); + System.out.println("q: quit program"); + } - private static void printAvailableCommands() { - System.out.println("t: display the album titles, ordered by date"); - System.out.println("g: display songs of an album, ordered by genre"); - System.out.println("d: display songs of an album"); - System.out.println("u: display audiobooks ordered by author"); - System.out.println("c: add a new song"); - System.out.println("a: add a new album"); - System.out.println("+: add a song to an album"); - System.out.println("l: add a new audiobook"); - System.out.println("p: create a new playlist from existing songs and audio books"); - System.out.println("-: delete an existing playlist"); - System.out.println("s: save elements, albums, playlists"); - System.out.println("o: consult the app logs"); - System.out.println("q: quit program"); - } }
\ No newline at end of file diff --git a/target/site/jacoco/musichub.util/PathValidation.java.html b/target/site/jacoco/musichub.util/PathValidation.java.html index 7518e59..c7a0f92 100644 --- a/target/site/jacoco/musichub.util/PathValidation.java.html +++ b/target/site/jacoco/musichub.util/PathValidation.java.html @@ -32,13 +32,13 @@ public final class PathValidation { */ public static boolean isPathValid(String inputPath) { - boolean isExtensionValid=false; + boolean isExtensionValid = false; int index = inputPath.lastIndexOf('.'); - if(index > 0) { + if (index > 0) { String extension = inputPath.substring(index + 1); - if (extension.equals("wav")){ - isExtensionValid=true; + if (extension.equals("wav")) { + isExtensionValid = true; } } diff --git a/target/spoteezer-0.1.0-shaded.jar b/target/spoteezer-0.1.0-shaded.jar new file mode 100644 index 0000000..eb07fdf Binary files /dev/null and b/target/spoteezer-0.1.0-shaded.jar differ diff --git a/target/spoteezer-0.1.0.jar b/target/spoteezer-0.1.0.jar new file mode 100644 index 0000000..eb07fdf Binary files /dev/null and b/target/spoteezer-0.1.0.jar differ diff --git a/target/surefire-reports/TEST-musichub.business.CategoryTest.xml b/target/surefire-reports/TEST-musichub.business.CategoryTest.xml new file mode 100644 index 0000000..8ce59e6 --- /dev/null +++ b/target/surefire-reports/TEST-musichub.business.CategoryTest.xml @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target/surefire-reports/TEST-musichub.business.LanguageTest.xml b/target/surefire-reports/TEST-musichub.business.LanguageTest.xml index 088ebdd..c41bab0 100644 --- a/target/surefire-reports/TEST-musichub.business.LanguageTest.xml +++ b/target/surefire-reports/TEST-musichub.business.LanguageTest.xml @@ -1,57 +1,58 @@ - + - - - + + + + - - + + + + - - - + + - + - + - - - + + + - - + + + - - - - - + + + + - + - - - - + + + - - + + - + + - - - - + + + diff --git a/target/surefire-reports/TEST-musichub.business.PlayListTest.xml b/target/surefire-reports/TEST-musichub.business.PlayListTest.xml new file mode 100644 index 0000000..3bf4556 --- /dev/null +++ b/target/surefire-reports/TEST-musichub.business.PlayListTest.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target/surefire-reports/TEST-musichub.business.SongTest.xml b/target/surefire-reports/TEST-musichub.business.SongTest.xml new file mode 100644 index 0000000..83aee37 --- /dev/null +++ b/target/surefire-reports/TEST-musichub.business.SongTest.xml @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target/surefire-reports/TEST-musichub.util.LogHandlerTest.xml b/target/surefire-reports/TEST-musichub.util.LogHandlerTest.xml new file mode 100644 index 0000000..754079a --- /dev/null +++ b/target/surefire-reports/TEST-musichub.util.LogHandlerTest.xml @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target/surefire-reports/TEST-musichub.util.PathValidationTest.xml b/target/surefire-reports/TEST-musichub.util.PathValidationTest.xml new file mode 100644 index 0000000..8f4f524 --- /dev/null +++ b/target/surefire-reports/TEST-musichub.util.PathValidationTest.xml @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target/surefire-reports/TEST-musichub.util.XMLHandlerTest.xml b/target/surefire-reports/TEST-musichub.util.XMLHandlerTest.xml new file mode 100644 index 0000000..72a1c5b --- /dev/null +++ b/target/surefire-reports/TEST-musichub.util.XMLHandlerTest.xml @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target/surefire-reports/musichub.business.CategoryTest.txt b/target/surefire-reports/musichub.business.CategoryTest.txt new file mode 100644 index 0000000..b3656ab --- /dev/null +++ b/target/surefire-reports/musichub.business.CategoryTest.txt @@ -0,0 +1,4 @@ +------------------------------------------------------------------------------- +Test set: musichub.business.CategoryTest +------------------------------------------------------------------------------- +Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.048 s - in musichub.business.CategoryTest diff --git a/target/surefire-reports/musichub.business.LanguageTest.txt b/target/surefire-reports/musichub.business.LanguageTest.txt new file mode 100644 index 0000000..7fd1a58 --- /dev/null +++ b/target/surefire-reports/musichub.business.LanguageTest.txt @@ -0,0 +1,4 @@ +------------------------------------------------------------------------------- +Test set: musichub.business.LanguageTest +------------------------------------------------------------------------------- +Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in musichub.business.LanguageTest diff --git a/target/surefire-reports/musichub.business.PlayListTest.txt b/target/surefire-reports/musichub.business.PlayListTest.txt new file mode 100644 index 0000000..7109820 --- /dev/null +++ b/target/surefire-reports/musichub.business.PlayListTest.txt @@ -0,0 +1,4 @@ +------------------------------------------------------------------------------- +Test set: musichub.business.PlayListTest +------------------------------------------------------------------------------- +Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 s - in musichub.business.PlayListTest diff --git a/target/surefire-reports/musichub.business.SongTest.txt b/target/surefire-reports/musichub.business.SongTest.txt new file mode 100644 index 0000000..1b93b96 --- /dev/null +++ b/target/surefire-reports/musichub.business.SongTest.txt @@ -0,0 +1,4 @@ +------------------------------------------------------------------------------- +Test set: musichub.business.SongTest +------------------------------------------------------------------------------- +Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 s - in musichub.business.SongTest diff --git a/target/surefire-reports/musichub.util.LogHandlerTest.txt b/target/surefire-reports/musichub.util.LogHandlerTest.txt new file mode 100644 index 0000000..14d9938 --- /dev/null +++ b/target/surefire-reports/musichub.util.LogHandlerTest.txt @@ -0,0 +1,4 @@ +------------------------------------------------------------------------------- +Test set: musichub.util.LogHandlerTest +------------------------------------------------------------------------------- +Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 s - in musichub.util.LogHandlerTest diff --git a/target/surefire-reports/musichub.util.PathValidationTest.txt b/target/surefire-reports/musichub.util.PathValidationTest.txt new file mode 100644 index 0000000..39ffd40 --- /dev/null +++ b/target/surefire-reports/musichub.util.PathValidationTest.txt @@ -0,0 +1,4 @@ +------------------------------------------------------------------------------- +Test set: musichub.util.PathValidationTest +------------------------------------------------------------------------------- +Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in musichub.util.PathValidationTest diff --git a/target/surefire-reports/musichub.util.XMLHandlerTest.txt b/target/surefire-reports/musichub.util.XMLHandlerTest.txt new file mode 100644 index 0000000..71a2254 --- /dev/null +++ b/target/surefire-reports/musichub.util.XMLHandlerTest.txt @@ -0,0 +1,4 @@ +------------------------------------------------------------------------------- +Test set: musichub.util.XMLHandlerTest +------------------------------------------------------------------------------- +Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.127 s - in musichub.util.XMLHandlerTest diff --git a/target/test-classes/musichub/business/CategoryTest.class b/target/test-classes/musichub/business/CategoryTest.class new file mode 100644 index 0000000..df89247 Binary files /dev/null and b/target/test-classes/musichub/business/CategoryTest.class differ diff --git a/target/test-classes/musichub/business/LanguageTest.class b/target/test-classes/musichub/business/LanguageTest.class new file mode 100644 index 0000000..c340860 Binary files /dev/null and b/target/test-classes/musichub/business/LanguageTest.class differ diff --git a/target/test-classes/musichub/business/PlayListTest.class b/target/test-classes/musichub/business/PlayListTest.class new file mode 100644 index 0000000..8a57bea Binary files /dev/null and b/target/test-classes/musichub/business/PlayListTest.class differ diff --git a/target/test-classes/musichub/business/SongTest.class b/target/test-classes/musichub/business/SongTest.class new file mode 100644 index 0000000..a2c161f Binary files /dev/null and b/target/test-classes/musichub/business/SongTest.class differ diff --git a/target/test-classes/musichub/util/LogHandlerTest.class b/target/test-classes/musichub/util/LogHandlerTest.class new file mode 100644 index 0000000..fc51cb6 Binary files /dev/null and b/target/test-classes/musichub/util/LogHandlerTest.class differ diff --git a/target/test-classes/musichub/util/PathValidationTest.class b/target/test-classes/musichub/util/PathValidationTest.class new file mode 100644 index 0000000..4e4eb83 Binary files /dev/null and b/target/test-classes/musichub/util/PathValidationTest.class differ diff --git a/target/test-classes/musichub/util/XMLHandlerTest.class b/target/test-classes/musichub/util/XMLHandlerTest.class new file mode 100644 index 0000000..f7994d8 Binary files /dev/null and b/target/test-classes/musichub/util/XMLHandlerTest.class differ -- cgit v1.2.3