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. --- target/site/jacoco/index.html | 1 + 1 file changed, 1 insertion(+) create mode 100644 target/site/jacoco/index.html (limited to 'target/site/jacoco/index.html') diff --git a/target/site/jacoco/index.html b/target/site/jacoco/index.html new file mode 100644 index 0000000..f0faf92 --- /dev/null +++ b/target/site/jacoco/index.html @@ -0,0 +1 @@ +spoteezer

spoteezer

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
Total2 723 of 2 7400 %209 of 2090 %20520772372788901718
musichub.business2 0630 %1690 %17217449950381831516
musichub.main5880 %400 %29291991993311
musichub.util720 %n/a4425254411
\ No newline at end of file -- cgit v1.2.3 From 67ed18fe86ddfabe5f6c6c270273597799722a72 Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Sat, 26 Jun 2021 22:07:53 +0200 Subject: Tests are ok fully covered. --- log/spoteezer.log | 5 +- src/main/java/musichub/util/LogHandler.java | 12 + src/test/java/musichub/util/LogHandlerTest.java | 41 +++ target/jacoco.exec | Bin 80650 -> 27236 bytes target/maven-archiver/pom.properties | 2 +- target/maven-javadoc-plugin-stale-data.txt | 39 +- .../compile/default-compile/createdFiles.lst | 3 +- .../compile/default-compile/inputFiles.lst | 3 +- .../default-testCompile/createdFiles.lst | 3 +- .../testCompile/default-testCompile/inputFiles.lst | 3 +- target/original-spoteezer-0.1.0.jar | Bin 31900 -> 33244 bytes target/site/apidocs/allclasses-index.html | 32 +- target/site/apidocs/allpackages-index.html | 2 +- target/site/apidocs/help-doc.html | 2 +- target/site/apidocs/index-all.html | 31 +- target/site/apidocs/index.html | 2 +- target/site/apidocs/member-search-index.js | 2 +- target/site/apidocs/musichub/business/Album.html | 2 +- .../site/apidocs/musichub/business/AudioBook.html | 2 +- .../apidocs/musichub/business/AudioElement.html | 2 +- .../site/apidocs/musichub/business/Category.html | 2 +- target/site/apidocs/musichub/business/Genre.html | 2 +- .../site/apidocs/musichub/business/Language.html | 2 +- .../site/apidocs/musichub/business/MusicHub.html | 2 +- .../musichub/business/NoAlbumFoundException.html | 2 +- .../musichub/business/NoElementFoundException.html | 2 +- .../business/NoPlayListFoundException.html | 2 +- .../apidocs/musichub/business/PathValidation.html | 189 ---------- .../site/apidocs/musichub/business/PlayList.html | 2 +- target/site/apidocs/musichub/business/Song.html | 2 +- .../apidocs/musichub/business/class-use/Album.html | 2 +- .../musichub/business/class-use/AudioBook.html | 2 +- .../musichub/business/class-use/AudioElement.html | 2 +- .../musichub/business/class-use/Category.html | 2 +- .../apidocs/musichub/business/class-use/Genre.html | 2 +- .../musichub/business/class-use/Language.html | 2 +- .../musichub/business/class-use/MusicHub.html | 2 +- .../business/class-use/NoAlbumFoundException.html | 2 +- .../class-use/NoElementFoundException.html | 2 +- .../class-use/NoPlayListFoundException.html | 2 +- .../business/class-use/PathValidation.html | 65 ---- .../musichub/business/class-use/PlayList.html | 2 +- .../apidocs/musichub/business/class-use/Song.html | 2 +- .../apidocs/musichub/business/package-summary.html | 12 +- .../apidocs/musichub/business/package-tree.html | 3 +- .../apidocs/musichub/business/package-use.html | 2 +- target/site/apidocs/musichub/main/Main.html | 2 +- .../site/apidocs/musichub/main/class-use/Main.html | 2 +- .../apidocs/musichub/main/package-summary.html | 2 +- .../site/apidocs/musichub/main/package-tree.html | 2 +- target/site/apidocs/musichub/main/package-use.html | 2 +- target/site/apidocs/musichub/util/XMLHandler.html | 2 +- .../musichub/util/class-use/XMLHandler.html | 2 +- .../apidocs/musichub/util/package-summary.html | 10 +- .../site/apidocs/musichub/util/package-tree.html | 4 +- target/site/apidocs/musichub/util/package-use.html | 2 +- target/site/apidocs/overview-summary.html | 2 +- target/site/apidocs/overview-tree.html | 5 +- target/site/apidocs/serialized-form.html | 2 +- target/site/apidocs/type-search-index.js | 2 +- target/site/jacoco/index.html | 2 +- target/site/jacoco/jacoco-sessions.html | 2 +- target/site/jacoco/jacoco.csv | 5 +- target/site/jacoco/jacoco.xml | 2 +- .../jacoco/musichub.business/PathValidation.html | 1 - .../musichub.business/PathValidation.java.html | 39 -- target/site/jacoco/musichub.business/index.html | 2 +- .../jacoco/musichub.business/index.source.html | 2 +- target/site/jacoco/musichub.main/Main.html | 2 +- target/site/jacoco/musichub.main/Main.java.html | 410 +++++++++++---------- target/site/jacoco/musichub.main/index.html | 2 +- target/site/jacoco/musichub.main/index.source.html | 2 +- target/site/jacoco/musichub.util/index.html | 2 +- target/site/jacoco/musichub.util/index.source.html | 2 +- target/spoteezer-0.1.0.jar | Bin 367786 -> 369146 bytes .../TEST-musichub.business.PathValidationTest.xml | 60 --- .../musichub.business.PathValidationTest.txt | 4 - 77 files changed, 412 insertions(+), 669 deletions(-) create mode 100644 src/test/java/musichub/util/LogHandlerTest.java delete mode 100644 target/site/apidocs/musichub/business/PathValidation.html delete mode 100644 target/site/apidocs/musichub/business/class-use/PathValidation.html delete mode 100644 target/site/jacoco/musichub.business/PathValidation.html delete mode 100644 target/site/jacoco/musichub.business/PathValidation.java.html delete mode 100644 target/surefire-reports/TEST-musichub.business.PathValidationTest.xml delete mode 100644 target/surefire-reports/musichub.business.PathValidationTest.txt (limited to 'target/site/jacoco/index.html') diff --git a/log/spoteezer.log b/log/spoteezer.log index 091f5e0..834e29f 100644 --- a/log/spoteezer.log +++ b/log/spoteezer.log @@ -1,3 +1,6 @@ [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 +[2021-06-26 21:45:11.453] WARNING: The music file was not found with the path you've provided. +[2021-06-26 22:05:28.614] INFO: JUnit test +[2021-06-26 22:06:26.191] INFO: JUnit test +[2021-06-26 22:06:38.453] INFO: JUnit test \ No newline at end of file diff --git a/src/main/java/musichub/util/LogHandler.java b/src/main/java/musichub/util/LogHandler.java index f6522f5..988b149 100644 --- a/src/main/java/musichub/util/LogHandler.java +++ b/src/main/java/musichub/util/LogHandler.java @@ -26,6 +26,13 @@ public final class LogHandler { throw new AssertionError("You just can't instantiate this class."); } + /** + * Method that writes a log message to spoteezer.log + * + * @param msg the message to write + * @param type the type of log + * @throws IOException if the file's not there + */ public static void write(String msg, String type) throws IOException { Timestamp timestamp = new Timestamp(System.currentTimeMillis()); @@ -42,6 +49,11 @@ public final class LogHandler { } + /** + * Method that prints the content of spoteezer.log + * + * @throws IOException if the file's not there + */ public static void read() throws IOException { Path fileName = Path.of("log/spoteezer.log"); diff --git a/src/test/java/musichub/util/LogHandlerTest.java b/src/test/java/musichub/util/LogHandlerTest.java new file mode 100644 index 0000000..17b47f6 --- /dev/null +++ b/src/test/java/musichub/util/LogHandlerTest.java @@ -0,0 +1,41 @@ +package musichub.util; + + +import org.junit.jupiter.api.Test; + +import java.io.IOException; + +import static musichub.util.LogHandler.read; +import static musichub.util.LogHandler.write; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertTrue; + +public class LogHandlerTest { + @Test + void testWrite() { + try { + write("JUnit test", "INFO"); + } catch (IOException e) { + e.printStackTrace(); + } + } + + @Test + void testRead() { + try { + read(); + } catch (IOException e) { + e.printStackTrace(); + } + } + + @Test + void testLogHandlerClass() { + try { + LogHandler logHandlerClass = new LogHandler(); + } catch (Error ex) { + assertTrue(ex instanceof AssertionError); + assertEquals("You just can't instantiate this class.", ex.getMessage()); + } + } +} diff --git a/target/jacoco.exec b/target/jacoco.exec index a11f908..5deaa95 100644 Binary files a/target/jacoco.exec and b/target/jacoco.exec differ diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties index 1d6eb92..9bf0389 100644 --- a/target/maven-archiver/pom.properties +++ b/target/maven-archiver/pom.properties @@ -1,5 +1,5 @@ #Generated by Maven -#Sat Jun 26 14:29:09 CEST 2021 +#Sat Jun 26 22:06:26 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 index 211d1c0..e5ff7a2 100644 --- a/target/maven-javadoc-plugin-stale-data.txt +++ b/target/maven-javadoc-plugin-stale-data.txt @@ -34,10 +34,11 @@ '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/PathValidation.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 @@ -45,21 +46,21 @@ C:\Users\SoftA\.m2\repository\org\junit\platform\junit-platform-commons\1.0.2\ju 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 = 1624710556861 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\allpackages-index.html = 1624710556864 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\element-list = 1624710556758 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\help-doc.html = 1624710556888 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\index-all.html = 1624710556884 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\index.html = 1624710556844 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\jquery-ui.overrides.css = 1624710556910 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\member-search-index.js = 1624710556868 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\module-search-index.js = 1624710556865 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\overview-summary.html = 1624710556885 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\overview-tree.html = 1624710556841 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\package-search-index.js = 1624710556866 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\script.js = 1624710556892 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\search.js = 1624710556895 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\serialized-form.html = 1624710556785 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\stylesheet.css = 1624710556891 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\tag-search-index.js = 1624710556869 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\type-search-index.js = 1624710556867 \ No newline at end of file +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\allclasses-index.html = 1624737994231 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\allpackages-index.html = 1624737994233 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\element-list = 1624737994134 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\help-doc.html = 1624737994257 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\index-all.html = 1624737994253 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\index.html = 1624737994214 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\jquery-ui.overrides.css = 1624737994280 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\member-search-index.js = 1624737994238 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\module-search-index.js = 1624737994234 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\overview-summary.html = 1624737994255 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\overview-tree.html = 1624737994211 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\package-search-index.js = 1624737994235 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\script.js = 1624737994260 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\search.js = 1624737994263 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\serialized-form.html = 1624737994156 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\stylesheet.css = 1624737994259 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\tag-search-index.js = 1624737994239 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\type-search-index.js = 1624737994236 \ No newline at end of file diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst index 26c13ed..acee52e 100644 --- a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst @@ -1,6 +1,6 @@ musichub\util\XMLHandler.class -musichub\business\PathValidation.class musichub\business\NoElementFoundException.class +musichub\util\LogHandler.class musichub\business\Language.class musichub\business\PlayList.class musichub\main\Main.class @@ -11,6 +11,7 @@ musichub\business\SortByAuthor.class musichub\business\NoAlbumFoundException.class musichub\business\AudioBook.class musichub\business\Song.class +musichub\util\PathValidation.class musichub\business\Genre.class musichub\business\NoPlayListFoundException.class musichub\business\Category.class diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst index 93f6593..a533945 100644 --- a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -5,9 +5,10 @@ C:\Users\SoftA\Documents\spoteezer\src\main\java\musichub\main\Main.java C:\Users\SoftA\Documents\spoteezer\src\main\java\musichub\business\AudioBook.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\util\LogHandler.java +C:\Users\SoftA\Documents\spoteezer\src\main\java\musichub\util\PathValidation.java C:\Users\SoftA\Documents\spoteezer\src\main\java\musichub\business\Album.java C:\Users\SoftA\Documents\spoteezer\src\main\java\musichub\business\AudioElement.java -C:\Users\SoftA\Documents\spoteezer\src\main\java\musichub\business\PathValidation.java C:\Users\SoftA\Documents\spoteezer\src\main\java\musichub\business\Category.java C:\Users\SoftA\Documents\spoteezer\src\main\java\musichub\business\NoAlbumFoundException.java C:\Users\SoftA\Documents\spoteezer\src\main\java\musichub\business\NoPlayListFoundException.java 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 649a939..13c2c99 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 +1,2 @@ -musichub\business\PathValidationTest.class +musichub\util\PathValidationTest.class +musichub\util\LogHandlerTest.class diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst index 9b5d3f0..1b9eea3 100644 --- a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst +++ b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst @@ -1 +1,2 @@ -C:\Users\SoftA\Documents\spoteezer\src\test\java\musichub\business\PathValidationTest.java +C:\Users\SoftA\Documents\spoteezer\src\test\java\musichub\util\LogHandlerTest.java +C:\Users\SoftA\Documents\spoteezer\src\test\java\musichub\util\PathValidationTest.java diff --git a/target/original-spoteezer-0.1.0.jar b/target/original-spoteezer-0.1.0.jar index fbeb8a5..e14293d 100644 Binary files a/target/original-spoteezer-0.1.0.jar and b/target/original-spoteezer-0.1.0.jar differ diff --git a/target/site/apidocs/allclasses-index.html b/target/site/apidocs/allclasses-index.html index 767b8ab..e4d9f65 100644 --- a/target/site/apidocs/allclasses-index.html +++ b/target/site/apidocs/allclasses-index.html @@ -2,7 +2,7 @@ - + All Classes (spoteezer 0.1.0 API) @@ -76,26 +76,30 @@ loadScripts(document, 'script');
 
 
- -
 
- + +
+
Class offering a log writing method.
+
+
 
- -
 
- + +
 
+
 
- +
 
- -
+ +
 
+ +
Class offering a path validation method.
- -
 
- +
 
- +
 
+ +
 
diff --git a/target/site/apidocs/allpackages-index.html b/target/site/apidocs/allpackages-index.html index daffbfc..1670da5 100644 --- a/target/site/apidocs/allpackages-index.html +++ b/target/site/apidocs/allpackages-index.html @@ -2,7 +2,7 @@ - + All Packages (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/help-doc.html b/target/site/apidocs/help-doc.html index 084eeb0..4d85c2b 100644 --- a/target/site/apidocs/help-doc.html +++ b/target/site/apidocs/help-doc.html @@ -2,7 +2,7 @@ - + API Help (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/index-all.html b/target/site/apidocs/index-all.html index bb26bd1..0df0f51 100644 --- a/target/site/apidocs/index-all.html +++ b/target/site/apidocs/index-all.html @@ -2,7 +2,7 @@ - + Index (spoteezer 0.1.0 API) @@ -54,7 +54,7 @@ loadScripts(document, 'script');

Index

-A C D E F G H I J L M N P R S T U V X Y 
All Classes|All Packages|Serialized Form +A C D E F G H I J L M N P R S T U V W X Y 
All Classes|All Packages|Serialized Form

A

addAlbum(Album) - Method in class musichub.business.MusicHub
@@ -202,7 +202,7 @@ loadScripts(document, 'script');

I

-
isPathValid(String) - Static method in class musichub.business.PathValidation
+
isPathValid(String) - Static method in class musichub.util.PathValidation
Method that checks the validity of a given path
@@ -220,6 +220,14 @@ loadScripts(document, 'script');
 
lengthInSeconds - Variable in class musichub.business.AudioElement
 
+
LogHandler - Class in musichub.util
+
+
Class offering a log writing method.
+
+
LogHandler() - Constructor for class musichub.util.LogHandler
+
+
Method that just throws an AssertionError if the class is called
+

M

@@ -263,11 +271,11 @@ loadScripts(document, 'script');
parseXMLFile(String) - Method in class musichub.util.XMLHandler
 
-
PathValidation - Class in musichub.business
+
PathValidation - Class in musichub.util
Class offering a path validation method.
-
PathValidation() - Constructor for class musichub.business.PathValidation
+
PathValidation() - Constructor for class musichub.util.PathValidation
Method that just throws an AssertionError if the class is called
@@ -290,6 +298,10 @@ loadScripts(document, 'script');
RAP - Enum constant in enum class musichub.business.Genre
 
+
read() - Static method in class musichub.util.LogHandler
+
+
Method that prints the content of spoteezer.log
+
ROCK - Enum constant in enum class musichub.business.Genre
 
@@ -368,6 +380,13 @@ the order they are declared. the order they are declared.
+

W

+
+
write(String, String) - Static method in class musichub.util.LogHandler
+
+
Method that writes a log message to spoteezer.log
+
+

X

XMLHandler - Class in musichub.util
@@ -380,7 +399,7 @@ the order they are declared.
YOUTH - Enum constant in enum class musichub.business.Category
 
-A C D E F G H I J L M N P R S T U V X Y 
All Classes|All Packages|Serialized Form +A C D E F G H I J L M N P R S T U V W X Y 
All Classes|All Packages|Serialized Form

diff --git a/target/site/apidocs/index.html b/target/site/apidocs/index.html index a865d2c..e5010d9 100644 --- a/target/site/apidocs/index.html +++ b/target/site/apidocs/index.html @@ -2,7 +2,7 @@ - + Overview (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/member-search-index.js b/target/site/apidocs/member-search-index.js index 7c431d3..f583be9 100644 --- a/target/site/apidocs/member-search-index.js +++ b/target/site/apidocs/member-search-index.js @@ -1 +1 @@ -memberSearchIndex = [{"p":"musichub.business","c":"MusicHub","l":"addAlbum(Album)","u":"addAlbum(musichub.business.Album)"},{"p":"musichub.business","c":"MusicHub","l":"addElement(AudioElement)","u":"addElement(musichub.business.AudioElement)"},{"p":"musichub.business","c":"PlayList","l":"addElement(UUID)","u":"addElement(java.util.UUID)"},{"p":"musichub.business","c":"MusicHub","l":"addElementToAlbum(String, String)","u":"addElementToAlbum(java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"addElementToPlayList(String, String)","u":"addElementToPlayList(java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"addPlaylist(PlayList)","u":"addPlaylist(musichub.business.PlayList)"},{"p":"musichub.business","c":"Album","l":"addSong(UUID)","u":"addSong(java.util.UUID)"},{"p":"musichub.business","c":"Album","l":"Album(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"Album","l":"Album(String, String, int, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String)"},{"p":"musichub.business","c":"Album","l":"Album(String, String, int, String, String, ArrayList)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String,java.util.ArrayList)"},{"p":"musichub.business","c":"MusicHub","l":"ALBUMS_FILE_PATH"},{"p":"musichub.business","c":"MusicHub","l":"albums()"},{"p":"musichub.business","c":"AudioElement","l":"artist"},{"p":"musichub.business","c":"AudioBook","l":"AudioBook(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"AudioBook","l":"AudioBook(String, String, int, String, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"AudioBook","l":"AudioBook(String, String, int, String, String, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"AudioElement","l":"AudioElement(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"AudioElement","l":"AudioElement(String, String, int, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String)"},{"p":"musichub.business","c":"AudioElement","l":"AudioElement(String, String, int, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"Genre","l":"CLASSIC"},{"p":"musichub.business","c":"AudioElement","l":"content"},{"p":"musichub.util","c":"XMLHandler","l":"createXMLDocument()"},{"p":"musichub.business","c":"Album","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.business","c":"AudioBook","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.business","c":"AudioElement","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.business","c":"PlayList","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.business","c":"Song","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.util","c":"XMLHandler","l":"createXMLFile(Document, String)","u":"createXMLFile(org.w3c.dom.Document,java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"deletePlayList(String)","u":"deletePlayList(java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"DIR"},{"p":"musichub.business","c":"Category","l":"DOCUMENTARY"},{"p":"musichub.business","c":"MusicHub","l":"ELEMENTS_FILE_PATH"},{"p":"musichub.business","c":"MusicHub","l":"elements()"},{"p":"musichub.business","c":"Language","l":"ENGLISH"},{"p":"musichub.business","c":"Language","l":"FRENCH"},{"p":"musichub.business","c":"Language","l":"GERMAN"},{"p":"musichub.business","c":"MusicHub","l":"getAlbumSongs(String)","u":"getAlbumSongs(java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"getAlbumSongsSortedByGenre(String)","u":"getAlbumSongsSortedByGenre(java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"getAlbumsTitlesSortedByDate()"},{"p":"musichub.business","c":"AudioElement","l":"getArtist()"},{"p":"musichub.business","c":"MusicHub","l":"getAudiobooksTitlesSortedByAuthor()"},{"p":"musichub.business","c":"MusicHub","l":"getAudioElement(List, String)","u":"getAudioElement(java.util.List,java.lang.String)"},{"p":"musichub.business","c":"AudioBook","l":"getCategory()"},{"p":"musichub.business","c":"Category","l":"getCategory()"},{"p":"musichub.business","c":"Album","l":"getDate()"},{"p":"musichub.business","c":"PlayList","l":"getElements()"},{"p":"musichub.business","c":"Genre","l":"getGenre()"},{"p":"musichub.business","c":"Song","l":"getGenre()"},{"p":"musichub.business","c":"AudioBook","l":"getLanguage()"},{"p":"musichub.business","c":"Language","l":"getLanguage()"},{"p":"musichub.business","c":"Album","l":"getSongs()"},{"p":"musichub.business","c":"Album","l":"getSongsRandomly()"},{"p":"musichub.business","c":"Album","l":"getTitle()"},{"p":"musichub.business","c":"AudioElement","l":"getTitle()"},{"p":"musichub.business","c":"PlayList","l":"getTitle()"},{"p":"musichub.business","c":"AudioElement","l":"getUUID()"},{"p":"musichub.business","c":"Genre","l":"HIPHOP"},{"p":"musichub.business","c":"PathValidation","l":"isPathValid(String)","u":"isPathValid(java.lang.String)"},{"p":"musichub.business","c":"Language","l":"ITALIAN"},{"p":"musichub.business","c":"Genre","l":"JAZZ"},{"p":"musichub.business","c":"AudioElement","l":"lengthInSeconds"},{"p":"musichub.main","c":"Main","l":"Main()","u":"%3Cinit%3E()"},{"p":"musichub.main","c":"Main","l":"main(String[])","u":"main(java.lang.String[])"},{"p":"musichub.business","c":"AudioElement","l":"manageAudioElement()"},{"p":"musichub.business","c":"MusicHub","l":"MusicHub()","u":"%3Cinit%3E()"},{"p":"musichub.business","c":"NoAlbumFoundException","l":"NoAlbumFoundException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"musichub.business","c":"NoElementFoundException","l":"NoElementFoundException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"musichub.business","c":"NoPlayListFoundException","l":"NoPlayListFoundException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"musichub.business","c":"Category","l":"NOVEL"},{"p":"musichub.util","c":"XMLHandler","l":"parseXMLFile(String)","u":"parseXMLFile(java.lang.String)"},{"p":"musichub.business","c":"PathValidation","l":"PathValidation()","u":"%3Cinit%3E()"},{"p":"musichub.business","c":"PlayList","l":"PlayList(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"PlayList","l":"PlayList(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"musichub.business","c":"PlayList","l":"PlayList(String, String, ArrayList)","u":"%3Cinit%3E(java.lang.String,java.lang.String,java.util.ArrayList)"},{"p":"musichub.business","c":"MusicHub","l":"PLAYLISTS_FILE_PATH"},{"p":"musichub.business","c":"MusicHub","l":"playlists()"},{"p":"musichub.business","c":"Genre","l":"POP"},{"p":"musichub.business","c":"Genre","l":"RAP"},{"p":"musichub.business","c":"Genre","l":"ROCK"},{"p":"musichub.business","c":"MusicHub","l":"saveAlbums()"},{"p":"musichub.business","c":"MusicHub","l":"saveElements()"},{"p":"musichub.business","c":"MusicHub","l":"savePlayLists()"},{"p":"musichub.business","c":"AudioBook","l":"setCategory(String)","u":"setCategory(java.lang.String)"},{"p":"musichub.business","c":"Song","l":"setGenre(String)","u":"setGenre(java.lang.String)"},{"p":"musichub.business","c":"AudioBook","l":"setLanguage(String)","u":"setLanguage(java.lang.String)"},{"p":"musichub.business","c":"Song","l":"Song(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"Song","l":"Song(String, String, int, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"Song","l":"Song(String, String, int, String, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"Language","l":"SPANISH"},{"p":"musichub.business","c":"Category","l":"SPEECH"},{"p":"musichub.business","c":"Category","l":"THEATER"},{"p":"musichub.business","c":"AudioElement","l":"title"},{"p":"musichub.business","c":"AudioBook","l":"toString()"},{"p":"musichub.business","c":"AudioElement","l":"toString()"},{"p":"musichub.business","c":"Song","l":"toString()"},{"p":"musichub.business","c":"AudioElement","l":"uuid"},{"p":"musichub.business","c":"Category","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"musichub.business","c":"Genre","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"musichub.business","c":"Language","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"musichub.business","c":"Category","l":"values()"},{"p":"musichub.business","c":"Genre","l":"values()"},{"p":"musichub.business","c":"Language","l":"values()"},{"p":"musichub.util","c":"XMLHandler","l":"XMLHandler()","u":"%3Cinit%3E()"},{"p":"musichub.business","c":"Category","l":"YOUTH"}];updateSearchResults(); \ No newline at end of file +memberSearchIndex = [{"p":"musichub.business","c":"MusicHub","l":"addAlbum(Album)","u":"addAlbum(musichub.business.Album)"},{"p":"musichub.business","c":"MusicHub","l":"addElement(AudioElement)","u":"addElement(musichub.business.AudioElement)"},{"p":"musichub.business","c":"PlayList","l":"addElement(UUID)","u":"addElement(java.util.UUID)"},{"p":"musichub.business","c":"MusicHub","l":"addElementToAlbum(String, String)","u":"addElementToAlbum(java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"addElementToPlayList(String, String)","u":"addElementToPlayList(java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"addPlaylist(PlayList)","u":"addPlaylist(musichub.business.PlayList)"},{"p":"musichub.business","c":"Album","l":"addSong(UUID)","u":"addSong(java.util.UUID)"},{"p":"musichub.business","c":"Album","l":"Album(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"Album","l":"Album(String, String, int, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String)"},{"p":"musichub.business","c":"Album","l":"Album(String, String, int, String, String, ArrayList)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String,java.util.ArrayList)"},{"p":"musichub.business","c":"MusicHub","l":"ALBUMS_FILE_PATH"},{"p":"musichub.business","c":"MusicHub","l":"albums()"},{"p":"musichub.business","c":"AudioElement","l":"artist"},{"p":"musichub.business","c":"AudioBook","l":"AudioBook(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"AudioBook","l":"AudioBook(String, String, int, String, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"AudioBook","l":"AudioBook(String, String, int, String, String, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"AudioElement","l":"AudioElement(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"AudioElement","l":"AudioElement(String, String, int, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String)"},{"p":"musichub.business","c":"AudioElement","l":"AudioElement(String, String, int, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"Genre","l":"CLASSIC"},{"p":"musichub.business","c":"AudioElement","l":"content"},{"p":"musichub.util","c":"XMLHandler","l":"createXMLDocument()"},{"p":"musichub.business","c":"Album","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.business","c":"AudioBook","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.business","c":"AudioElement","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.business","c":"PlayList","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.business","c":"Song","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.util","c":"XMLHandler","l":"createXMLFile(Document, String)","u":"createXMLFile(org.w3c.dom.Document,java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"deletePlayList(String)","u":"deletePlayList(java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"DIR"},{"p":"musichub.business","c":"Category","l":"DOCUMENTARY"},{"p":"musichub.business","c":"MusicHub","l":"ELEMENTS_FILE_PATH"},{"p":"musichub.business","c":"MusicHub","l":"elements()"},{"p":"musichub.business","c":"Language","l":"ENGLISH"},{"p":"musichub.business","c":"Language","l":"FRENCH"},{"p":"musichub.business","c":"Language","l":"GERMAN"},{"p":"musichub.business","c":"MusicHub","l":"getAlbumSongs(String)","u":"getAlbumSongs(java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"getAlbumSongsSortedByGenre(String)","u":"getAlbumSongsSortedByGenre(java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"getAlbumsTitlesSortedByDate()"},{"p":"musichub.business","c":"AudioElement","l":"getArtist()"},{"p":"musichub.business","c":"MusicHub","l":"getAudiobooksTitlesSortedByAuthor()"},{"p":"musichub.business","c":"MusicHub","l":"getAudioElement(List, String)","u":"getAudioElement(java.util.List,java.lang.String)"},{"p":"musichub.business","c":"AudioBook","l":"getCategory()"},{"p":"musichub.business","c":"Category","l":"getCategory()"},{"p":"musichub.business","c":"Album","l":"getDate()"},{"p":"musichub.business","c":"PlayList","l":"getElements()"},{"p":"musichub.business","c":"Genre","l":"getGenre()"},{"p":"musichub.business","c":"Song","l":"getGenre()"},{"p":"musichub.business","c":"AudioBook","l":"getLanguage()"},{"p":"musichub.business","c":"Language","l":"getLanguage()"},{"p":"musichub.business","c":"Album","l":"getSongs()"},{"p":"musichub.business","c":"Album","l":"getSongsRandomly()"},{"p":"musichub.business","c":"Album","l":"getTitle()"},{"p":"musichub.business","c":"AudioElement","l":"getTitle()"},{"p":"musichub.business","c":"PlayList","l":"getTitle()"},{"p":"musichub.business","c":"AudioElement","l":"getUUID()"},{"p":"musichub.business","c":"Genre","l":"HIPHOP"},{"p":"musichub.util","c":"PathValidation","l":"isPathValid(String)","u":"isPathValid(java.lang.String)"},{"p":"musichub.business","c":"Language","l":"ITALIAN"},{"p":"musichub.business","c":"Genre","l":"JAZZ"},{"p":"musichub.business","c":"AudioElement","l":"lengthInSeconds"},{"p":"musichub.util","c":"LogHandler","l":"LogHandler()","u":"%3Cinit%3E()"},{"p":"musichub.main","c":"Main","l":"Main()","u":"%3Cinit%3E()"},{"p":"musichub.main","c":"Main","l":"main(String[])","u":"main(java.lang.String[])"},{"p":"musichub.business","c":"AudioElement","l":"manageAudioElement()"},{"p":"musichub.business","c":"MusicHub","l":"MusicHub()","u":"%3Cinit%3E()"},{"p":"musichub.business","c":"NoAlbumFoundException","l":"NoAlbumFoundException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"musichub.business","c":"NoElementFoundException","l":"NoElementFoundException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"musichub.business","c":"NoPlayListFoundException","l":"NoPlayListFoundException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"musichub.business","c":"Category","l":"NOVEL"},{"p":"musichub.util","c":"XMLHandler","l":"parseXMLFile(String)","u":"parseXMLFile(java.lang.String)"},{"p":"musichub.util","c":"PathValidation","l":"PathValidation()","u":"%3Cinit%3E()"},{"p":"musichub.business","c":"PlayList","l":"PlayList(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"PlayList","l":"PlayList(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"musichub.business","c":"PlayList","l":"PlayList(String, String, ArrayList)","u":"%3Cinit%3E(java.lang.String,java.lang.String,java.util.ArrayList)"},{"p":"musichub.business","c":"MusicHub","l":"PLAYLISTS_FILE_PATH"},{"p":"musichub.business","c":"MusicHub","l":"playlists()"},{"p":"musichub.business","c":"Genre","l":"POP"},{"p":"musichub.business","c":"Genre","l":"RAP"},{"p":"musichub.util","c":"LogHandler","l":"read()"},{"p":"musichub.business","c":"Genre","l":"ROCK"},{"p":"musichub.business","c":"MusicHub","l":"saveAlbums()"},{"p":"musichub.business","c":"MusicHub","l":"saveElements()"},{"p":"musichub.business","c":"MusicHub","l":"savePlayLists()"},{"p":"musichub.business","c":"AudioBook","l":"setCategory(String)","u":"setCategory(java.lang.String)"},{"p":"musichub.business","c":"Song","l":"setGenre(String)","u":"setGenre(java.lang.String)"},{"p":"musichub.business","c":"AudioBook","l":"setLanguage(String)","u":"setLanguage(java.lang.String)"},{"p":"musichub.business","c":"Song","l":"Song(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"Song","l":"Song(String, String, int, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"Song","l":"Song(String, String, int, String, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"Language","l":"SPANISH"},{"p":"musichub.business","c":"Category","l":"SPEECH"},{"p":"musichub.business","c":"Category","l":"THEATER"},{"p":"musichub.business","c":"AudioElement","l":"title"},{"p":"musichub.business","c":"AudioBook","l":"toString()"},{"p":"musichub.business","c":"AudioElement","l":"toString()"},{"p":"musichub.business","c":"Song","l":"toString()"},{"p":"musichub.business","c":"AudioElement","l":"uuid"},{"p":"musichub.business","c":"Category","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"musichub.business","c":"Genre","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"musichub.business","c":"Language","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"musichub.business","c":"Category","l":"values()"},{"p":"musichub.business","c":"Genre","l":"values()"},{"p":"musichub.business","c":"Language","l":"values()"},{"p":"musichub.util","c":"LogHandler","l":"write(String, String)","u":"write(java.lang.String,java.lang.String)"},{"p":"musichub.util","c":"XMLHandler","l":"XMLHandler()","u":"%3Cinit%3E()"},{"p":"musichub.business","c":"Category","l":"YOUTH"}];updateSearchResults(); \ No newline at end of file diff --git a/target/site/apidocs/musichub/business/Album.html b/target/site/apidocs/musichub/business/Album.html index 824d2f6..fd0beaa 100644 --- a/target/site/apidocs/musichub/business/Album.html +++ b/target/site/apidocs/musichub/business/Album.html @@ -2,7 +2,7 @@ - + Album (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/AudioBook.html b/target/site/apidocs/musichub/business/AudioBook.html index f171946..211e1b0 100644 --- a/target/site/apidocs/musichub/business/AudioBook.html +++ b/target/site/apidocs/musichub/business/AudioBook.html @@ -2,7 +2,7 @@ - + AudioBook (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/AudioElement.html b/target/site/apidocs/musichub/business/AudioElement.html index f2ecb62..fe6ad42 100644 --- a/target/site/apidocs/musichub/business/AudioElement.html +++ b/target/site/apidocs/musichub/business/AudioElement.html @@ -2,7 +2,7 @@ - + AudioElement (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/Category.html b/target/site/apidocs/musichub/business/Category.html index 6fa6ed1..4266493 100644 --- a/target/site/apidocs/musichub/business/Category.html +++ b/target/site/apidocs/musichub/business/Category.html @@ -2,7 +2,7 @@ - + Category (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/Genre.html b/target/site/apidocs/musichub/business/Genre.html index 404433a..96e2762 100644 --- a/target/site/apidocs/musichub/business/Genre.html +++ b/target/site/apidocs/musichub/business/Genre.html @@ -2,7 +2,7 @@ - + Genre (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/Language.html b/target/site/apidocs/musichub/business/Language.html index 7c71eef..6bebff8 100644 --- a/target/site/apidocs/musichub/business/Language.html +++ b/target/site/apidocs/musichub/business/Language.html @@ -2,7 +2,7 @@ - + Language (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/MusicHub.html b/target/site/apidocs/musichub/business/MusicHub.html index a96d88e..4af462c 100644 --- a/target/site/apidocs/musichub/business/MusicHub.html +++ b/target/site/apidocs/musichub/business/MusicHub.html @@ -2,7 +2,7 @@ - + MusicHub (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/NoAlbumFoundException.html b/target/site/apidocs/musichub/business/NoAlbumFoundException.html index 51defb8..16143e3 100644 --- a/target/site/apidocs/musichub/business/NoAlbumFoundException.html +++ b/target/site/apidocs/musichub/business/NoAlbumFoundException.html @@ -2,7 +2,7 @@ - + NoAlbumFoundException (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/NoElementFoundException.html b/target/site/apidocs/musichub/business/NoElementFoundException.html index b935b6c..3a04446 100644 --- a/target/site/apidocs/musichub/business/NoElementFoundException.html +++ b/target/site/apidocs/musichub/business/NoElementFoundException.html @@ -2,7 +2,7 @@ - + NoElementFoundException (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/NoPlayListFoundException.html b/target/site/apidocs/musichub/business/NoPlayListFoundException.html index 56d2aaf..4a9413a 100644 --- a/target/site/apidocs/musichub/business/NoPlayListFoundException.html +++ b/target/site/apidocs/musichub/business/NoPlayListFoundException.html @@ -2,7 +2,7 @@ - + NoPlayListFoundException (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/PathValidation.html b/target/site/apidocs/musichub/business/PathValidation.html deleted file mode 100644 index 9a7945c..0000000 --- a/target/site/apidocs/musichub/business/PathValidation.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - -PathValidation (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
- -
-
- -
- -

Class PathValidation

-
-
java.lang.Object -
musichub.business.PathValidation
-
-
-
-
public final class PathValidation -extends Object
-
Class offering a path validation method.
-
-
Version:
-
1.0
-
Author:
-
Aimeric ADJUTOR
-
-
-
- -
-
-
    - -
  • -
    -

    Constructor Details

    -
      -
    • -
      -

      PathValidation

      -
      public PathValidation()
      -
      Method that just throws an AssertionError if the class is called
      -
      -
      Throws:
      -
      AssertionError - you can't instantiate this class
      -
      -
      -
    • -
    -
    -
  • - -
  • -
    -

    Method Details

    -
      -
    • -
      -

      isPathValid

      -
      public static boolean isPathValid(String inputPath)
      -
      Method that checks the validity of a given path
      -
      -
      Parameters:
      -
      inputPath - the path given by the user
      -
      Returns:
      -
      a boolean
      -
      -
      -
    • -
    -
    -
  • -
-
- -
-
-
- -
-
-
- - diff --git a/target/site/apidocs/musichub/business/PlayList.html b/target/site/apidocs/musichub/business/PlayList.html index 533a2ad..a1ccc9b 100644 --- a/target/site/apidocs/musichub/business/PlayList.html +++ b/target/site/apidocs/musichub/business/PlayList.html @@ -2,7 +2,7 @@ - + PlayList (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/Song.html b/target/site/apidocs/musichub/business/Song.html index aa13772..82582dd 100644 --- a/target/site/apidocs/musichub/business/Song.html +++ b/target/site/apidocs/musichub/business/Song.html @@ -2,7 +2,7 @@ - + Song (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/class-use/Album.html b/target/site/apidocs/musichub/business/class-use/Album.html index a799c69..097e8c7 100644 --- a/target/site/apidocs/musichub/business/class-use/Album.html +++ b/target/site/apidocs/musichub/business/class-use/Album.html @@ -2,7 +2,7 @@ - + Uses of Class musichub.business.Album (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/class-use/AudioBook.html b/target/site/apidocs/musichub/business/class-use/AudioBook.html index 6054d2d..a109ca3 100644 --- a/target/site/apidocs/musichub/business/class-use/AudioBook.html +++ b/target/site/apidocs/musichub/business/class-use/AudioBook.html @@ -2,7 +2,7 @@ - + Uses of Class musichub.business.AudioBook (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/class-use/AudioElement.html b/target/site/apidocs/musichub/business/class-use/AudioElement.html index ab20cf8..1249775 100644 --- a/target/site/apidocs/musichub/business/class-use/AudioElement.html +++ b/target/site/apidocs/musichub/business/class-use/AudioElement.html @@ -2,7 +2,7 @@ - + Uses of Class musichub.business.AudioElement (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/class-use/Category.html b/target/site/apidocs/musichub/business/class-use/Category.html index d0b7007..022df3a 100644 --- a/target/site/apidocs/musichub/business/class-use/Category.html +++ b/target/site/apidocs/musichub/business/class-use/Category.html @@ -2,7 +2,7 @@ - + Uses of Enum Class musichub.business.Category (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/class-use/Genre.html b/target/site/apidocs/musichub/business/class-use/Genre.html index 94c178d..a9cd613 100644 --- a/target/site/apidocs/musichub/business/class-use/Genre.html +++ b/target/site/apidocs/musichub/business/class-use/Genre.html @@ -2,7 +2,7 @@ - + Uses of Enum Class musichub.business.Genre (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/class-use/Language.html b/target/site/apidocs/musichub/business/class-use/Language.html index 6df04ff..86ed23a 100644 --- a/target/site/apidocs/musichub/business/class-use/Language.html +++ b/target/site/apidocs/musichub/business/class-use/Language.html @@ -2,7 +2,7 @@ - + Uses of Enum Class musichub.business.Language (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/class-use/MusicHub.html b/target/site/apidocs/musichub/business/class-use/MusicHub.html index 2f00178..683a7e5 100644 --- a/target/site/apidocs/musichub/business/class-use/MusicHub.html +++ b/target/site/apidocs/musichub/business/class-use/MusicHub.html @@ -2,7 +2,7 @@ - + Uses of Class musichub.business.MusicHub (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/class-use/NoAlbumFoundException.html b/target/site/apidocs/musichub/business/class-use/NoAlbumFoundException.html index c11e6be..3d190ec 100644 --- a/target/site/apidocs/musichub/business/class-use/NoAlbumFoundException.html +++ b/target/site/apidocs/musichub/business/class-use/NoAlbumFoundException.html @@ -2,7 +2,7 @@ - + Uses of Class musichub.business.NoAlbumFoundException (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/class-use/NoElementFoundException.html b/target/site/apidocs/musichub/business/class-use/NoElementFoundException.html index 70bbffa..07bc200 100644 --- a/target/site/apidocs/musichub/business/class-use/NoElementFoundException.html +++ b/target/site/apidocs/musichub/business/class-use/NoElementFoundException.html @@ -2,7 +2,7 @@ - + Uses of Class musichub.business.NoElementFoundException (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/class-use/NoPlayListFoundException.html b/target/site/apidocs/musichub/business/class-use/NoPlayListFoundException.html index 97c5c34..0a7a442 100644 --- a/target/site/apidocs/musichub/business/class-use/NoPlayListFoundException.html +++ b/target/site/apidocs/musichub/business/class-use/NoPlayListFoundException.html @@ -2,7 +2,7 @@ - + Uses of Class musichub.business.NoPlayListFoundException (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/class-use/PathValidation.html b/target/site/apidocs/musichub/business/class-use/PathValidation.html deleted file mode 100644 index b8a4f5a..0000000 --- a/target/site/apidocs/musichub/business/class-use/PathValidation.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - -Uses of Class musichub.business.PathValidation (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
musichub.business.PathValidation

-
-No usage of musichub.business.PathValidation
-
-
- -
-
-
- - diff --git a/target/site/apidocs/musichub/business/class-use/PlayList.html b/target/site/apidocs/musichub/business/class-use/PlayList.html index 7d039a5..151e091 100644 --- a/target/site/apidocs/musichub/business/class-use/PlayList.html +++ b/target/site/apidocs/musichub/business/class-use/PlayList.html @@ -2,7 +2,7 @@ - + Uses of Class musichub.business.PlayList (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/class-use/Song.html b/target/site/apidocs/musichub/business/class-use/Song.html index 853c506..f7caf68 100644 --- a/target/site/apidocs/musichub/business/class-use/Song.html +++ b/target/site/apidocs/musichub/business/class-use/Song.html @@ -2,7 +2,7 @@ - + Uses of Class musichub.business.Song (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/package-summary.html b/target/site/apidocs/musichub/business/package-summary.html index 57c22af..ab9bef3 100644 --- a/target/site/apidocs/musichub/business/package-summary.html +++ b/target/site/apidocs/musichub/business/package-summary.html @@ -2,7 +2,7 @@ - + musichub.business (spoteezer 0.1.0 API) @@ -71,14 +71,10 @@ loadScripts(document, 'script');
 
 
- -
-
Class offering a path validation method.
-
- -
 
- +
 
+ +
 
  • diff --git a/target/site/apidocs/musichub/business/package-tree.html b/target/site/apidocs/musichub/business/package-tree.html index 31cbe13..e1a5f5b 100644 --- a/target/site/apidocs/musichub/business/package-tree.html +++ b/target/site/apidocs/musichub/business/package-tree.html @@ -2,7 +2,7 @@ - + musichub.business Class Hierarchy (spoteezer 0.1.0 API) @@ -71,7 +71,6 @@ loadScripts(document, 'script');
  • musichub.business.MusicHub
  • -
  • musichub.business.PathValidation
  • musichub.business.PlayList
  • java.lang.Throwable (implements java.io.Serializable)
      diff --git a/target/site/apidocs/musichub/business/package-use.html b/target/site/apidocs/musichub/business/package-use.html index c75e960..89e8d56 100644 --- a/target/site/apidocs/musichub/business/package-use.html +++ b/target/site/apidocs/musichub/business/package-use.html @@ -2,7 +2,7 @@ - + Uses of Package musichub.business (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/main/Main.html b/target/site/apidocs/musichub/main/Main.html index d060888..2a6bcf8 100644 --- a/target/site/apidocs/musichub/main/Main.html +++ b/target/site/apidocs/musichub/main/Main.html @@ -2,7 +2,7 @@ - + Main (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/main/class-use/Main.html b/target/site/apidocs/musichub/main/class-use/Main.html index 2ea6da4..819433d 100644 --- a/target/site/apidocs/musichub/main/class-use/Main.html +++ b/target/site/apidocs/musichub/main/class-use/Main.html @@ -2,7 +2,7 @@ - + Uses of Class musichub.main.Main (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/main/package-summary.html b/target/site/apidocs/musichub/main/package-summary.html index 87c57b3..afcd6ad 100644 --- a/target/site/apidocs/musichub/main/package-summary.html +++ b/target/site/apidocs/musichub/main/package-summary.html @@ -2,7 +2,7 @@ - + musichub.main (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/main/package-tree.html b/target/site/apidocs/musichub/main/package-tree.html index d6354f0..393b386 100644 --- a/target/site/apidocs/musichub/main/package-tree.html +++ b/target/site/apidocs/musichub/main/package-tree.html @@ -2,7 +2,7 @@ - + musichub.main Class Hierarchy (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/main/package-use.html b/target/site/apidocs/musichub/main/package-use.html index 68e7ada..0747159 100644 --- a/target/site/apidocs/musichub/main/package-use.html +++ b/target/site/apidocs/musichub/main/package-use.html @@ -2,7 +2,7 @@ - + Uses of Package musichub.main (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/util/XMLHandler.html b/target/site/apidocs/musichub/util/XMLHandler.html index 52734c9..53ffdbe 100644 --- a/target/site/apidocs/musichub/util/XMLHandler.html +++ b/target/site/apidocs/musichub/util/XMLHandler.html @@ -2,7 +2,7 @@ - + XMLHandler (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/util/class-use/XMLHandler.html b/target/site/apidocs/musichub/util/class-use/XMLHandler.html index 04b02a0..8c6ad08 100644 --- a/target/site/apidocs/musichub/util/class-use/XMLHandler.html +++ b/target/site/apidocs/musichub/util/class-use/XMLHandler.html @@ -2,7 +2,7 @@ - + Uses of Class musichub.util.XMLHandler (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/util/package-summary.html b/target/site/apidocs/musichub/util/package-summary.html index 72ff644..24257be 100644 --- a/target/site/apidocs/musichub/util/package-summary.html +++ b/target/site/apidocs/musichub/util/package-summary.html @@ -2,7 +2,7 @@ - + musichub.util (spoteezer 0.1.0 API) @@ -63,6 +63,14 @@ loadScripts(document, 'script');
      Class
      Description
      + +
      +
      Class offering a log writing method.
      +
      + +
      +
      Class offering a path validation method.
      +
       
      diff --git a/target/site/apidocs/musichub/util/package-tree.html b/target/site/apidocs/musichub/util/package-tree.html index 7817d93..ace19b6 100644 --- a/target/site/apidocs/musichub/util/package-tree.html +++ b/target/site/apidocs/musichub/util/package-tree.html @@ -2,7 +2,7 @@ - + musichub.util Class Hierarchy (spoteezer 0.1.0 API) @@ -63,6 +63,8 @@ loadScripts(document, 'script');
      • java.lang.Object
      • diff --git a/target/site/apidocs/musichub/util/package-use.html b/target/site/apidocs/musichub/util/package-use.html index afe8c6d..02a3fc7 100644 --- a/target/site/apidocs/musichub/util/package-use.html +++ b/target/site/apidocs/musichub/util/package-use.html @@ -2,7 +2,7 @@ - + Uses of Package musichub.util (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/overview-summary.html b/target/site/apidocs/overview-summary.html index 1961838..370d2cb 100644 --- a/target/site/apidocs/overview-summary.html +++ b/target/site/apidocs/overview-summary.html @@ -2,7 +2,7 @@ - + spoteezer 0.1.0 API diff --git a/target/site/apidocs/overview-tree.html b/target/site/apidocs/overview-tree.html index 69d606a..943af3e 100644 --- a/target/site/apidocs/overview-tree.html +++ b/target/site/apidocs/overview-tree.html @@ -2,7 +2,7 @@ - + Class Hierarchy (spoteezer 0.1.0 API) @@ -72,9 +72,10 @@ loadScripts(document, 'script');
      • musichub.business.Song
      +
    • musichub.util.LogHandler
    • musichub.main.Main
    • musichub.business.MusicHub
    • -
    • musichub.business.PathValidation
    • +
    • musichub.util.PathValidation
    • musichub.business.PlayList
    • java.lang.Throwable (implements java.io.Serializable)
        diff --git a/target/site/apidocs/serialized-form.html b/target/site/apidocs/serialized-form.html index 011c84f..781fdeb 100644 --- a/target/site/apidocs/serialized-form.html +++ b/target/site/apidocs/serialized-form.html @@ -2,7 +2,7 @@ - + Serialized Form (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/type-search-index.js b/target/site/apidocs/type-search-index.js index be00fa7..26dac6f 100644 --- a/target/site/apidocs/type-search-index.js +++ b/target/site/apidocs/type-search-index.js @@ -1 +1 @@ -typeSearchIndex = [{"p":"musichub.business","l":"Album"},{"l":"All Classes","u":"allclasses-index.html"},{"p":"musichub.business","l":"AudioBook"},{"p":"musichub.business","l":"AudioElement"},{"p":"musichub.business","l":"Category"},{"p":"musichub.business","l":"Genre"},{"p":"musichub.business","l":"Language"},{"p":"musichub.main","l":"Main"},{"p":"musichub.business","l":"MusicHub"},{"p":"musichub.business","l":"NoAlbumFoundException"},{"p":"musichub.business","l":"NoElementFoundException"},{"p":"musichub.business","l":"NoPlayListFoundException"},{"p":"musichub.business","l":"PathValidation"},{"p":"musichub.business","l":"PlayList"},{"p":"musichub.business","l":"Song"},{"p":"musichub.util","l":"XMLHandler"}];updateSearchResults(); \ No newline at end of file +typeSearchIndex = [{"p":"musichub.business","l":"Album"},{"l":"All Classes","u":"allclasses-index.html"},{"p":"musichub.business","l":"AudioBook"},{"p":"musichub.business","l":"AudioElement"},{"p":"musichub.business","l":"Category"},{"p":"musichub.business","l":"Genre"},{"p":"musichub.business","l":"Language"},{"p":"musichub.util","l":"LogHandler"},{"p":"musichub.main","l":"Main"},{"p":"musichub.business","l":"MusicHub"},{"p":"musichub.business","l":"NoAlbumFoundException"},{"p":"musichub.business","l":"NoElementFoundException"},{"p":"musichub.business","l":"NoPlayListFoundException"},{"p":"musichub.util","l":"PathValidation"},{"p":"musichub.business","l":"PlayList"},{"p":"musichub.business","l":"Song"},{"p":"musichub.util","l":"XMLHandler"}];updateSearchResults(); \ No newline at end of file diff --git a/target/site/jacoco/index.html b/target/site/jacoco/index.html index f0faf92..b800f3f 100644 --- a/target/site/jacoco/index.html +++ b/target/site/jacoco/index.html @@ -1 +1 @@ -spoteezer

        spoteezer

        ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
        Total2 723 of 2 7400 %209 of 2090 %20520772372788901718
        musichub.business2 0630 %1690 %17217449950381831516
        musichub.main5880 %400 %29291991993311
        musichub.util720 %n/a4425254411
        \ No newline at end of file +spoteezer

        spoteezer

        ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
        Total2 740 of 2 8032 %210 of 2100 %20621173074588931719
        musichub.business2 0630 %1690 %17217249949981811515
        musichub.main6050 %410 %30302062063311
        musichub.util726346 %n/a4925404913
        \ No newline at end of file diff --git a/target/site/jacoco/jacoco-sessions.html b/target/site/jacoco/jacoco-sessions.html index 478feda..4058e1f 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-e57e2e0026 juin 2021, 14:29:0826 juin 2021, 14:29:09
        DESKTOP-M4INQND-3e358c1a26 juin 2021, 14:29:3026 juin 2021, 14:29:30
        DESKTOP-M4INQND-56f4676726 juin 2021, 14:29:4926 juin 2021, 14:29:49
        DESKTOP-M4INQND-e88c304d26 juin 2021, 14:30:3026 juin 2021, 14:30:30
        DESKTOP-M4INQND-20d8781c26 juin 2021, 14:30:4226 juin 2021, 14:30:43
        DESKTOP-M4INQND-442c10a626 juin 2021, 14:30:5326 juin 2021, 14:30:53

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

        ClassId
        musichub.business.PathValidation23fa11bc9f27a597
        musichub.business.PathValidationTestc2c5ebe52507fc9e
        musichub.business.PathValidationTest325f5b44374bcaeb
        musichub.business.PathValidationTest4c7ade2bf38c6e74
        musichub.business.PathValidationTest192d10ac364dc41c
        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.org.apache.maven.shared.utils.StringUtils336ef03300f29635
        org.apache.maven.surefire.providerapi.AbstractProvider90f3b08fe8a1c87c
        org.apache.maven.surefire.report.ClassNameStackTraceFilter2e0e75f8104a222a
        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.PojoStackTraceWritercdfe959904c6726b
        org.apache.maven.surefire.report.ReporterConfiguration4281487891f02f69
        org.apache.maven.surefire.report.SafeThrowablee61429531d0f0c1c
        org.apache.maven.surefire.report.SimpleReportEntryced572f24a462295
        org.apache.maven.surefire.report.SmartStackTraceParser05e423188a7bbb31
        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.apiguardian.api.API.Status0341e8d99fc36573
        org.junit.jupiter.api.AssertEquals12bfbbf2e4327e63
        org.junit.jupiter.api.AssertFalse32fea5a28fb6a114
        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.BlacklistedExceptions73365157bacc50af
        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.ExceptionUtils0125033b30a9585f
        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
        org.opentest4j.AssertionFailedError2c5f69ceb24e9128
        org.opentest4j.ValueWrapper7d0d1c90c1c4c4b3
        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-be4b9e1226 juin 2021, 22:06:2526 juin 2021, 22:06:26
        DESKTOP-M4INQND-4db7b83426 juin 2021, 22:06:3826 juin 2021, 22:06:38

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

        ClassId
        java.sql.Dated25610486aed3f31
        java.sql.Timestampb848522074600355
        musichub.util.LogHandler727806a24a38b49a
        musichub.util.LogHandlerTestd7b83ca1e47cacd7
        musichub.util.PathValidation538d6ca0ac9478ad
        musichub.util.PathValidationTestb026f96f38b030a9
        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.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.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 9aff09d..6466855 100644 --- a/target/site/jacoco/jacoco.csv +++ b/target/site/jacoco/jacoco.csv @@ -1,7 +1,8 @@ GROUP,PACKAGE,CLASS,INSTRUCTION_MISSED,INSTRUCTION_COVERED,BRANCH_MISSED,BRANCH_COVERED,LINE_MISSED,LINE_COVERED,COMPLEXITY_MISSED,COMPLEXITY_COVERED,METHOD_MISSED,METHOD_COVERED +spoteezer,musichub.util,PathValidation,0,17,0,0,0,4,0,2,0,2 +spoteezer,musichub.util,LogHandler,0,46,0,0,0,11,0,3,0,3 spoteezer,musichub.util,XMLHandler,72,0,0,0,25,0,4,0,4,0 spoteezer,musichub.business,Album,330,0,14,0,84,0,16,0,9,0 -spoteezer,musichub.business,PathValidation,0,17,0,0,0,4,0,2,0,2 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 @@ -16,4 +17,4 @@ 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,56,0,0,0,6,0,3,0,3,0 spoteezer,musichub.business,AudioElement,266,0,11,0,72,0,16,0,9,0 -spoteezer,musichub.main,Main,588,0,40,0,199,0,29,0,3,0 +spoteezer,musichub.main,Main,605,0,41,0,206,0,30,0,3,0 diff --git a/target/site/jacoco/jacoco.xml b/target/site/jacoco/jacoco.xml index 5a939ee..2e46b55 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/PathValidation.html b/target/site/jacoco/musichub.business/PathValidation.html deleted file mode 100644 index 3b58bb2..0000000 --- a/target/site/jacoco/musichub.business/PathValidation.html +++ /dev/null @@ -1 +0,0 @@ -PathValidation

        PathValidation

        ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
        Total0 of 17100 %0 of 0n/a020402
        isPathValid(String)10100 %n/a010201
        PathValidation()7100 %n/a010201
        \ No newline at end of file diff --git a/target/site/jacoco/musichub.business/PathValidation.java.html b/target/site/jacoco/musichub.business/PathValidation.java.html deleted file mode 100644 index 4d22953..0000000 --- a/target/site/jacoco/musichub.business/PathValidation.java.html +++ /dev/null @@ -1,39 +0,0 @@ -PathValidation.java

        PathValidation.java

        package musichub.business;
        -
        -import java.nio.file.Files;
        -import java.nio.file.Path;
        -import java.nio.file.Paths;
        -
        -/**
        - * Class offering a path validation method.
        - *
        - * @author Aimeric ADJUTOR
        - * @version 1.0
        - */
        -
        -public final class PathValidation {
        -
        -    /**
        -     * Method that just throws an AssertionError if the class is called
        -     * @author Aimeric ADJUTOR
        -     * @throws AssertionError you can't instantiate this class
        -     */
        -
        -    public PathValidation() {
        -        throw new AssertionError("You just can't instantiate this class.");
        -    }
        -
        -    /**
        -     * Method that checks the validity of a given path
        -     *
        -     * @param inputPath the path given by the user
        -     * @return a boolean
        -     */
        -
        -    public static boolean isPathValid(String inputPath) {
        -        Path path = Paths.get(inputPath);
        -        return Files.exists(path);
        -    }
        -
        -}
        -
        \ 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 178e60b..421752c 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
        Total2 063 of 2 0800 %169 of 1690 %17217449950381831516
        MusicHub8030 %1140 %7979195195222211
        Album3300 %140 %161684849911
        AudioElement2660 %110 %161672729911
        PlayList2020 %140 %141453537711
        AudioBook1640 %100 %171739399911
        Song1050 %60 %121226267711
        Genre560 %n/a33663311
        Language490 %n/a33663311
        Category490 %n/a33663311
        SortByAuthor90 %n/a22222211
        SortByDate90 %n/a22222211
        SortByGenre90 %n/a22222211
        NoAlbumFoundException0 %n/a11221111
        NoPlayListFoundException0 %n/a11221111
        NoElementFoundException0 %n/a11221111
        PathValidation17100 %n/a02040201
        \ No newline at end of file +musichub.business

        musichub.business

        ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
        Total2 063 of 2 0630 %169 of 1690 %17217249949981811515
        MusicHub8030 %1140 %7979195195222211
        Album3300 %140 %161684849911
        AudioElement2660 %110 %161672729911
        PlayList2020 %140 %141453537711
        AudioBook1640 %100 %171739399911
        Song1050 %60 %121226267711
        Genre560 %n/a33663311
        Language490 %n/a33663311
        Category490 %n/a33663311
        SortByAuthor90 %n/a22222211
        SortByDate90 %n/a22222211
        SortByGenre90 %n/a22222211
        NoAlbumFoundException0 %n/a11221111
        NoPlayListFoundException0 %n/a11221111
        NoElementFoundException0 %n/a11221111
        \ 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 45a5b59..13ddd53 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
        Total2 063 of 2 0800 %169 of 1690 %17217449950381831516
        MusicHub.java8300 %1140 %8585201201282844
        Album.java3300 %140 %161684849911
        AudioElement.java2660 %110 %161672729911
        PlayList.java2020 %140 %141453537711
        AudioBook.java1640 %100 %171739399911
        Song.java1050 %60 %121226267711
        Genre.java560 %n/a33663311
        Language.java490 %n/a33663311
        Category.java490 %n/a33663311
        NoAlbumFoundException.java0 %n/a11221111
        NoPlayListFoundException.java0 %n/a11221111
        NoElementFoundException.java0 %n/a11221111
        PathValidation.java17100 %n/a02040201
        \ No newline at end of file +musichub.business

        musichub.business

        ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
        Total2 063 of 2 0630 %169 of 1690 %17217249949981811515
        MusicHub.java8300 %1140 %8585201201282844
        Album.java3300 %140 %161684849911
        AudioElement.java2660 %110 %161672729911
        PlayList.java2020 %140 %141453537711
        AudioBook.java1640 %100 %171739399911
        Song.java1050 %60 %121226267711
        Genre.java560 %n/a33663311
        Language.java490 %n/a33663311
        Category.java490 %n/a33663311
        NoAlbumFoundException.java0 %n/a11221111
        NoPlayListFoundException.java0 %n/a11221111
        NoElementFoundException.java0 %n/a11221111
        \ No newline at end of file diff --git a/target/site/jacoco/musichub.main/Main.html b/target/site/jacoco/musichub.main/Main.html index de45b84..ea5f0da 100644 --- a/target/site/jacoco/musichub.main/Main.html +++ b/target/site/jacoco/musichub.main/Main.html @@ -1 +1 @@ -Main

        Main

        ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
        Total588 of 5880 %40 of 400 %292919919933
        main(String[])5480 %400 %272718518511
        printAvailableCommands()370 %n/a11131311
        Main()0 %n/a111111
        \ No newline at end of file +Main

        Main

        ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
        Total605 of 6050 %41 of 410 %303020620633
        main(String[])5620 %410 %282819119111
        printAvailableCommands()400 %n/a11141411
        Main()0 %n/a111111
        \ 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 df39af0..7ec6a41 100644 --- a/target/site/jacoco/musichub.main/Main.java.html +++ b/target/site/jacoco/musichub.main/Main.java.html @@ -1,6 +1,7 @@ Main.java

        Main.java

        package musichub.main;
         
         import musichub.business.*;
        +import musichub.util.LogHandler;
         
         import javax.sound.sampled.LineUnavailableException;
         import javax.sound.sampled.UnsupportedAudioFileException;
        @@ -9,258 +10,267 @@ import java.util.Iterator;
         import java.util.List;
         import java.util.Scanner;
         
        -import static musichub.business.PathValidation.isPathValid;
        +import static musichub.util.PathValidation.isPathValid;
         
        -public class Main {
        +public class Main {
             public static void main(String[] args) throws UnsupportedAudioFileException, IOException, LineUnavailableException {
         
        -        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);
        +        if (choice.length() == 0) System.exit(0);
         
        -        while (!choice.equals("")) { //if the user puts nothing, quit the loop/system
        -            switch (choice.charAt(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);
        +                    System.exit(0);
                         case 'h':
        -                    printAvailableCommands();
        -                    choice = scan.nextLine();
        -                    break;
        +                    printAvailableCommands();
        +                    choice = scan.nextLine();
        +                    break;
                         case 't':
                             //album titles, ordered by date
        -                    System.out.println(theHub.getAlbumsTitlesSortedByDate());
        -                    printAvailableCommands();
        -                    choice = scan.nextLine();
        -                    break;
        +                    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());
        +                    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();
        +                    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;
        +                    	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());
        +                    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();
        +                    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;
        +                    	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;
        +                    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("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)) {
        -                        System.out.println("The music file was not found with the path you've provided.\nType h for available commands");
        -                        choice = scan.nextLine();
        -                        break;
        +                    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.";
        +                        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;
        +                    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("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();
        +                    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;
        +                        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;
        +                    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: ");
        +                    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();
        +                    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());
        -                        }
        +                            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;
        +                        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();
        +                    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;
        +                        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;
        +                    theHub.saveElements();
        +                    theHub.saveAlbums();
        +                    theHub.savePlayLists();
        +                    System.out.println("Elements, albums and playlists saved!");
        +                    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;
        +                    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("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("q: quit program");
        -    }
        +        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.main/index.html b/target/site/jacoco/musichub.main/index.html index c4e995d..191e4db 100644 --- a/target/site/jacoco/musichub.main/index.html +++ b/target/site/jacoco/musichub.main/index.html @@ -1 +1 @@ -musichub.main

        musichub.main

        ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
        Total588 of 5880 %40 of 400 %29291991993311
        Main5880 %400 %29291991993311
        \ No newline at end of file +musichub.main

        musichub.main

        ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
        Total605 of 6050 %41 of 410 %30302062063311
        Main6050 %410 %30302062063311
        \ No newline at end of file diff --git a/target/site/jacoco/musichub.main/index.source.html b/target/site/jacoco/musichub.main/index.source.html index 189774f..654a78a 100644 --- a/target/site/jacoco/musichub.main/index.source.html +++ b/target/site/jacoco/musichub.main/index.source.html @@ -1 +1 @@ -musichub.main

        musichub.main

        ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
        Total588 of 5880 %40 of 400 %29291991993311
        Main.java5880 %400 %29291991993311
        \ No newline at end of file +musichub.main

        musichub.main

        ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
        Total605 of 6050 %41 of 410 %30302062063311
        Main.java6050 %410 %30302062063311
        \ No newline at end of file diff --git a/target/site/jacoco/musichub.util/index.html b/target/site/jacoco/musichub.util/index.html index 1194ec1..20f0d2b 100644 --- a/target/site/jacoco/musichub.util/index.html +++ b/target/site/jacoco/musichub.util/index.html @@ -1 +1 @@ -musichub.util

        musichub.util

        ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
        Total72 of 720 %0 of 0n/a4425254411
        XMLHandler720 %n/a4425254411
        \ No newline at end of file +musichub.util

        musichub.util

        ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
        Total72 of 13546 %0 of 0n/a4925404913
        XMLHandler720 %n/a4425254411
        LogHandler46100 %n/a030110301
        PathValidation17100 %n/a02040201
        \ No newline at end of file diff --git a/target/site/jacoco/musichub.util/index.source.html b/target/site/jacoco/musichub.util/index.source.html index e6f6dba..f8bbd4e 100644 --- a/target/site/jacoco/musichub.util/index.source.html +++ b/target/site/jacoco/musichub.util/index.source.html @@ -1 +1 @@ -musichub.util

        musichub.util

        ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
        Total72 of 720 %0 of 0n/a4425254411
        XMLHandler.java720 %n/a4425254411
        \ No newline at end of file +musichub.util

        musichub.util

        ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
        Total72 of 13546 %0 of 0n/a4925404913
        XMLHandler.java720 %n/a4425254411
        LogHandler.java46100 %n/a030110301
        PathValidation.java17100 %n/a02040201
        \ No newline at end of file diff --git a/target/spoteezer-0.1.0.jar b/target/spoteezer-0.1.0.jar index 16e8971..ea96baa 100644 Binary files a/target/spoteezer-0.1.0.jar and b/target/spoteezer-0.1.0.jar differ diff --git a/target/surefire-reports/TEST-musichub.business.PathValidationTest.xml b/target/surefire-reports/TEST-musichub.business.PathValidationTest.xml deleted file mode 100644 index 4a19c26..0000000 --- a/target/surefire-reports/TEST-musichub.business.PathValidationTest.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/target/surefire-reports/musichub.business.PathValidationTest.txt b/target/surefire-reports/musichub.business.PathValidationTest.txt deleted file mode 100644 index 87f14cb..0000000 --- a/target/surefire-reports/musichub.business.PathValidationTest.txt +++ /dev/null @@ -1,4 +0,0 @@ -------------------------------------------------------------------------------- -Test set: musichub.business.PathValidationTest -------------------------------------------------------------------------------- -Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 s - in musichub.business.PathValidationTest -- cgit v1.2.3 From d4c6fe18ca94ed0880720d7ff135b82920d764b4 Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Sun, 27 Jun 2021 11:16:21 +0200 Subject: XMLHandler tests covered at 91% --- files/parse_JUnit.xml | 4 + log/spoteezer.log | 22 +- src/test/java/musichub/util/LogHandlerTest.java | 20 +- .../java/musichub/util/PathValidationTest.java | 20 +- src/test/java/musichub/util/XMLHandlerTest.java | 14 +- target/jacoco.exec | Bin 27236 -> 14814 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 | 1 + .../testCompile/default-testCompile/inputFiles.lst | 1 + target/original-spoteezer-0.1.0.jar | Bin 33244 -> 0 bytes target/site/apidocs/allclasses-index.html | 114 --- target/site/apidocs/allpackages-index.html | 76 -- target/site/apidocs/element-list | 3 - target/site/apidocs/help-doc.html | 162 ---- target/site/apidocs/index-all.html | 410 ---------- target/site/apidocs/index.html | 78 -- target/site/apidocs/jquery-ui.overrides.css | 34 - target/site/apidocs/member-search-index.js | 1 - target/site/apidocs/module-search-index.js | 1 - target/site/apidocs/musichub/business/Album.html | 250 ------- .../site/apidocs/musichub/business/AudioBook.html | 273 ------- .../apidocs/musichub/business/AudioElement.html | 325 -------- .../site/apidocs/musichub/business/Category.html | 258 ------- target/site/apidocs/musichub/business/Genre.html | 266 ------- .../site/apidocs/musichub/business/Language.html | 258 ------- .../site/apidocs/musichub/business/MusicHub.html | 412 ---------- .../musichub/business/NoAlbumFoundException.html | 150 ---- .../musichub/business/NoElementFoundException.html | 150 ---- .../business/NoPlayListFoundException.html | 150 ---- .../site/apidocs/musichub/business/PlayList.html | 215 ------ target/site/apidocs/musichub/business/Song.html | 251 ------- .../apidocs/musichub/business/class-use/Album.html | 99 --- .../musichub/business/class-use/AudioBook.html | 65 -- .../musichub/business/class-use/AudioElement.html | 124 --- .../musichub/business/class-use/Category.html | 101 --- .../apidocs/musichub/business/class-use/Genre.html | 98 --- .../musichub/business/class-use/Language.html | 101 --- .../musichub/business/class-use/MusicHub.html | 65 -- .../business/class-use/NoAlbumFoundException.html | 101 --- .../class-use/NoElementFoundException.html | 95 --- .../class-use/NoPlayListFoundException.html | 94 --- .../musichub/business/class-use/PlayList.html | 99 --- .../apidocs/musichub/business/class-use/Song.html | 90 --- .../apidocs/musichub/business/package-summary.html | 116 --- .../apidocs/musichub/business/package-tree.html | 114 --- .../apidocs/musichub/business/package-use.html | 105 --- target/site/apidocs/musichub/main/Main.html | 175 ----- .../site/apidocs/musichub/main/class-use/Main.html | 65 -- .../apidocs/musichub/main/package-summary.html | 80 -- .../site/apidocs/musichub/main/package-tree.html | 79 -- target/site/apidocs/musichub/main/package-use.html | 65 -- target/site/apidocs/musichub/util/XMLHandler.html | 186 ----- .../musichub/util/class-use/XMLHandler.html | 65 -- .../apidocs/musichub/util/package-summary.html | 88 --- .../site/apidocs/musichub/util/package-tree.html | 81 -- target/site/apidocs/musichub/util/package-use.html | 65 -- target/site/apidocs/overview-summary.html | 27 - target/site/apidocs/overview-tree.html | 120 --- target/site/apidocs/package-search-index.js | 1 - target/site/apidocs/resources/glass.png | Bin 499 -> 0 bytes target/site/apidocs/resources/x.png | Bin 394 -> 0 bytes .../images/ui-bg_glass_55_fbf9ee_1x400.png | Bin 335 -> 0 bytes .../images/ui-bg_glass_65_dadada_1x400.png | Bin 262 -> 0 bytes .../images/ui-bg_glass_75_dadada_1x400.png | Bin 262 -> 0 bytes .../images/ui-bg_glass_75_e6e6e6_1x400.png | Bin 262 -> 0 bytes .../images/ui-bg_glass_95_fef1ec_1x400.png | Bin 332 -> 0 bytes .../ui-bg_highlight-soft_75_cccccc_1x100.png | Bin 280 -> 0 bytes .../script-dir/images/ui-icons_222222_256x240.png | Bin 6922 -> 0 bytes .../script-dir/images/ui-icons_2e83ff_256x240.png | Bin 4549 -> 0 bytes .../script-dir/images/ui-icons_454545_256x240.png | Bin 6992 -> 0 bytes .../script-dir/images/ui-icons_888888_256x240.png | Bin 6999 -> 0 bytes .../script-dir/images/ui-icons_cd0a0a_256x240.png | Bin 4549 -> 0 bytes target/site/apidocs/script-dir/jquery-3.5.1.min.js | 2 - target/site/apidocs/script-dir/jquery-ui.min.css | 7 - target/site/apidocs/script-dir/jquery-ui.min.js | 6 - .../apidocs/script-dir/jquery-ui.structure.min.css | 5 - target/site/apidocs/script.js | 132 ---- target/site/apidocs/search.js | 354 --------- target/site/apidocs/serialized-form.html | 89 --- target/site/apidocs/stylesheet.css | 827 --------------------- target/site/apidocs/tag-search-index.js | 1 - target/site/apidocs/type-search-index.js | 1 - target/site/jacoco/index.html | 2 +- target/site/jacoco/jacoco-sessions.html | 2 +- target/site/jacoco/jacoco.csv | 2 +- target/site/jacoco/jacoco.xml | 2 +- target/site/jacoco/musichub.util/XMLHandler.html | 2 +- .../site/jacoco/musichub.util/XMLHandler.java.html | 42 +- target/site/jacoco/musichub.util/index.html | 2 +- target/site/jacoco/musichub.util/index.source.html | 2 +- target/spoteezer-0.1.0.jar | Bin 369146 -> 0 bytes 93 files changed, 82 insertions(+), 7962 deletions(-) create mode 100644 files/parse_JUnit.xml delete mode 100644 target/javadoc-bundle-options/javadoc-options-javadoc-resources.xml delete mode 100644 target/maven-archiver/pom.properties delete mode 100644 target/maven-javadoc-plugin-stale-data.txt delete mode 100644 target/original-spoteezer-0.1.0.jar delete mode 100644 target/site/apidocs/allclasses-index.html delete mode 100644 target/site/apidocs/allpackages-index.html delete mode 100644 target/site/apidocs/element-list delete mode 100644 target/site/apidocs/help-doc.html delete mode 100644 target/site/apidocs/index-all.html delete mode 100644 target/site/apidocs/index.html delete mode 100644 target/site/apidocs/jquery-ui.overrides.css delete mode 100644 target/site/apidocs/member-search-index.js delete mode 100644 target/site/apidocs/module-search-index.js delete mode 100644 target/site/apidocs/musichub/business/Album.html delete mode 100644 target/site/apidocs/musichub/business/AudioBook.html delete mode 100644 target/site/apidocs/musichub/business/AudioElement.html delete mode 100644 target/site/apidocs/musichub/business/Category.html delete mode 100644 target/site/apidocs/musichub/business/Genre.html delete mode 100644 target/site/apidocs/musichub/business/Language.html delete mode 100644 target/site/apidocs/musichub/business/MusicHub.html delete mode 100644 target/site/apidocs/musichub/business/NoAlbumFoundException.html delete mode 100644 target/site/apidocs/musichub/business/NoElementFoundException.html delete mode 100644 target/site/apidocs/musichub/business/NoPlayListFoundException.html delete mode 100644 target/site/apidocs/musichub/business/PlayList.html delete mode 100644 target/site/apidocs/musichub/business/Song.html delete mode 100644 target/site/apidocs/musichub/business/class-use/Album.html delete mode 100644 target/site/apidocs/musichub/business/class-use/AudioBook.html delete mode 100644 target/site/apidocs/musichub/business/class-use/AudioElement.html delete mode 100644 target/site/apidocs/musichub/business/class-use/Category.html delete mode 100644 target/site/apidocs/musichub/business/class-use/Genre.html delete mode 100644 target/site/apidocs/musichub/business/class-use/Language.html delete mode 100644 target/site/apidocs/musichub/business/class-use/MusicHub.html delete mode 100644 target/site/apidocs/musichub/business/class-use/NoAlbumFoundException.html delete mode 100644 target/site/apidocs/musichub/business/class-use/NoElementFoundException.html delete mode 100644 target/site/apidocs/musichub/business/class-use/NoPlayListFoundException.html delete mode 100644 target/site/apidocs/musichub/business/class-use/PlayList.html delete mode 100644 target/site/apidocs/musichub/business/class-use/Song.html delete mode 100644 target/site/apidocs/musichub/business/package-summary.html delete mode 100644 target/site/apidocs/musichub/business/package-tree.html delete mode 100644 target/site/apidocs/musichub/business/package-use.html delete mode 100644 target/site/apidocs/musichub/main/Main.html delete mode 100644 target/site/apidocs/musichub/main/class-use/Main.html delete mode 100644 target/site/apidocs/musichub/main/package-summary.html delete mode 100644 target/site/apidocs/musichub/main/package-tree.html delete mode 100644 target/site/apidocs/musichub/main/package-use.html delete mode 100644 target/site/apidocs/musichub/util/XMLHandler.html delete mode 100644 target/site/apidocs/musichub/util/class-use/XMLHandler.html delete mode 100644 target/site/apidocs/musichub/util/package-summary.html delete mode 100644 target/site/apidocs/musichub/util/package-tree.html delete mode 100644 target/site/apidocs/musichub/util/package-use.html delete mode 100644 target/site/apidocs/overview-summary.html delete mode 100644 target/site/apidocs/overview-tree.html delete mode 100644 target/site/apidocs/package-search-index.js delete mode 100644 target/site/apidocs/resources/glass.png delete mode 100644 target/site/apidocs/resources/x.png delete mode 100644 target/site/apidocs/script-dir/images/ui-bg_glass_55_fbf9ee_1x400.png delete mode 100644 target/site/apidocs/script-dir/images/ui-bg_glass_65_dadada_1x400.png delete mode 100644 target/site/apidocs/script-dir/images/ui-bg_glass_75_dadada_1x400.png delete mode 100644 target/site/apidocs/script-dir/images/ui-bg_glass_75_e6e6e6_1x400.png delete mode 100644 target/site/apidocs/script-dir/images/ui-bg_glass_95_fef1ec_1x400.png delete mode 100644 target/site/apidocs/script-dir/images/ui-bg_highlight-soft_75_cccccc_1x100.png delete mode 100644 target/site/apidocs/script-dir/images/ui-icons_222222_256x240.png delete mode 100644 target/site/apidocs/script-dir/images/ui-icons_2e83ff_256x240.png delete mode 100644 target/site/apidocs/script-dir/images/ui-icons_454545_256x240.png delete mode 100644 target/site/apidocs/script-dir/images/ui-icons_888888_256x240.png delete mode 100644 target/site/apidocs/script-dir/images/ui-icons_cd0a0a_256x240.png delete mode 100644 target/site/apidocs/script-dir/jquery-3.5.1.min.js delete mode 100644 target/site/apidocs/script-dir/jquery-ui.min.css delete mode 100644 target/site/apidocs/script-dir/jquery-ui.min.js delete mode 100644 target/site/apidocs/script-dir/jquery-ui.structure.min.css delete mode 100644 target/site/apidocs/script.js delete mode 100644 target/site/apidocs/search.js delete mode 100644 target/site/apidocs/serialized-form.html delete mode 100644 target/site/apidocs/stylesheet.css delete mode 100644 target/site/apidocs/tag-search-index.js delete mode 100644 target/site/apidocs/type-search-index.js delete mode 100644 target/spoteezer-0.1.0.jar (limited to 'target/site/jacoco/index.html') diff --git a/files/parse_JUnit.xml b/files/parse_JUnit.xml new file mode 100644 index 0000000..92f7c75 --- /dev/null +++ b/files/parse_JUnit.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/log/spoteezer.log b/log/spoteezer.log index 834e29f..910a4f2 100644 --- a/log/spoteezer.log +++ b/log/spoteezer.log @@ -3,4 +3,24 @@ [2021-06-26 21:45:11.453] WARNING: The music file was not found with the path you've provided. [2021-06-26 22:05:28.614] INFO: JUnit test [2021-06-26 22:06:26.191] INFO: JUnit test -[2021-06-26 22:06:38.453] INFO: JUnit test \ No newline at end of file +[2021-06-26 22:06:38.453] INFO: JUnit test +[2021-06-27 10:23:31.646] INFO: JUnit test +[2021-06-27 10:31:25.514] INFO: JUnit test +[2021-06-27 10:38:07.141] INFO: JUnit test +[2021-06-27 10:42:26.41] INFO: JUnit test +[2021-06-27 10:44:04.343] INFO: JUnit test +[2021-06-27 10:44:22.383] INFO: JUnit test +[2021-06-27 10:50:24.719] INFO: JUnit test +[2021-06-27 10:52:37.112] INFO: JUnit test +[2021-06-27 10:52:59.042] INFO: JUnit test +[2021-06-27 10:57:26.087] INFO: JUnit test +[2021-06-27 10:58:04.601] INFO: JUnit test +[2021-06-27 11:03:08.428] INFO: JUnit test +[2021-06-27 11:05:43.601] INFO: JUnit test +[2021-06-27 11:06:15.442] INFO: JUnit test +[2021-06-27 11:06:35.753] INFO: JUnit test +[2021-06-27 11:08:19.669] INFO: JUnit test +[2021-06-27 11:09:37.095] INFO: JUnit test +[2021-06-27 11:09:46.982] INFO: JUnit test +[2021-06-27 11:13:46.639] INFO: JUnit test +[2021-06-27 11:15:45.379] INFO: JUnit test \ No newline at end of file diff --git a/src/test/java/musichub/util/LogHandlerTest.java b/src/test/java/musichub/util/LogHandlerTest.java index 17b47f6..3965520 100644 --- a/src/test/java/musichub/util/LogHandlerTest.java +++ b/src/test/java/musichub/util/LogHandlerTest.java @@ -11,6 +11,16 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; public class LogHandlerTest { + @Test + void testLogHandlerClass() { + try { + LogHandler logHandlerClass = new LogHandler(); + } catch (Error e) { + assertTrue(e instanceof AssertionError); + assertEquals("You just can't instantiate this class.", e.getMessage()); + } + } + @Test void testWrite() { try { @@ -28,14 +38,4 @@ public class LogHandlerTest { e.printStackTrace(); } } - - @Test - void testLogHandlerClass() { - try { - LogHandler logHandlerClass = new LogHandler(); - } catch (Error ex) { - assertTrue(ex instanceof AssertionError); - assertEquals("You just can't instantiate this class.", ex.getMessage()); - } - } } diff --git a/src/test/java/musichub/util/PathValidationTest.java b/src/test/java/musichub/util/PathValidationTest.java index 4c7a3d6..b0e0c38 100644 --- a/src/test/java/musichub/util/PathValidationTest.java +++ b/src/test/java/musichub/util/PathValidationTest.java @@ -7,20 +7,20 @@ import static musichub.util.PathValidation.isPathValid; import static org.junit.jupiter.api.Assertions.*; public class PathValidationTest { - @Test - void testIsPathValid() { - assertTrue(isPathValid("Song/Side_To_Side.wav")); //the right path - assertFalse(isPathValid("wrong_path/Side_To_Side.wav")); //wrong path - assertFalse(isPathValid("Song/Side_To_Side.mp3")); //wrong extension - } - @Test void testPathValidationClass() { try { PathValidation pathValidationClass = new PathValidation(); - } catch (Error ex) { - assertTrue(ex instanceof AssertionError); - assertEquals("You just can't instantiate this class.", ex.getMessage()); + } catch (Error e) { + assertTrue(e instanceof AssertionError); + assertEquals("You just can't instantiate this class.", e.getMessage()); } } + + @Test + void testIsPathValid() { + assertTrue(isPathValid("Song/Side_To_Side.wav")); //the right path + assertFalse(isPathValid("wrong_path/Side_To_Side.wav")); //wrong path + assertFalse(isPathValid("Song/Side_To_Side.mp3")); //wrong extension + } } diff --git a/src/test/java/musichub/util/XMLHandlerTest.java b/src/test/java/musichub/util/XMLHandlerTest.java index 1be2258..7b5a791 100644 --- a/src/test/java/musichub/util/XMLHandlerTest.java +++ b/src/test/java/musichub/util/XMLHandlerTest.java @@ -10,11 +10,6 @@ public class XMLHandlerTest { final String DIR = System.getProperty("user.dir"); final String JUNIT_FILE_PATH = DIR + "/files/JUnit.xml"; -/* @Test - void testXMLHandlerClass() { - XMLHandler xmlHandler = new XMLHandler(); - }*/ - @Test void testCreateXML() { XMLHandler xmlHandler = new XMLHandler(); //XML class @@ -24,7 +19,12 @@ public class XMLHandlerTest { @Test void testParseXMLFile() { + final String PARSE_DIR = System.getProperty("user.dir"); + final String PARSE_FILE_PATH = PARSE_DIR + "/files/parse_JUnit.xml"; XMLHandler xmlHandler = new XMLHandler(); - NodeList albumNodes = xmlHandler.parseXMLFile(JUNIT_FILE_PATH); + //wrong content of file resulting in an exception, will print it during test but it's normal + NodeList junitNodes = xmlHandler.parseXMLFile(JUNIT_FILE_PATH); + //right content of file + NodeList parseNodes = xmlHandler.parseXMLFile(PARSE_FILE_PATH); } -} +} \ No newline at end of file diff --git a/target/jacoco.exec b/target/jacoco.exec index 5deaa95..51b090d 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 deleted file mode 100644 index 8b89c97..0000000 --- a/target/javadoc-bundle-options/javadoc-options-javadoc-resources.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - src/main/javadoc - diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties deleted file mode 100644 index 9bf0389..0000000 --- a/target/maven-archiver/pom.properties +++ /dev/null @@ -1,5 +0,0 @@ -#Generated by Maven -#Sat Jun 26 22:06:26 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 deleted file mode 100644 index e5ff7a2..0000000 --- a/target/maven-javadoc-plugin-stale-data.txt +++ /dev/null @@ -1,66 +0,0 @@ -@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 = 1624737994231 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\allpackages-index.html = 1624737994233 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\element-list = 1624737994134 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\help-doc.html = 1624737994257 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\index-all.html = 1624737994253 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\index.html = 1624737994214 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\jquery-ui.overrides.css = 1624737994280 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\member-search-index.js = 1624737994238 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\module-search-index.js = 1624737994234 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\overview-summary.html = 1624737994255 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\overview-tree.html = 1624737994211 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\package-search-index.js = 1624737994235 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\script.js = 1624737994260 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\search.js = 1624737994263 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\serialized-form.html = 1624737994156 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\stylesheet.css = 1624737994259 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\tag-search-index.js = 1624737994239 -C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\type-search-index.js = 1624737994236 \ 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 13c2c99..5941d84 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,2 +1,3 @@ +musichub\util\XMLHandlerTest.class musichub\util\PathValidationTest.class musichub\util\LogHandlerTest.class diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst index 1b9eea3..8cbb196 100644 --- a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst +++ b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst @@ -1,2 +1,3 @@ +C:\Users\SoftA\Documents\spoteezer\src\test\java\musichub\util\XMLHandlerTest.java C:\Users\SoftA\Documents\spoteezer\src\test\java\musichub\util\LogHandlerTest.java C:\Users\SoftA\Documents\spoteezer\src\test\java\musichub\util\PathValidationTest.java diff --git a/target/original-spoteezer-0.1.0.jar b/target/original-spoteezer-0.1.0.jar deleted file mode 100644 index e14293d..0000000 Binary files a/target/original-spoteezer-0.1.0.jar and /dev/null differ diff --git a/target/site/apidocs/allclasses-index.html b/target/site/apidocs/allclasses-index.html deleted file mode 100644 index e4d9f65..0000000 --- a/target/site/apidocs/allclasses-index.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - -All Classes (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        All Classes

        -
        -
        -
        -
        -
        -
        Class
        -
        Description
        - -
         
        - -
         
        - -
         
        - -
         
        - -
         
        - -
         
        - -
        -
        Class offering a log writing method.
        -
        - -
         
        - -
         
        - -
         
        - -
         
        - -
         
        - -
        -
        Class offering a path validation method.
        -
        - -
         
        - -
         
        - -
         
        -
        -
        -
        -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/allpackages-index.html b/target/site/apidocs/allpackages-index.html deleted file mode 100644 index 1670da5..0000000 --- a/target/site/apidocs/allpackages-index.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - -All Packages (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        All Packages

        -
        -
        Package Summary
        -
        -
        Package
        -
        Description
        - -
         
        - -
         
        - -
         
        -
        -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/element-list b/target/site/apidocs/element-list deleted file mode 100644 index 87e8cdc..0000000 --- a/target/site/apidocs/element-list +++ /dev/null @@ -1,3 +0,0 @@ -musichub.business -musichub.main -musichub.util diff --git a/target/site/apidocs/help-doc.html b/target/site/apidocs/help-doc.html deleted file mode 100644 index 4d85c2b..0000000 --- a/target/site/apidocs/help-doc.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - -API Help (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        How This API Document Is Organized

        -
        This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
        -
        -
        -

        Overview

        -

        The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

        -
        -
        -

        Package

        -

        Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain six categories:

        -
          -
        • Interfaces
        • -
        • Classes
        • -
        • Enum Classes
        • -
        • Exceptions
        • -
        • Errors
        • -
        • Annotation Interfaces
        • -
        -
        -
        -

        Class or Interface

        -

        Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

        -
          -
        • Class Inheritance Diagram
        • -
        • Direct Subclasses
        • -
        • All Known Subinterfaces
        • -
        • All Known Implementing Classes
        • -
        • Class or Interface Declaration
        • -
        • Class or Interface Description
        • -
        -
        -
          -
        • Nested Class Summary
        • -
        • Field Summary
        • -
        • Property Summary
        • -
        • Constructor Summary
        • -
        • Method Summary
        • -
        -
        -
          -
        • Field Details
        • -
        • Property Details
        • -
        • Constructor Details
        • -
        • Method Details
        • -
        -

        The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

        -
        -
        -

        Annotation Interface

        -

        Each annotation interface has its own separate page with the following sections:

        -
          -
        • Annotation Interface Declaration
        • -
        • Annotation Interface Description
        • -
        • Required Element Summary
        • -
        • Optional Element Summary
        • -
        • Element Details
        • -
        -
        -
        -

        Enum Class

        -

        Each enum class has its own separate page with the following sections:

        -
          -
        • Enum Declaration
        • -
        • Enum Description
        • -
        • Enum Constant Summary
        • -
        • Enum Constant Details
        • -
        -
        -
        -

        Use

        -

        Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its "Use" page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

        -
        -
        -

        Tree (Class Hierarchy)

        -

        There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with java.lang.Object. Interfaces do not inherit from java.lang.Object.

        -
          -
        • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
        • -
        • When viewing a particular package, class or interface page, clicking on "Tree" displays the hierarchy for only that package.
        • -
        -
        -
        -

        Index

        -

        The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields, as well as lists of all packages and all classes.

        -
        -
        -

        Serialized Form

        -

        Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to those who implement rather than use the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See Also" section of the class description.

        -
        -
        -

        Search

        -

        You can search for definitions of modules, packages, types, fields, methods, system properties and other terms defined in the API, using some or all of the name, optionally using "camel-case" abbreviations. For example:

        -
          -
        • j.l.obj will match "java.lang.Object"
        • -
        • InpStr will match "java.io.InputStream"
        • -
        • HM.cK will match "java.util.HashMap.containsKey(Object)"
        • -
        -

        Refer to the Javadoc Search Specification for a full description of search features.

        -
        -
        -This help file applies to API documentation generated by the standard doclet.
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/index-all.html b/target/site/apidocs/index-all.html deleted file mode 100644 index 0df0f51..0000000 --- a/target/site/apidocs/index-all.html +++ /dev/null @@ -1,410 +0,0 @@ - - - - - -Index (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Index

        -
        -A C D E F G H I J L M N P R S T U V W X Y 
        All Classes|All Packages|Serialized Form -

        A

        -
        -
        addAlbum(Album) - Method in class musichub.business.MusicHub
        -
         
        -
        addElement(UUID) - Method in class musichub.business.PlayList
        -
         
        -
        addElement(AudioElement) - Method in class musichub.business.MusicHub
        -
         
        -
        addElementToAlbum(String, String) - Method in class musichub.business.MusicHub
        -
         
        -
        addElementToPlayList(String, String) - Method in class musichub.business.MusicHub
        -
         
        -
        addPlaylist(PlayList) - Method in class musichub.business.MusicHub
        -
         
        -
        addSong(UUID) - Method in class musichub.business.Album
        -
         
        -
        Album - Class in musichub.business
        -
         
        -
        Album(String, String, int, String) - Constructor for class musichub.business.Album
        -
         
        -
        Album(String, String, int, String, String, ArrayList<UUID>) - Constructor for class musichub.business.Album
        -
         
        -
        Album(Element) - Constructor for class musichub.business.Album
        -
         
        -
        albums() - Method in class musichub.business.MusicHub
        -
         
        -
        ALBUMS_FILE_PATH - Static variable in class musichub.business.MusicHub
        -
         
        -
        artist - Variable in class musichub.business.AudioElement
        -
         
        -
        AudioBook - Class in musichub.business
        -
         
        -
        AudioBook(String, String, int, String, String, String) - Constructor for class musichub.business.AudioBook
        -
         
        -
        AudioBook(String, String, int, String, String, String, String) - Constructor for class musichub.business.AudioBook
        -
         
        -
        AudioBook(Element) - Constructor for class musichub.business.AudioBook
        -
         
        -
        AudioElement - Class in musichub.business
        -
         
        -
        AudioElement(String, String, int, String) - Constructor for class musichub.business.AudioElement
        -
         
        -
        AudioElement(String, String, int, String, String) - Constructor for class musichub.business.AudioElement
        -
         
        -
        AudioElement(Element) - Constructor for class musichub.business.AudioElement
        -
         
        -
        -

        C

        -
        -
        Category - Enum Class in musichub.business
        -
         
        -
        CLASSIC - Enum constant in enum class musichub.business.Genre
        -
         
        -
        content - Variable in class musichub.business.AudioElement
        -
         
        -
        createXMLDocument() - Method in class musichub.util.XMLHandler
        -
         
        -
        createXMLElement(Document, Element) - Method in class musichub.business.Album
        -
         
        -
        createXMLElement(Document, Element) - Method in class musichub.business.AudioBook
        -
         
        -
        createXMLElement(Document, Element) - Method in class musichub.business.AudioElement
        -
         
        -
        createXMLElement(Document, Element) - Method in class musichub.business.PlayList
        -
         
        -
        createXMLElement(Document, Element) - Method in class musichub.business.Song
        -
         
        -
        createXMLFile(Document, String) - Method in class musichub.util.XMLHandler
        -
         
        -
        -

        D

        -
        -
        deletePlayList(String) - Method in class musichub.business.MusicHub
        -
         
        -
        DIR - Static variable in class musichub.business.MusicHub
        -
         
        -
        DOCUMENTARY - Enum constant in enum class musichub.business.Category
        -
         
        -
        -

        E

        -
        -
        elements() - Method in class musichub.business.MusicHub
        -
         
        -
        ELEMENTS_FILE_PATH - Static variable in class musichub.business.MusicHub
        -
         
        -
        ENGLISH - Enum constant in enum class musichub.business.Language
        -
         
        -
        -

        F

        -
        -
        FRENCH - Enum constant in enum class musichub.business.Language
        -
         
        -
        -

        G

        -
        -
        Genre - Enum Class in musichub.business
        -
         
        -
        GERMAN - Enum constant in enum class musichub.business.Language
        -
         
        -
        getAlbumSongs(String) - Method in class musichub.business.MusicHub
        -
         
        -
        getAlbumSongsSortedByGenre(String) - Method in class musichub.business.MusicHub
        -
         
        -
        getAlbumsTitlesSortedByDate() - Method in class musichub.business.MusicHub
        -
         
        -
        getArtist() - Method in class musichub.business.AudioElement
        -
         
        -
        getAudiobooksTitlesSortedByAuthor() - Method in class musichub.business.MusicHub
        -
         
        -
        getAudioElement(List<AudioElement>, String) - Method in class musichub.business.MusicHub
        -
         
        -
        getCategory() - Method in class musichub.business.AudioBook
        -
         
        -
        getCategory() - Method in enum class musichub.business.Category
        -
         
        -
        getDate() - Method in class musichub.business.Album
        -
         
        -
        getElements() - Method in class musichub.business.PlayList
        -
         
        -
        getGenre() - Method in enum class musichub.business.Genre
        -
         
        -
        getGenre() - Method in class musichub.business.Song
        -
         
        -
        getLanguage() - Method in class musichub.business.AudioBook
        -
         
        -
        getLanguage() - Method in enum class musichub.business.Language
        -
         
        -
        getSongs() - Method in class musichub.business.Album
        -
         
        -
        getSongsRandomly() - Method in class musichub.business.Album
        -
         
        -
        getTitle() - Method in class musichub.business.Album
        -
         
        -
        getTitle() - Method in class musichub.business.AudioElement
        -
         
        -
        getTitle() - Method in class musichub.business.PlayList
        -
         
        -
        getUUID() - Method in class musichub.business.AudioElement
        -
         
        -
        -

        H

        -
        -
        HIPHOP - Enum constant in enum class musichub.business.Genre
        -
         
        -
        -

        I

        -
        -
        isPathValid(String) - Static method in class musichub.util.PathValidation
        -
        -
        Method that checks the validity of a given path
        -
        -
        ITALIAN - Enum constant in enum class musichub.business.Language
        -
         
        -
        -

        J

        -
        -
        JAZZ - Enum constant in enum class musichub.business.Genre
        -
         
        -
        -

        L

        -
        -
        Language - Enum Class in musichub.business
        -
         
        -
        lengthInSeconds - Variable in class musichub.business.AudioElement
        -
         
        -
        LogHandler - Class in musichub.util
        -
        -
        Class offering a log writing method.
        -
        -
        LogHandler() - Constructor for class musichub.util.LogHandler
        -
        -
        Method that just throws an AssertionError if the class is called
        -
        -
        -

        M

        -
        -
        main(String[]) - Static method in class musichub.main.Main
        -
         
        -
        Main - Class in musichub.main
        -
         
        -
        Main() - Constructor for class musichub.main.Main
        -
         
        -
        manageAudioElement() - Method in class musichub.business.AudioElement
        -
         
        -
        MusicHub - Class in musichub.business
        -
         
        -
        MusicHub() - Constructor for class musichub.business.MusicHub
        -
         
        -
        musichub.business - package musichub.business
        -
         
        -
        musichub.main - package musichub.main
        -
         
        -
        musichub.util - package musichub.util
        -
         
        -
        -

        N

        -
        -
        NoAlbumFoundException - Exception in musichub.business
        -
         
        -
        NoAlbumFoundException(String) - Constructor for exception musichub.business.NoAlbumFoundException
        -
         
        -
        NoElementFoundException - Exception in musichub.business
        -
         
        -
        NoElementFoundException(String) - Constructor for exception musichub.business.NoElementFoundException
        -
         
        -
        NoPlayListFoundException - Exception in musichub.business
        -
         
        -
        NoPlayListFoundException(String) - Constructor for exception musichub.business.NoPlayListFoundException
        -
         
        -
        NOVEL - Enum constant in enum class musichub.business.Category
        -
         
        -
        -

        P

        -
        -
        parseXMLFile(String) - Method in class musichub.util.XMLHandler
        -
         
        -
        PathValidation - Class in musichub.util
        -
        -
        Class offering a path validation method.
        -
        -
        PathValidation() - Constructor for class musichub.util.PathValidation
        -
        -
        Method that just throws an AssertionError if the class is called
        -
        -
        PlayList - Class in musichub.business
        -
         
        -
        PlayList(String) - Constructor for class musichub.business.PlayList
        -
         
        -
        PlayList(String, String, ArrayList<UUID>) - Constructor for class musichub.business.PlayList
        -
         
        -
        PlayList(Element) - Constructor for class musichub.business.PlayList
        -
         
        -
        playlists() - Method in class musichub.business.MusicHub
        -
         
        -
        PLAYLISTS_FILE_PATH - Static variable in class musichub.business.MusicHub
        -
         
        -
        POP - Enum constant in enum class musichub.business.Genre
        -
         
        -
        -

        R

        -
        -
        RAP - Enum constant in enum class musichub.business.Genre
        -
         
        -
        read() - Static method in class musichub.util.LogHandler
        -
        -
        Method that prints the content of spoteezer.log
        -
        -
        ROCK - Enum constant in enum class musichub.business.Genre
        -
         
        -
        -

        S

        -
        -
        saveAlbums() - Method in class musichub.business.MusicHub
        -
         
        -
        saveElements() - Method in class musichub.business.MusicHub
        -
         
        -
        savePlayLists() - Method in class musichub.business.MusicHub
        -
         
        -
        setCategory(String) - Method in class musichub.business.AudioBook
        -
         
        -
        setGenre(String) - Method in class musichub.business.Song
        -
         
        -
        setLanguage(String) - Method in class musichub.business.AudioBook
        -
         
        -
        Song - Class in musichub.business
        -
         
        -
        Song(String, String, int, String, String) - Constructor for class musichub.business.Song
        -
         
        -
        Song(String, String, int, String, String, String) - Constructor for class musichub.business.Song
        -
         
        -
        Song(Element) - Constructor for class musichub.business.Song
        -
         
        -
        SPANISH - Enum constant in enum class musichub.business.Language
        -
         
        -
        SPEECH - Enum constant in enum class musichub.business.Category
        -
         
        -
        -

        T

        -
        -
        THEATER - Enum constant in enum class musichub.business.Category
        -
         
        -
        title - Variable in class musichub.business.AudioElement
        -
         
        -
        toString() - Method in class musichub.business.AudioBook
        -
         
        -
        toString() - Method in class musichub.business.AudioElement
        -
         
        -
        toString() - Method in class musichub.business.Song
        -
         
        -
        -

        U

        -
        -
        uuid - Variable in class musichub.business.AudioElement
        -
         
        -
        -

        V

        -
        -
        valueOf(String) - Static method in enum class musichub.business.Category
        -
        -
        Returns the enum constant of this class with the specified name.
        -
        -
        valueOf(String) - Static method in enum class musichub.business.Genre
        -
        -
        Returns the enum constant of this class with the specified name.
        -
        -
        valueOf(String) - Static method in enum class musichub.business.Language
        -
        -
        Returns the enum constant of this class with the specified name.
        -
        -
        values() - Static method in enum class musichub.business.Category
        -
        -
        Returns an array containing the constants of this enum class, in -the order they are declared.
        -
        -
        values() - Static method in enum class musichub.business.Genre
        -
        -
        Returns an array containing the constants of this enum class, in -the order they are declared.
        -
        -
        values() - Static method in enum class musichub.business.Language
        -
        -
        Returns an array containing the constants of this enum class, in -the order they are declared.
        -
        -
        -

        W

        -
        -
        write(String, String) - Static method in class musichub.util.LogHandler
        -
        -
        Method that writes a log message to spoteezer.log
        -
        -
        -

        X

        -
        -
        XMLHandler - Class in musichub.util
        -
         
        -
        XMLHandler() - Constructor for class musichub.util.XMLHandler
        -
         
        -
        -

        Y

        -
        -
        YOUTH - Enum constant in enum class musichub.business.Category
        -
         
        -
        -A C D E F G H I J L M N P R S T U V W X Y 
        All Classes|All Packages|Serialized Form
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/index.html b/target/site/apidocs/index.html deleted file mode 100644 index e5010d9..0000000 --- a/target/site/apidocs/index.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - -Overview (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        spoteezer 0.1.0 API

        -
        -
        -
        Packages
        -
        -
        Package
        -
        Description
        - -
         
        - -
         
        - -
         
        -
        -
        -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/jquery-ui.overrides.css b/target/site/apidocs/jquery-ui.overrides.css deleted file mode 100644 index f89acb6..0000000 --- a/target/site/apidocs/jquery-ui.overrides.css +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -.ui-state-active, -.ui-widget-content .ui-state-active, -.ui-widget-header .ui-state-active, -a.ui-button:active, -.ui-button:active, -.ui-button.ui-state-active:hover { - /* Overrides the color of selection used in jQuery UI */ - background: #F8981D; -} diff --git a/target/site/apidocs/member-search-index.js b/target/site/apidocs/member-search-index.js deleted file mode 100644 index f583be9..0000000 --- a/target/site/apidocs/member-search-index.js +++ /dev/null @@ -1 +0,0 @@ -memberSearchIndex = [{"p":"musichub.business","c":"MusicHub","l":"addAlbum(Album)","u":"addAlbum(musichub.business.Album)"},{"p":"musichub.business","c":"MusicHub","l":"addElement(AudioElement)","u":"addElement(musichub.business.AudioElement)"},{"p":"musichub.business","c":"PlayList","l":"addElement(UUID)","u":"addElement(java.util.UUID)"},{"p":"musichub.business","c":"MusicHub","l":"addElementToAlbum(String, String)","u":"addElementToAlbum(java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"addElementToPlayList(String, String)","u":"addElementToPlayList(java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"addPlaylist(PlayList)","u":"addPlaylist(musichub.business.PlayList)"},{"p":"musichub.business","c":"Album","l":"addSong(UUID)","u":"addSong(java.util.UUID)"},{"p":"musichub.business","c":"Album","l":"Album(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"Album","l":"Album(String, String, int, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String)"},{"p":"musichub.business","c":"Album","l":"Album(String, String, int, String, String, ArrayList)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String,java.util.ArrayList)"},{"p":"musichub.business","c":"MusicHub","l":"ALBUMS_FILE_PATH"},{"p":"musichub.business","c":"MusicHub","l":"albums()"},{"p":"musichub.business","c":"AudioElement","l":"artist"},{"p":"musichub.business","c":"AudioBook","l":"AudioBook(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"AudioBook","l":"AudioBook(String, String, int, String, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"AudioBook","l":"AudioBook(String, String, int, String, String, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"AudioElement","l":"AudioElement(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"AudioElement","l":"AudioElement(String, String, int, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String)"},{"p":"musichub.business","c":"AudioElement","l":"AudioElement(String, String, int, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"Genre","l":"CLASSIC"},{"p":"musichub.business","c":"AudioElement","l":"content"},{"p":"musichub.util","c":"XMLHandler","l":"createXMLDocument()"},{"p":"musichub.business","c":"Album","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.business","c":"AudioBook","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.business","c":"AudioElement","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.business","c":"PlayList","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.business","c":"Song","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.util","c":"XMLHandler","l":"createXMLFile(Document, String)","u":"createXMLFile(org.w3c.dom.Document,java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"deletePlayList(String)","u":"deletePlayList(java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"DIR"},{"p":"musichub.business","c":"Category","l":"DOCUMENTARY"},{"p":"musichub.business","c":"MusicHub","l":"ELEMENTS_FILE_PATH"},{"p":"musichub.business","c":"MusicHub","l":"elements()"},{"p":"musichub.business","c":"Language","l":"ENGLISH"},{"p":"musichub.business","c":"Language","l":"FRENCH"},{"p":"musichub.business","c":"Language","l":"GERMAN"},{"p":"musichub.business","c":"MusicHub","l":"getAlbumSongs(String)","u":"getAlbumSongs(java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"getAlbumSongsSortedByGenre(String)","u":"getAlbumSongsSortedByGenre(java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"getAlbumsTitlesSortedByDate()"},{"p":"musichub.business","c":"AudioElement","l":"getArtist()"},{"p":"musichub.business","c":"MusicHub","l":"getAudiobooksTitlesSortedByAuthor()"},{"p":"musichub.business","c":"MusicHub","l":"getAudioElement(List, String)","u":"getAudioElement(java.util.List,java.lang.String)"},{"p":"musichub.business","c":"AudioBook","l":"getCategory()"},{"p":"musichub.business","c":"Category","l":"getCategory()"},{"p":"musichub.business","c":"Album","l":"getDate()"},{"p":"musichub.business","c":"PlayList","l":"getElements()"},{"p":"musichub.business","c":"Genre","l":"getGenre()"},{"p":"musichub.business","c":"Song","l":"getGenre()"},{"p":"musichub.business","c":"AudioBook","l":"getLanguage()"},{"p":"musichub.business","c":"Language","l":"getLanguage()"},{"p":"musichub.business","c":"Album","l":"getSongs()"},{"p":"musichub.business","c":"Album","l":"getSongsRandomly()"},{"p":"musichub.business","c":"Album","l":"getTitle()"},{"p":"musichub.business","c":"AudioElement","l":"getTitle()"},{"p":"musichub.business","c":"PlayList","l":"getTitle()"},{"p":"musichub.business","c":"AudioElement","l":"getUUID()"},{"p":"musichub.business","c":"Genre","l":"HIPHOP"},{"p":"musichub.util","c":"PathValidation","l":"isPathValid(String)","u":"isPathValid(java.lang.String)"},{"p":"musichub.business","c":"Language","l":"ITALIAN"},{"p":"musichub.business","c":"Genre","l":"JAZZ"},{"p":"musichub.business","c":"AudioElement","l":"lengthInSeconds"},{"p":"musichub.util","c":"LogHandler","l":"LogHandler()","u":"%3Cinit%3E()"},{"p":"musichub.main","c":"Main","l":"Main()","u":"%3Cinit%3E()"},{"p":"musichub.main","c":"Main","l":"main(String[])","u":"main(java.lang.String[])"},{"p":"musichub.business","c":"AudioElement","l":"manageAudioElement()"},{"p":"musichub.business","c":"MusicHub","l":"MusicHub()","u":"%3Cinit%3E()"},{"p":"musichub.business","c":"NoAlbumFoundException","l":"NoAlbumFoundException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"musichub.business","c":"NoElementFoundException","l":"NoElementFoundException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"musichub.business","c":"NoPlayListFoundException","l":"NoPlayListFoundException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"musichub.business","c":"Category","l":"NOVEL"},{"p":"musichub.util","c":"XMLHandler","l":"parseXMLFile(String)","u":"parseXMLFile(java.lang.String)"},{"p":"musichub.util","c":"PathValidation","l":"PathValidation()","u":"%3Cinit%3E()"},{"p":"musichub.business","c":"PlayList","l":"PlayList(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"PlayList","l":"PlayList(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"musichub.business","c":"PlayList","l":"PlayList(String, String, ArrayList)","u":"%3Cinit%3E(java.lang.String,java.lang.String,java.util.ArrayList)"},{"p":"musichub.business","c":"MusicHub","l":"PLAYLISTS_FILE_PATH"},{"p":"musichub.business","c":"MusicHub","l":"playlists()"},{"p":"musichub.business","c":"Genre","l":"POP"},{"p":"musichub.business","c":"Genre","l":"RAP"},{"p":"musichub.util","c":"LogHandler","l":"read()"},{"p":"musichub.business","c":"Genre","l":"ROCK"},{"p":"musichub.business","c":"MusicHub","l":"saveAlbums()"},{"p":"musichub.business","c":"MusicHub","l":"saveElements()"},{"p":"musichub.business","c":"MusicHub","l":"savePlayLists()"},{"p":"musichub.business","c":"AudioBook","l":"setCategory(String)","u":"setCategory(java.lang.String)"},{"p":"musichub.business","c":"Song","l":"setGenre(String)","u":"setGenre(java.lang.String)"},{"p":"musichub.business","c":"AudioBook","l":"setLanguage(String)","u":"setLanguage(java.lang.String)"},{"p":"musichub.business","c":"Song","l":"Song(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"Song","l":"Song(String, String, int, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"Song","l":"Song(String, String, int, String, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"Language","l":"SPANISH"},{"p":"musichub.business","c":"Category","l":"SPEECH"},{"p":"musichub.business","c":"Category","l":"THEATER"},{"p":"musichub.business","c":"AudioElement","l":"title"},{"p":"musichub.business","c":"AudioBook","l":"toString()"},{"p":"musichub.business","c":"AudioElement","l":"toString()"},{"p":"musichub.business","c":"Song","l":"toString()"},{"p":"musichub.business","c":"AudioElement","l":"uuid"},{"p":"musichub.business","c":"Category","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"musichub.business","c":"Genre","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"musichub.business","c":"Language","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"musichub.business","c":"Category","l":"values()"},{"p":"musichub.business","c":"Genre","l":"values()"},{"p":"musichub.business","c":"Language","l":"values()"},{"p":"musichub.util","c":"LogHandler","l":"write(String, String)","u":"write(java.lang.String,java.lang.String)"},{"p":"musichub.util","c":"XMLHandler","l":"XMLHandler()","u":"%3Cinit%3E()"},{"p":"musichub.business","c":"Category","l":"YOUTH"}];updateSearchResults(); \ No newline at end of file diff --git a/target/site/apidocs/module-search-index.js b/target/site/apidocs/module-search-index.js deleted file mode 100644 index 0d59754..0000000 --- a/target/site/apidocs/module-search-index.js +++ /dev/null @@ -1 +0,0 @@ -moduleSearchIndex = [];updateSearchResults(); \ No newline at end of file diff --git a/target/site/apidocs/musichub/business/Album.html b/target/site/apidocs/musichub/business/Album.html deleted file mode 100644 index fd0beaa..0000000 --- a/target/site/apidocs/musichub/business/Album.html +++ /dev/null @@ -1,250 +0,0 @@ - - - - - -Album (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        - -
        - -

        Class Album

        -
        -
        java.lang.Object -
        musichub.business.Album
        -
        -
        -
        -
        public class Album -extends Object
        -
        -
        - -
        -
        -
          - -
        • -
          -

          Constructor Details

          - -
          -
        • - -
        • -
          -

          Method Details

          -
            -
          • -
            -

            addSong

            -
            public void addSong(UUID song)
            -
            -
          • -
          • -
            -

            getSongs

            -
            public List<UUID> getSongs()
            -
            -
          • -
          • -
            -

            getSongsRandomly

            -
            public ArrayList<UUID> getSongsRandomly()
            -
            -
          • -
          • -
            -

            getTitle

            -
            public String getTitle()
            -
            -
          • -
          • -
            -

            getDate

            -
            public Date getDate()
            -
            -
          • -
          • -
            -

            createXMLElement

            -
            public void createXMLElement(Document document, - Element parentElement)
            -
            -
          • -
          -
          -
        • -
        -
        - -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/AudioBook.html b/target/site/apidocs/musichub/business/AudioBook.html deleted file mode 100644 index 211e1b0..0000000 --- a/target/site/apidocs/musichub/business/AudioBook.html +++ /dev/null @@ -1,273 +0,0 @@ - - - - - -AudioBook (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        - -
        - -

        Class AudioBook

        -
        -
        java.lang.Object -
        musichub.business.AudioElement -
        musichub.business.AudioBook
        -
        -
        -
        -
        -
        public class AudioBook -extends AudioElement
        -
        -
        - -
        -
        -
          - -
        • -
          -

          Constructor Details

          -
            -
          • -
            -

            AudioBook

            -
            public AudioBook(String title, - String artist, - int lengthInSeconds, - String uid, - String content, - String language, - String category)
            -
            -
          • -
          • -
            -

            AudioBook

            -
            public AudioBook(String title, - String artist, - int lengthInSeconds, - String content, - String language, - String category)
            -
            -
          • -
          • -
            -

            AudioBook

            -
            public AudioBook(Element xmlElement)
            -
            -
          • -
          -
          -
        • - -
        • -
          -

          Method Details

          -
            -
          • -
            -

            getLanguage

            -
            public Language getLanguage()
            -
            -
          • -
          • -
            -

            setLanguage

            -
            public void setLanguage(String language)
            -
            -
          • -
          • -
            -

            getCategory

            -
            public Category getCategory()
            -
            -
          • -
          • -
            -

            setCategory

            -
            public void setCategory(String category)
            -
            -
          • -
          • -
            -

            toString

            -
            public String toString()
            -
            -
            Overrides:
            -
            toString in class AudioElement
            -
            -
            -
          • -
          • -
            -

            createXMLElement

            -
            public void createXMLElement(Document document, - Element parentElement)
            -
            -
            Overrides:
            -
            createXMLElement in class AudioElement
            -
            -
            -
          • -
          -
          -
        • -
        -
        - -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/AudioElement.html b/target/site/apidocs/musichub/business/AudioElement.html deleted file mode 100644 index fe6ad42..0000000 --- a/target/site/apidocs/musichub/business/AudioElement.html +++ /dev/null @@ -1,325 +0,0 @@ - - - - - -AudioElement (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        - -
        - -

        Class AudioElement

        -
        -
        java.lang.Object -
        musichub.business.AudioElement
        -
        -
        -
        -
        Direct Known Subclasses:
        -
        AudioBook, Song
        -
        -
        -
        public abstract class AudioElement -extends Object
        -
        -
        - -
        -
        - -
        - -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/Category.html b/target/site/apidocs/musichub/business/Category.html deleted file mode 100644 index 4266493..0000000 --- a/target/site/apidocs/musichub/business/Category.html +++ /dev/null @@ -1,258 +0,0 @@ - - - - - -Category (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        - -
        - -

        Enum Class Category

        -
        -
        java.lang.Object -
        java.lang.Enum<Category> -
        musichub.business.Category
        -
        -
        -
        -
        -
        All Implemented Interfaces:
        -
        Serializable, Comparable<Category>, Constable
        -
        -
        -
        public enum Category -extends Enum<Category>
        -
        -
        - -
        -
        -
          - -
        • -
          -

          Enum Constant Details

          -
            -
          • -
            -

            YOUTH

            -
            public static final Category YOUTH
            -
            -
          • -
          • -
            -

            NOVEL

            -
            public static final Category NOVEL
            -
            -
          • -
          • -
            -

            THEATER

            -
            public static final Category THEATER
            -
            -
          • -
          • -
            -

            DOCUMENTARY

            -
            public static final Category DOCUMENTARY
            -
            -
          • -
          • -
            -

            SPEECH

            -
            public static final Category SPEECH
            -
            -
          • -
          -
          -
        • - -
        • -
          -

          Method Details

          -
            -
          • -
            -

            values

            -
            public static Category[] values()
            -
            Returns an array containing the constants of this enum class, in -the order they are declared.
            -
            -
            Returns:
            -
            an array containing the constants of this enum class, in the order they are declared
            -
            -
            -
          • -
          • -
            -

            valueOf

            -
            public static Category valueOf(String name)
            -
            Returns the enum constant of this class with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this class. (Extraneous whitespace characters are -not permitted.)
            -
            -
            Parameters:
            -
            name - the name of the enum constant to be returned.
            -
            Returns:
            -
            the enum constant with the specified name
            -
            Throws:
            -
            IllegalArgumentException - if this enum class has no constant with the specified name
            -
            NullPointerException - if the argument is null
            -
            -
            -
          • -
          • -
            -

            getCategory

            -
            public String getCategory()
            -
            -
          • -
          -
          -
        • -
        -
        - -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/Genre.html b/target/site/apidocs/musichub/business/Genre.html deleted file mode 100644 index 96e2762..0000000 --- a/target/site/apidocs/musichub/business/Genre.html +++ /dev/null @@ -1,266 +0,0 @@ - - - - - -Genre (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        - -
        - -

        Enum Class Genre

        -
        -
        java.lang.Object -
        java.lang.Enum<Genre> -
        musichub.business.Genre
        -
        -
        -
        -
        -
        All Implemented Interfaces:
        -
        Serializable, Comparable<Genre>, Constable
        -
        -
        -
        public enum Genre -extends Enum<Genre>
        -
        -
        - -
        -
        -
          - -
        • -
          -

          Enum Constant Details

          -
            -
          • -
            -

            JAZZ

            -
            public static final Genre JAZZ
            -
            -
          • -
          • -
            -

            CLASSIC

            -
            public static final Genre CLASSIC
            -
            -
          • -
          • -
            -

            HIPHOP

            -
            public static final Genre HIPHOP
            -
            -
          • -
          • -
            -

            ROCK

            -
            public static final Genre ROCK
            -
            -
          • -
          • -
            -

            POP

            -
            public static final Genre POP
            -
            -
          • -
          • -
            -

            RAP

            -
            public static final Genre RAP
            -
            -
          • -
          -
          -
        • - -
        • -
          -

          Method Details

          -
            -
          • -
            -

            values

            -
            public static Genre[] values()
            -
            Returns an array containing the constants of this enum class, in -the order they are declared.
            -
            -
            Returns:
            -
            an array containing the constants of this enum class, in the order they are declared
            -
            -
            -
          • -
          • -
            -

            valueOf

            -
            public static Genre valueOf(String name)
            -
            Returns the enum constant of this class with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this class. (Extraneous whitespace characters are -not permitted.)
            -
            -
            Parameters:
            -
            name - the name of the enum constant to be returned.
            -
            Returns:
            -
            the enum constant with the specified name
            -
            Throws:
            -
            IllegalArgumentException - if this enum class has no constant with the specified name
            -
            NullPointerException - if the argument is null
            -
            -
            -
          • -
          • -
            -

            getGenre

            -
            public String getGenre()
            -
            -
          • -
          -
          -
        • -
        -
        - -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/Language.html b/target/site/apidocs/musichub/business/Language.html deleted file mode 100644 index 6bebff8..0000000 --- a/target/site/apidocs/musichub/business/Language.html +++ /dev/null @@ -1,258 +0,0 @@ - - - - - -Language (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        - -
        - -

        Enum Class Language

        -
        -
        java.lang.Object -
        java.lang.Enum<Language> -
        musichub.business.Language
        -
        -
        -
        -
        -
        All Implemented Interfaces:
        -
        Serializable, Comparable<Language>, Constable
        -
        -
        -
        public enum Language -extends Enum<Language>
        -
        -
        - -
        -
        -
          - -
        • -
          -

          Enum Constant Details

          -
            -
          • -
            -

            FRENCH

            -
            public static final Language FRENCH
            -
            -
          • -
          • -
            -

            ENGLISH

            -
            public static final Language ENGLISH
            -
            -
          • -
          • -
            -

            ITALIAN

            -
            public static final Language ITALIAN
            -
            -
          • -
          • -
            -

            SPANISH

            -
            public static final Language SPANISH
            -
            -
          • -
          • -
            -

            GERMAN

            -
            public static final Language GERMAN
            -
            -
          • -
          -
          -
        • - -
        • -
          -

          Method Details

          -
            -
          • -
            -

            values

            -
            public static Language[] values()
            -
            Returns an array containing the constants of this enum class, in -the order they are declared.
            -
            -
            Returns:
            -
            an array containing the constants of this enum class, in the order they are declared
            -
            -
            -
          • -
          • -
            -

            valueOf

            -
            public static Language valueOf(String name)
            -
            Returns the enum constant of this class with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this class. (Extraneous whitespace characters are -not permitted.)
            -
            -
            Parameters:
            -
            name - the name of the enum constant to be returned.
            -
            Returns:
            -
            the enum constant with the specified name
            -
            Throws:
            -
            IllegalArgumentException - if this enum class has no constant with the specified name
            -
            NullPointerException - if the argument is null
            -
            -
            -
          • -
          • -
            -

            getLanguage

            -
            public String getLanguage()
            -
            -
          • -
          -
          -
        • -
        -
        - -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/MusicHub.html b/target/site/apidocs/musichub/business/MusicHub.html deleted file mode 100644 index 4af462c..0000000 --- a/target/site/apidocs/musichub/business/MusicHub.html +++ /dev/null @@ -1,412 +0,0 @@ - - - - - -MusicHub (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        - -
        - -

        Class MusicHub

        -
        -
        java.lang.Object -
        musichub.business.MusicHub
        -
        -
        -
        -
        public class MusicHub -extends Object
        -
        -
        - -
        -
        - -
        - -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/NoAlbumFoundException.html b/target/site/apidocs/musichub/business/NoAlbumFoundException.html deleted file mode 100644 index 16143e3..0000000 --- a/target/site/apidocs/musichub/business/NoAlbumFoundException.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - -NoAlbumFoundException (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        - -
        - -

        Class NoAlbumFoundException

        -
        -
        java.lang.Object -
        java.lang.Throwable -
        java.lang.Exception -
        musichub.business.NoAlbumFoundException
        -
        -
        -
        -
        -
        -
        All Implemented Interfaces:
        -
        Serializable
        -
        -
        -
        public class NoAlbumFoundException -extends Exception
        -
        -
        See Also:
        -
        Serialized Form
        -
        -
        -
        - -
        -
        -
          - -
        • -
          -

          Constructor Details

          -
            -
          • -
            -

            NoAlbumFoundException

            -
            public NoAlbumFoundException(String msg)
            -
            -
          • -
          -
          -
        • -
        -
        - -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/NoElementFoundException.html b/target/site/apidocs/musichub/business/NoElementFoundException.html deleted file mode 100644 index 3a04446..0000000 --- a/target/site/apidocs/musichub/business/NoElementFoundException.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - -NoElementFoundException (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        - -
        - -

        Class NoElementFoundException

        -
        -
        java.lang.Object -
        java.lang.Throwable -
        java.lang.Exception -
        musichub.business.NoElementFoundException
        -
        -
        -
        -
        -
        -
        All Implemented Interfaces:
        -
        Serializable
        -
        -
        -
        public class NoElementFoundException -extends Exception
        -
        -
        See Also:
        -
        Serialized Form
        -
        -
        -
        - -
        -
        -
          - -
        • -
          -

          Constructor Details

          -
            -
          • -
            -

            NoElementFoundException

            -
            public NoElementFoundException(String msg)
            -
            -
          • -
          -
          -
        • -
        -
        - -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/NoPlayListFoundException.html b/target/site/apidocs/musichub/business/NoPlayListFoundException.html deleted file mode 100644 index 4a9413a..0000000 --- a/target/site/apidocs/musichub/business/NoPlayListFoundException.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - -NoPlayListFoundException (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        - -
        - -

        Class NoPlayListFoundException

        -
        -
        java.lang.Object -
        java.lang.Throwable -
        java.lang.Exception -
        musichub.business.NoPlayListFoundException
        -
        -
        -
        -
        -
        -
        All Implemented Interfaces:
        -
        Serializable
        -
        -
        -
        public class NoPlayListFoundException -extends Exception
        -
        -
        See Also:
        -
        Serialized Form
        -
        -
        -
        - -
        -
        -
          - -
        • -
          -

          Constructor Details

          -
            -
          • -
            -

            NoPlayListFoundException

            -
            public NoPlayListFoundException(String msg)
            -
            -
          • -
          -
          -
        • -
        -
        - -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/PlayList.html b/target/site/apidocs/musichub/business/PlayList.html deleted file mode 100644 index a1ccc9b..0000000 --- a/target/site/apidocs/musichub/business/PlayList.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - - -PlayList (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        - -
        - -

        Class PlayList

        -
        -
        java.lang.Object -
        musichub.business.PlayList
        -
        -
        -
        -
        public class PlayList -extends Object
        -
        -
        - -
        -
        -
          - -
        • -
          -

          Constructor Details

          -
            -
          • -
            -

            PlayList

            -
            public PlayList(String title, - String id, - ArrayList<UUID> elementUUIDs)
            -
            -
          • -
          • -
            -

            PlayList

            -
            public PlayList(String title)
            -
            -
          • -
          • -
            -

            PlayList

            -
            public PlayList(Element xmlElement)
            -
            -
          • -
          -
          -
        • - -
        • -
          -

          Method Details

          -
            -
          • -
            -

            addElement

            -
            public void addElement(UUID element)
            -
            -
          • -
          • -
            -

            getElements

            -
            public ArrayList<UUID> getElements()
            -
            -
          • -
          • -
            -

            getTitle

            -
            public String getTitle()
            -
            -
          • -
          • -
            -

            createXMLElement

            -
            public void createXMLElement(Document document, - Element parentElement)
            -
            -
          • -
          -
          -
        • -
        -
        - -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/Song.html b/target/site/apidocs/musichub/business/Song.html deleted file mode 100644 index 82582dd..0000000 --- a/target/site/apidocs/musichub/business/Song.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - -Song (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        - -
        - -

        Class Song

        -
        - -
        -
        -
        public class Song -extends AudioElement
        -
        -
        - -
        -
        -
          - -
        • -
          -

          Constructor Details

          - -
          -
        • - -
        • -
          -

          Method Details

          - -
          -
        • -
        -
        - -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/class-use/Album.html b/target/site/apidocs/musichub/business/class-use/Album.html deleted file mode 100644 index 097e8c7..0000000 --- a/target/site/apidocs/musichub/business/class-use/Album.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - - -Uses of Class musichub.business.Album (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Uses of Class
        musichub.business.Album

        -
        -
        Packages that use Album
        -
        -
        Package
        -
        Description
        - -
         
        -
        -
        - -
        -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/class-use/AudioBook.html b/target/site/apidocs/musichub/business/class-use/AudioBook.html deleted file mode 100644 index a109ca3..0000000 --- a/target/site/apidocs/musichub/business/class-use/AudioBook.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - -Uses of Class musichub.business.AudioBook (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Uses of Class
        musichub.business.AudioBook

        -
        -No usage of musichub.business.AudioBook
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/class-use/AudioElement.html b/target/site/apidocs/musichub/business/class-use/AudioElement.html deleted file mode 100644 index 1249775..0000000 --- a/target/site/apidocs/musichub/business/class-use/AudioElement.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class musichub.business.AudioElement (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Uses of Class
        musichub.business.AudioElement

        -
        -
        Packages that use AudioElement
        -
        -
        Package
        -
        Description
        - -
         
        -
        -
        - -
        -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/class-use/Category.html b/target/site/apidocs/musichub/business/class-use/Category.html deleted file mode 100644 index 022df3a..0000000 --- a/target/site/apidocs/musichub/business/class-use/Category.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - -Uses of Enum Class musichub.business.Category (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Uses of Enum Class
        musichub.business.Category

        -
        -
        Packages that use Category
        -
        -
        Package
        -
        Description
        - -
         
        -
        -
        - -
        -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/class-use/Genre.html b/target/site/apidocs/musichub/business/class-use/Genre.html deleted file mode 100644 index a9cd613..0000000 --- a/target/site/apidocs/musichub/business/class-use/Genre.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - - -Uses of Enum Class musichub.business.Genre (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Uses of Enum Class
        musichub.business.Genre

        -
        -
        Packages that use Genre
        -
        -
        Package
        -
        Description
        - -
         
        -
        -
        -
          -
        • -
          -

          Uses of Genre in musichub.business

          -
          Methods in musichub.business that return Genre
          -
          -
          Modifier and Type
          -
          Method
          -
          Description
          -
          static Genre
          -
          Genre.valueOf​(String name)
          -
          -
          Returns the enum constant of this class with the specified name.
          -
          -
          static Genre[]
          -
          Genre.values()
          -
          -
          Returns an array containing the constants of this enum class, in -the order they are declared.
          -
          -
          -
          -
        • -
        -
        -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/class-use/Language.html b/target/site/apidocs/musichub/business/class-use/Language.html deleted file mode 100644 index 86ed23a..0000000 --- a/target/site/apidocs/musichub/business/class-use/Language.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - -Uses of Enum Class musichub.business.Language (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Uses of Enum Class
        musichub.business.Language

        -
        -
        Packages that use Language
        -
        -
        Package
        -
        Description
        - -
         
        -
        -
        - -
        -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/class-use/MusicHub.html b/target/site/apidocs/musichub/business/class-use/MusicHub.html deleted file mode 100644 index 683a7e5..0000000 --- a/target/site/apidocs/musichub/business/class-use/MusicHub.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - -Uses of Class musichub.business.MusicHub (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Uses of Class
        musichub.business.MusicHub

        -
        -No usage of musichub.business.MusicHub
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/class-use/NoAlbumFoundException.html b/target/site/apidocs/musichub/business/class-use/NoAlbumFoundException.html deleted file mode 100644 index 3d190ec..0000000 --- a/target/site/apidocs/musichub/business/class-use/NoAlbumFoundException.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - -Uses of Class musichub.business.NoAlbumFoundException (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Uses of Class
        musichub.business.NoAlbumFoundException

        -
        -
        Packages that use NoAlbumFoundException
        -
        -
        Package
        -
        Description
        - -
         
        -
        -
        - -
        -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/class-use/NoElementFoundException.html b/target/site/apidocs/musichub/business/class-use/NoElementFoundException.html deleted file mode 100644 index 07bc200..0000000 --- a/target/site/apidocs/musichub/business/class-use/NoElementFoundException.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - -Uses of Class musichub.business.NoElementFoundException (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Uses of Class
        musichub.business.NoElementFoundException

        -
        -
        Packages that use NoElementFoundException
        -
        -
        Package
        -
        Description
        - -
         
        -
        -
        - -
        -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/class-use/NoPlayListFoundException.html b/target/site/apidocs/musichub/business/class-use/NoPlayListFoundException.html deleted file mode 100644 index 0a7a442..0000000 --- a/target/site/apidocs/musichub/business/class-use/NoPlayListFoundException.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - -Uses of Class musichub.business.NoPlayListFoundException (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Uses of Class
        musichub.business.NoPlayListFoundException

        -
        -
        Packages that use NoPlayListFoundException
        -
        -
        Package
        -
        Description
        - -
         
        -
        -
        - -
        -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/class-use/PlayList.html b/target/site/apidocs/musichub/business/class-use/PlayList.html deleted file mode 100644 index 151e091..0000000 --- a/target/site/apidocs/musichub/business/class-use/PlayList.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - - -Uses of Class musichub.business.PlayList (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Uses of Class
        musichub.business.PlayList

        -
        -
        Packages that use PlayList
        -
        -
        Package
        -
        Description
        - -
         
        -
        -
        - -
        -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/class-use/Song.html b/target/site/apidocs/musichub/business/class-use/Song.html deleted file mode 100644 index f7caf68..0000000 --- a/target/site/apidocs/musichub/business/class-use/Song.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - -Uses of Class musichub.business.Song (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Uses of Class
        musichub.business.Song

        -
        -
        Packages that use Song
        -
        -
        Package
        -
        Description
        - -
         
        -
        -
        - -
        -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/package-summary.html b/target/site/apidocs/musichub/business/package-summary.html deleted file mode 100644 index ab9bef3..0000000 --- a/target/site/apidocs/musichub/business/package-summary.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - -musichub.business (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Package musichub.business

        -
        -
        -
        package musichub.business
        -
        - -
        -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/package-tree.html b/target/site/apidocs/musichub/business/package-tree.html deleted file mode 100644 index e1a5f5b..0000000 --- a/target/site/apidocs/musichub/business/package-tree.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - -musichub.business Class Hierarchy (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Hierarchy For Package musichub.business

        -Package Hierarchies: - -
        -
        -

        Class Hierarchy

        - -
        -
        -

        Enum Class Hierarchy

        - -
        -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/business/package-use.html b/target/site/apidocs/musichub/business/package-use.html deleted file mode 100644 index 89e8d56..0000000 --- a/target/site/apidocs/musichub/business/package-use.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - -Uses of Package musichub.business (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Uses of Package
        musichub.business

        -
        -
        Packages that use musichub.business
        -
        -
        Package
        -
        Description
        - -
         
        -
        -
        - -
        -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/main/Main.html b/target/site/apidocs/musichub/main/Main.html deleted file mode 100644 index 2a6bcf8..0000000 --- a/target/site/apidocs/musichub/main/Main.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - -Main (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        - -
        -
        Package musichub.main
        -

        Class Main

        -
        -
        java.lang.Object -
        musichub.main.Main
        -
        -
        -
        -
        public class Main -extends Object
        -
        -
        - -
        -
        - -
        - -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/main/class-use/Main.html b/target/site/apidocs/musichub/main/class-use/Main.html deleted file mode 100644 index 819433d..0000000 --- a/target/site/apidocs/musichub/main/class-use/Main.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - -Uses of Class musichub.main.Main (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Uses of Class
        musichub.main.Main

        -
        -No usage of musichub.main.Main
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/main/package-summary.html b/target/site/apidocs/musichub/main/package-summary.html deleted file mode 100644 index afcd6ad..0000000 --- a/target/site/apidocs/musichub/main/package-summary.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - -musichub.main (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Package musichub.main

        -
        -
        -
        package musichub.main
        -
        -
          -
        • -
          Class Summary
          -
          -
          Class
          -
          Description
          - -
           
          -
          -
        • -
        -
        -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/main/package-tree.html b/target/site/apidocs/musichub/main/package-tree.html deleted file mode 100644 index 393b386..0000000 --- a/target/site/apidocs/musichub/main/package-tree.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - - -musichub.main Class Hierarchy (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Hierarchy For Package musichub.main

        -Package Hierarchies: - -
        -
        -

        Class Hierarchy

        - -
        -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/main/package-use.html b/target/site/apidocs/musichub/main/package-use.html deleted file mode 100644 index 0747159..0000000 --- a/target/site/apidocs/musichub/main/package-use.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - -Uses of Package musichub.main (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Uses of Package
        musichub.main

        -
        -No usage of musichub.main
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/util/XMLHandler.html b/target/site/apidocs/musichub/util/XMLHandler.html deleted file mode 100644 index 53ffdbe..0000000 --- a/target/site/apidocs/musichub/util/XMLHandler.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - - -XMLHandler (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        - -
        -
        Package musichub.util
        -

        Class XMLHandler

        -
        -
        java.lang.Object -
        musichub.util.XMLHandler
        -
        -
        -
        -
        public class XMLHandler -extends Object
        -
        -
        - -
        -
        -
          - -
        • -
          -

          Constructor Details

          -
            -
          • -
            -

            XMLHandler

            -
            public XMLHandler()
            -
            -
          • -
          -
          -
        • - -
        • -
          -

          Method Details

          -
            -
          • -
            -

            createXMLFile

            -
            public void createXMLFile(Document document, - String filePath)
            -
            -
          • -
          • -
            -

            createXMLDocument

            -
            public Document createXMLDocument()
            -
            -
          • -
          • -
            -

            parseXMLFile

            -
            public NodeList parseXMLFile(String filePath)
            -
            -
          • -
          -
          -
        • -
        -
        - -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/util/class-use/XMLHandler.html b/target/site/apidocs/musichub/util/class-use/XMLHandler.html deleted file mode 100644 index 8c6ad08..0000000 --- a/target/site/apidocs/musichub/util/class-use/XMLHandler.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - -Uses of Class musichub.util.XMLHandler (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Uses of Class
        musichub.util.XMLHandler

        -
        -No usage of musichub.util.XMLHandler
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/util/package-summary.html b/target/site/apidocs/musichub/util/package-summary.html deleted file mode 100644 index 24257be..0000000 --- a/target/site/apidocs/musichub/util/package-summary.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - - -musichub.util (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Package musichub.util

        -
        -
        -
        package musichub.util
        -
        -
          -
        • -
          Class Summary
          -
          -
          Class
          -
          Description
          - -
          -
          Class offering a log writing method.
          -
          - -
          -
          Class offering a path validation method.
          -
          - -
           
          -
          -
        • -
        -
        -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/util/package-tree.html b/target/site/apidocs/musichub/util/package-tree.html deleted file mode 100644 index ace19b6..0000000 --- a/target/site/apidocs/musichub/util/package-tree.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - -musichub.util Class Hierarchy (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Hierarchy For Package musichub.util

        -Package Hierarchies: - -
        -
        -

        Class Hierarchy

        - -
        -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/musichub/util/package-use.html b/target/site/apidocs/musichub/util/package-use.html deleted file mode 100644 index 02a3fc7..0000000 --- a/target/site/apidocs/musichub/util/package-use.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - -Uses of Package musichub.util (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Uses of Package
        musichub.util

        -
        -No usage of musichub.util
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/overview-summary.html b/target/site/apidocs/overview-summary.html deleted file mode 100644 index 370d2cb..0000000 --- a/target/site/apidocs/overview-summary.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - -spoteezer 0.1.0 API - - - - - - - - - - - -
        - -

        index.html

        -
        - - diff --git a/target/site/apidocs/overview-tree.html b/target/site/apidocs/overview-tree.html deleted file mode 100644 index 943af3e..0000000 --- a/target/site/apidocs/overview-tree.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - -Class Hierarchy (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
        - -
        -
        -
        -

        Hierarchy For All Packages

        -Package Hierarchies: - -
        -
        -

        Class Hierarchy

        - -
        -
        -

        Enum Class Hierarchy

        - -
        -
        -
        -
        - -
        -
        -
        - - diff --git a/target/site/apidocs/package-search-index.js b/target/site/apidocs/package-search-index.js deleted file mode 100644 index 3098d0e..0000000 --- a/target/site/apidocs/package-search-index.js +++ /dev/null @@ -1 +0,0 @@ -packageSearchIndex = [{"l":"All Packages","u":"allpackages-index.html"},{"l":"musichub.business"},{"l":"musichub.main"},{"l":"musichub.util"}];updateSearchResults(); \ No newline at end of file diff --git a/target/site/apidocs/resources/glass.png b/target/site/apidocs/resources/glass.png deleted file mode 100644 index a7f591f..0000000 Binary files a/target/site/apidocs/resources/glass.png and /dev/null differ diff --git a/target/site/apidocs/resources/x.png b/target/site/apidocs/resources/x.png deleted file mode 100644 index 30548a7..0000000 Binary files a/target/site/apidocs/resources/x.png and /dev/null differ diff --git a/target/site/apidocs/script-dir/images/ui-bg_glass_55_fbf9ee_1x400.png b/target/site/apidocs/script-dir/images/ui-bg_glass_55_fbf9ee_1x400.png deleted file mode 100644 index 34abd18..0000000 Binary files a/target/site/apidocs/script-dir/images/ui-bg_glass_55_fbf9ee_1x400.png and /dev/null differ diff --git a/target/site/apidocs/script-dir/images/ui-bg_glass_65_dadada_1x400.png b/target/site/apidocs/script-dir/images/ui-bg_glass_65_dadada_1x400.png deleted file mode 100644 index f058a93..0000000 Binary files a/target/site/apidocs/script-dir/images/ui-bg_glass_65_dadada_1x400.png and /dev/null differ diff --git a/target/site/apidocs/script-dir/images/ui-bg_glass_75_dadada_1x400.png b/target/site/apidocs/script-dir/images/ui-bg_glass_75_dadada_1x400.png deleted file mode 100644 index 2ce04c1..0000000 Binary files a/target/site/apidocs/script-dir/images/ui-bg_glass_75_dadada_1x400.png and /dev/null differ diff --git a/target/site/apidocs/script-dir/images/ui-bg_glass_75_e6e6e6_1x400.png b/target/site/apidocs/script-dir/images/ui-bg_glass_75_e6e6e6_1x400.png deleted file mode 100644 index a90afb8..0000000 Binary files a/target/site/apidocs/script-dir/images/ui-bg_glass_75_e6e6e6_1x400.png and /dev/null differ diff --git a/target/site/apidocs/script-dir/images/ui-bg_glass_95_fef1ec_1x400.png b/target/site/apidocs/script-dir/images/ui-bg_glass_95_fef1ec_1x400.png deleted file mode 100644 index dbe091f..0000000 Binary files a/target/site/apidocs/script-dir/images/ui-bg_glass_95_fef1ec_1x400.png and /dev/null differ diff --git a/target/site/apidocs/script-dir/images/ui-bg_highlight-soft_75_cccccc_1x100.png b/target/site/apidocs/script-dir/images/ui-bg_highlight-soft_75_cccccc_1x100.png deleted file mode 100644 index 5dc3593..0000000 Binary files a/target/site/apidocs/script-dir/images/ui-bg_highlight-soft_75_cccccc_1x100.png and /dev/null differ diff --git a/target/site/apidocs/script-dir/images/ui-icons_222222_256x240.png b/target/site/apidocs/script-dir/images/ui-icons_222222_256x240.png deleted file mode 100644 index e723e17..0000000 Binary files a/target/site/apidocs/script-dir/images/ui-icons_222222_256x240.png and /dev/null differ diff --git a/target/site/apidocs/script-dir/images/ui-icons_2e83ff_256x240.png b/target/site/apidocs/script-dir/images/ui-icons_2e83ff_256x240.png deleted file mode 100644 index 1f5f497..0000000 Binary files a/target/site/apidocs/script-dir/images/ui-icons_2e83ff_256x240.png and /dev/null differ diff --git a/target/site/apidocs/script-dir/images/ui-icons_454545_256x240.png b/target/site/apidocs/script-dir/images/ui-icons_454545_256x240.png deleted file mode 100644 index 618f5b0..0000000 Binary files a/target/site/apidocs/script-dir/images/ui-icons_454545_256x240.png and /dev/null differ diff --git a/target/site/apidocs/script-dir/images/ui-icons_888888_256x240.png b/target/site/apidocs/script-dir/images/ui-icons_888888_256x240.png deleted file mode 100644 index ee5e33f..0000000 Binary files a/target/site/apidocs/script-dir/images/ui-icons_888888_256x240.png and /dev/null differ diff --git a/target/site/apidocs/script-dir/images/ui-icons_cd0a0a_256x240.png b/target/site/apidocs/script-dir/images/ui-icons_cd0a0a_256x240.png deleted file mode 100644 index 7e8ebc1..0000000 Binary files a/target/site/apidocs/script-dir/images/ui-icons_cd0a0a_256x240.png and /dev/null differ diff --git a/target/site/apidocs/script-dir/jquery-3.5.1.min.js b/target/site/apidocs/script-dir/jquery-3.5.1.min.js deleted file mode 100644 index b061403..0000000 --- a/target/site/apidocs/script-dir/jquery-3.5.1.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! jQuery v3.5.1 | (c) JS Foundation and other contributors | jquery.org/license */ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.5.1",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||j,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,j=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
        "],col:[2,"","
        "],tr:[2,"","
        "],td:[3,"","
        "],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function qe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function He(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Oe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Ut,Xt=[],Vt=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||S.expando+"_"+Ct.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Vt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Vt,"$1"+r):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Xt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Ut=E.implementation.createHTMLDocument("").body).innerHTML="
        ",2===Ut.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):("number"==typeof f.top&&(f.top+="px"),"number"==typeof f.left&&(f.left+="px"),c.css(f))}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=$e(y.pixelPosition,function(e,t){if(t)return t=Be(e,n),Me.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0a;a++)for(s in o[a])n=o[a][s],o[a].hasOwnProperty(s)&&void 0!==n&&(e[s]=t.isPlainObject(n)?t.isPlainObject(e[s])?t.widget.extend({},e[s],n):t.widget.extend({},n):n);return e},t.widget.bridge=function(e,s){var n=s.prototype.widgetFullName||e;t.fn[e]=function(o){var a="string"==typeof o,r=i.call(arguments,1),l=this;return a?this.length||"instance"!==o?this.each(function(){var i,s=t.data(this,n);return"instance"===o?(l=s,!1):s?t.isFunction(s[o])&&"_"!==o.charAt(0)?(i=s[o].apply(s,r),i!==s&&void 0!==i?(l=i&&i.jquery?l.pushStack(i.get()):i,!1):void 0):t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; "+"attempted to call method '"+o+"'")}):l=void 0:(r.length&&(o=t.widget.extend.apply(null,[o].concat(r))),this.each(function(){var e=t.data(this,n);e?(e.option(o||{}),e._init&&e._init()):t.data(this,n,new s(o,this))})),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
        ",options:{classes:{},disabled:!1,create:null},_createWidget:function(i,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=e++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),i),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var s,n,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},s=e.split("."),e=s.shift(),s.length){for(n=a[e]=t.widget.extend({},this.options[e]),o=0;s.length-1>o;o++)n[s[o]]=n[s[o]]||{},n=n[s[o]];if(e=s.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=i}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,s,n;for(i in e)n=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&n&&n.length&&(s=t(n.get()),this._removeClass(n,i),s.addClass(this._classes({element:s,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){function i(i,o){var a,r;for(r=0;i.length>r;r++)a=n.classesElementLookup[i[r]]||t(),a=e.add?t(t.unique(a.get().concat(e.element.get()))):t(a.not(e.element).get()),n.classesElementLookup[i[r]]=a,s.push(i[r]),o&&e.classes[i[r]]&&s.push(e.classes[i[r]])}var s=[],n=this;return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&i(e.keys.match(/\S+/g)||[],!0),e.extra&&i(e.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,function(s,n){-1!==t.inArray(e.target,n)&&(i.classesElementLookup[s]=t(n.not(e.target).get()))})},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,s){s="boolean"==typeof s?s:i;var n="string"==typeof t||null===t,o={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:s};return o.element.toggleClass(this._classes(o),s),this},_on:function(e,i,s){var n,o=this;"boolean"!=typeof e&&(s=i,i=e,e=!1),s?(i=n=t(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),t.each(s,function(s,a){function r(){return e||o.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof a?o[a]:a).apply(o,arguments):void 0}"string"!=typeof a&&(r.guid=a.guid=a.guid||r.guid||t.guid++);var l=s.match(/^([\w:-]*)\s*(.*)$/),h=l[1]+o.eventNamespace,c=l[2];c?n.on(h,c,r):i.on(h,r)})},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(i).off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){"string"==typeof n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}}),t.widget,function(){function e(t,e,i){return[parseFloat(t[0])*(u.test(t[0])?e/100:1),parseFloat(t[1])*(u.test(t[1])?i/100:1)]}function i(e,i){return parseInt(t.css(e,i),10)||0}function s(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}var n,o=Math.max,a=Math.abs,r=/left|center|right/,l=/top|center|bottom/,h=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,u=/%$/,d=t.fn.position;t.position={scrollbarWidth:function(){if(void 0!==n)return n;var e,i,s=t("
        "),o=s.children()[0];return t("body").append(s),e=o.offsetWidth,s.css("overflow","scroll"),i=o.offsetWidth,e===i&&(i=s[0].clientWidth),s.remove(),n=e-i},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),s=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.widthi?"left":e>0?"right":"center",vertical:0>r?"top":s>0?"bottom":"middle"};h>p&&p>a(e+i)&&(u.horizontal="center"),c>f&&f>a(s+r)&&(u.vertical="middle"),u.important=o(a(e),a(i))>o(a(s),a(r))?"horizontal":"vertical",n.using.call(this,t,u)}),l.offset(t.extend(D,{using:r}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=t.left-e.collisionPosition.marginLeft,l=n-r,h=r+e.collisionWidth-a-n;e.collisionWidth>a?l>0&&0>=h?(i=t.left+l+e.collisionWidth-a-n,t.left+=l-i):t.left=h>0&&0>=l?n:l>h?n+a-e.collisionWidth:n:l>0?t.left+=l:h>0?t.left-=h:t.left=o(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marginTop,l=n-r,h=r+e.collisionHeight-a-n;e.collisionHeight>a?l>0&&0>=h?(i=t.top+l+e.collisionHeight-a-n,t.top+=l-i):t.top=h>0&&0>=l?n:l>h?n+a-e.collisionHeight:n:l>0?t.top+=l:h>0?t.top-=h:t.top=o(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,o=n.offset.left+n.scrollLeft,r=n.width,l=n.isWindow?n.scrollLeft:n.offset.left,h=t.left-e.collisionPosition.marginLeft,c=h-l,u=h+e.collisionWidth-r-l,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-r-o,(0>i||a(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-l,(s>0||u>a(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,o=n.offset.top+n.scrollTop,r=n.height,l=n.isWindow?n.scrollTop:n.offset.top,h=t.top-e.collisionPosition.marginTop,c=h-l,u=h+e.collisionHeight-r-l,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,g=-2*e.offset[1];0>c?(s=t.top+p+f+g+e.collisionHeight-r-o,(0>s||a(c)>s)&&(t.top+=p+f+g)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+g-l,(i>0||u>a(i))&&(t.top+=p+f+g))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}(),t.ui.position,t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},t.fn.extend({uniqueId:function(){var t=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}}),t.ui.safeActiveElement=function(t){var e;try{e=t.activeElement}catch(i){e=t.body}return e||(e=t.body),e.nodeName||(e=t.body),e},t.widget("ui.menu",{version:"1.12.1",defaultElement:"
          ",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault()},"click .ui-menu-item":function(e){var i=t(e.target),s=t(t.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),i.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&s.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){if(!this.previousFilter){var i=t(e.target).closest(".ui-menu-item"),s=t(e.currentTarget);i[0]===s[0]&&(this._removeClass(s.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(e,s))}},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.find(this.options.items).eq(0);e||this.focus(t,i)},blur:function(e){this._delay(function(){var i=!t.contains(this.element[0],t.ui.safeActiveElement(this.document[0]));i&&this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t),this.mouseHandled=!1}})},_destroy:function(){var e=this.element.find(".ui-menu-item").removeAttr("role aria-disabled"),i=e.children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),i.children().each(function(){var e=t(this);e.data("ui-menu-submenu-caret")&&e.remove()})},_keydown:function(e){var i,s,n,o,a=!0;switch(e.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(e);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case t.ui.keyCode.HOME:this._move("first","first",e);break;case t.ui.keyCode.END:this._move("last","last",e);break;case t.ui.keyCode.UP:this.previous(e);break;case t.ui.keyCode.DOWN:this.next(e);break;case t.ui.keyCode.LEFT:this.collapse(e);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(e);break;case t.ui.keyCode.ESCAPE:this.collapse(e);break;default:a=!1,s=this.previousFilter||"",o=!1,n=e.keyCode>=96&&105>=e.keyCode?""+(e.keyCode-96):String.fromCharCode(e.keyCode),clearTimeout(this.filterTimer),n===s?o=!0:n=s+n,i=this._filterMenuItems(n),i=o&&-1!==i.index(this.active.next())?this.active.nextAll(".ui-menu-item"):i,i.length||(n=String.fromCharCode(e.keyCode),i=this._filterMenuItems(n)),i.length?(this.focus(e,i),this.previousFilter=n,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}a&&e.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var e,i,s,n,o,a=this,r=this.options.icons.submenu,l=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),s=l.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=t(this),i=e.prev(),s=t("").data("ui-menu-submenu-caret",!0);a._addClass(s,"ui-menu-icon","ui-icon "+r),i.attr("aria-haspopup","true").prepend(s),e.attr("aria-labelledby",i.attr("id"))}),this._addClass(s,"ui-menu","ui-widget ui-widget-content ui-front"),e=l.add(this.element),i=e.find(this.options.items),i.not(".ui-menu-item").each(function(){var e=t(this);a._isDivider(e)&&a._addClass(e,"ui-menu-divider","ui-widget-content")}),n=i.not(".ui-menu-item, .ui-menu-divider"),o=n.children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(n,"ui-menu-item")._addClass(o,"ui-menu-item-wrapper"),i.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){if("icons"===t){var i=this.element.find(".ui-menu-icon");this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,e.submenu)}this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t+""),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var i,s,n;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),s=this.active.children(".ui-menu-item-wrapper"),this._addClass(s,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",s.attr("id")),n=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(n,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),i=e.children(".ui-menu"),i.length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(e){var i,s,n,o,a,r;this._hasScroll()&&(i=parseFloat(t.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(t.css(this.activeMenu[0],"paddingTop"))||0,n=e.offset().top-this.activeMenu.offset().top-i-s,o=this.activeMenu.scrollTop(),a=this.activeMenu.height(),r=e.outerHeight(),0>n?this.activeMenu.scrollTop(o+n):n+r>a&&this.activeMenu.scrollTop(o+n-a+r))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",t,{item:this.active}),this.active=null)},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var i=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var s=i?this.element:t(e&&e.target).closest(this.element.find(".ui-menu"));s.length||(s=this.element),this._close(s),this.blur(e),this._removeClass(s.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=s},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false")},_closeOnDocumentClick:function(e){return!t(e.target).closest(".ui-menu").length},_isDivider:function(t){return!/[^\-\u2014\u2013\s]/.test(t.text())},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,i){var s;this.active&&(s="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0)),s&&s.length&&this.active||(s=this.activeMenu.find(this.options.items)[e]()),this.focus(i,s)},nextPage:function(e){var i,s,n;return this.active?(this.isLastItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return i=t(this),0>i.offset().top-s-n}),this.focus(e,i)):this.focus(e,this.activeMenu.find(this.options.items)[this.active?"last":"first"]())),void 0):(this.next(e),void 0)},previousPage:function(e){var i,s,n;return this.active?(this.isFirstItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return i=t(this),i.offset().top-s+n>0}),this.focus(e,i)):this.focus(e,this.activeMenu.find(this.options.items).first())),void 0):(this.next(e),void 0)},_hasScroll:function(){return this.element.outerHeight()",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var e,i,s,n=this.element[0].nodeName.toLowerCase(),o="textarea"===n,a="input"===n;this.isMultiLine=o||!a&&this._isContentEditable(this.element),this.valueMethod=this.element[o||a?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(n){if(this.element.prop("readOnly"))return e=!0,s=!0,i=!0,void 0;e=!1,s=!1,i=!1;var o=t.ui.keyCode;switch(n.keyCode){case o.PAGE_UP:e=!0,this._move("previousPage",n);break;case o.PAGE_DOWN:e=!0,this._move("nextPage",n);break;case o.UP:e=!0,this._keyEvent("previous",n);break;case o.DOWN:e=!0,this._keyEvent("next",n);break;case o.ENTER:this.menu.active&&(e=!0,n.preventDefault(),this.menu.select(n));break;case o.TAB:this.menu.active&&this.menu.select(n);break;case o.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(n),n.preventDefault());break;default:i=!0,this._searchTimeout(n)}},keypress:function(s){if(e)return e=!1,(!this.isMultiLine||this.menu.element.is(":visible"))&&s.preventDefault(),void 0;if(!i){var n=t.ui.keyCode;switch(s.keyCode){case n.PAGE_UP:this._move("previousPage",s);break;case n.PAGE_DOWN:this._move("nextPage",s);break;case n.UP:this._keyEvent("previous",s);break;case n.DOWN:this._keyEvent("next",s)}}},input:function(t){return s?(s=!1,t.preventDefault(),void 0):(this._searchTimeout(t),void 0)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){return this.cancelBlur?(delete this.cancelBlur,void 0):(clearTimeout(this.searching),this.close(t),this._change(t),void 0)}}),this._initSource(),this.menu=t("
            ").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,this.element[0]!==t.ui.safeActiveElement(this.document[0])&&this.element.trigger("focus")})},menufocus:function(e,i){var s,n;return this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type))?(this.menu.blur(),this.document.one("mousemove",function(){t(e.target).trigger(e.originalEvent)}),void 0):(n=i.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",e,{item:n})&&e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(n.value),s=i.item.attr("aria-label")||n.value,s&&t.trim(s).length&&(this.liveRegion.children().hide(),t("
            ").text(s).appendTo(this.liveRegion)),void 0)},menuselect:function(e,i){var s=i.item.data("ui-autocomplete-item"),n=this.previous;this.element[0]!==t.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=n,this._delay(function(){this.previous=n,this.selectedItem=s})),!1!==this._trigger("select",e,{item:s})&&this._value(s.value),this.term=this._value(),this.close(e),this.selectedItem=s}}),this.liveRegion=t("
            ",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(e){var i=this.menu.element[0];return e.target===this.element[0]||e.target===i||t.contains(i,e.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front, dialog")),e.length||(e=this.document[0].body),e},_initSource:function(){var e,i,s=this;t.isArray(this.options.source)?(e=this.options.source,this.source=function(i,s){s(t.ui.autocomplete.filter(e,i.term))}):"string"==typeof this.options.source?(i=this.options.source,this.source=function(e,n){s.xhr&&s.xhr.abort(),s.xhr=t.ajax({url:i,data:e,dataType:"json",success:function(t){n(t)},error:function(){n([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){var e=this.term===this._value(),i=this.menu.element.is(":visible"),s=t.altKey||t.ctrlKey||t.metaKey||t.shiftKey;(!e||e&&!i&&!s)&&(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length").append(t("
            ").text(i.label)).appendTo(e)},_move:function(t,e){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),this.menu.blur(),void 0):(this.menu[t](e),void 0):(this.search(null,e),void 0)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(t,e),e.preventDefault())},_isContentEditable:function(t){if(!t.length)return!1;var e=t.prop("contentEditable");return"inherit"===e?this._isContentEditable(t.parent()):"true"===e}}),t.extend(t.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,i){var s=RegExp(t.ui.autocomplete.escapeRegex(i),"i");return t.grep(e,function(t){return s.test(t.label||t.value||t)})}}),t.widget("ui.autocomplete",t.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(t>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var i;this._superApply(arguments),this.options.disabled||this.cancelSearch||(i=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,this.liveRegion.children().hide(),t("
            ").text(i).appendTo(this.liveRegion))}}),t.ui.autocomplete}); \ No newline at end of file diff --git a/target/site/apidocs/script-dir/jquery-ui.structure.min.css b/target/site/apidocs/script-dir/jquery-ui.structure.min.css deleted file mode 100644 index e880892..0000000 --- a/target/site/apidocs/script-dir/jquery-ui.structure.min.css +++ /dev/null @@ -1,5 +0,0 @@ -/*! jQuery UI - v1.12.1 - 2018-12-06 -* http://jqueryui.com -* Copyright jQuery Foundation and other contributors; Licensed MIT */ - -.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{margin:0;cursor:pointer;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-item-wrapper{position:relative;padding:3px 1em 3px .4em}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item-wrapper{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0} \ No newline at end of file diff --git a/target/site/apidocs/script.js b/target/site/apidocs/script.js deleted file mode 100644 index 864989c..0000000 --- a/target/site/apidocs/script.js +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -var moduleSearchIndex; -var packageSearchIndex; -var typeSearchIndex; -var memberSearchIndex; -var tagSearchIndex; -function loadScripts(doc, tag) { - createElem(doc, tag, 'search.js'); - - createElem(doc, tag, 'module-search-index.js'); - createElem(doc, tag, 'package-search-index.js'); - createElem(doc, tag, 'type-search-index.js'); - createElem(doc, tag, 'member-search-index.js'); - createElem(doc, tag, 'tag-search-index.js'); -} - -function createElem(doc, tag, path) { - var script = doc.createElement(tag); - var scriptElement = doc.getElementsByTagName(tag)[0]; - script.src = pathtoroot + path; - scriptElement.parentNode.insertBefore(script, scriptElement); -} - -function show(tableId, selected, columns) { - if (tableId !== selected) { - document.querySelectorAll('div.' + tableId + ':not(.' + selected + ')') - .forEach(function(elem) { - elem.style.display = 'none'; - }); - } - document.querySelectorAll('div.' + selected) - .forEach(function(elem, index) { - elem.style.display = ''; - var isEvenRow = index % (columns * 2) < columns; - elem.classList.remove(isEvenRow ? oddRowColor : evenRowColor); - elem.classList.add(isEvenRow ? evenRowColor : oddRowColor); - }); - updateTabs(tableId, selected); -} - -function updateTabs(tableId, selected) { - document.querySelector('div#' + tableId +' .summary-table') - .setAttribute('aria-labelledby', selected); - document.querySelectorAll('button[id^="' + tableId + '"]') - .forEach(function(tab, index) { - if (selected === tab.id || (tableId === selected && index === 0)) { - tab.className = activeTableTab; - tab.setAttribute('aria-selected', true); - tab.setAttribute('tabindex',0); - } else { - tab.className = tableTab; - tab.setAttribute('aria-selected', false); - tab.setAttribute('tabindex',-1); - } - }); -} - -function switchTab(e) { - var selected = document.querySelector('[aria-selected=true]'); - if (selected) { - if ((e.keyCode === 37 || e.keyCode === 38) && selected.previousSibling) { - // left or up arrow key pressed: move focus to previous tab - selected.previousSibling.click(); - selected.previousSibling.focus(); - e.preventDefault(); - } else if ((e.keyCode === 39 || e.keyCode === 40) && selected.nextSibling) { - // right or down arrow key pressed: move focus to next tab - selected.nextSibling.click(); - selected.nextSibling.focus(); - e.preventDefault(); - } - } -} - -var updateSearchResults = function() {}; - -function indexFilesLoaded() { - return moduleSearchIndex - && packageSearchIndex - && typeSearchIndex - && memberSearchIndex - && tagSearchIndex; -} - -// Workaround for scroll position not being included in browser history (8249133) -document.addEventListener("DOMContentLoaded", function(e) { - var contentDiv = document.querySelector("div.flex-content"); - window.addEventListener("popstate", function(e) { - if (e.state !== null) { - contentDiv.scrollTop = e.state; - } - }); - window.addEventListener("hashchange", function(e) { - history.replaceState(contentDiv.scrollTop, document.title); - }); - contentDiv.addEventListener("scroll", function(e) { - var timeoutID; - if (!timeoutID) { - timeoutID = setTimeout(function() { - history.replaceState(contentDiv.scrollTop, document.title); - timeoutID = null; - }, 100); - } - }); - if (!location.hash) { - history.replaceState(contentDiv.scrollTop, document.title); - } -}); diff --git a/target/site/apidocs/search.js b/target/site/apidocs/search.js deleted file mode 100644 index 2c2ced0..0000000 --- a/target/site/apidocs/search.js +++ /dev/null @@ -1,354 +0,0 @@ -/* - * Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -var noResult = {l: "No results found"}; -var loading = {l: "Loading search index..."}; -var catModules = "Modules"; -var catPackages = "Packages"; -var catTypes = "Classes and Interfaces"; -var catMembers = "Members"; -var catSearchTags = "Search Tags"; -var highlight = "$&"; -var searchPattern = ""; -var fallbackPattern = ""; -var RANKING_THRESHOLD = 2; -var NO_MATCH = 0xffff; -var MIN_RESULTS = 3; -var MAX_RESULTS = 500; -var UNNAMED = ""; -function escapeHtml(str) { - return str.replace(//g, ">"); -} -function getHighlightedText(item, matcher, fallbackMatcher) { - var escapedItem = escapeHtml(item); - var highlighted = escapedItem.replace(matcher, highlight); - if (highlighted === escapedItem) { - highlighted = escapedItem.replace(fallbackMatcher, highlight) - } - return highlighted; -} -function getURLPrefix(ui) { - var urlPrefix=""; - var slash = "/"; - if (ui.item.category === catModules) { - return ui.item.l + slash; - } else if (ui.item.category === catPackages && ui.item.m) { - return ui.item.m + slash; - } else if (ui.item.category === catTypes || ui.item.category === catMembers) { - if (ui.item.m) { - urlPrefix = ui.item.m + slash; - } else { - $.each(packageSearchIndex, function(index, item) { - if (item.m && ui.item.p === item.l) { - urlPrefix = item.m + slash; - } - }); - } - } - return urlPrefix; -} -function createSearchPattern(term) { - var pattern = ""; - var isWordToken = false; - term.replace(/,\s*/g, ", ").trim().split(/\s+/).forEach(function(w, index) { - if (index > 0) { - // whitespace between identifiers is significant - pattern += (isWordToken && /^\w/.test(w)) ? "\\s+" : "\\s*"; - } - var tokens = w.split(/(?=[A-Z,.()<>[\/])/); - for (var i = 0; i < tokens.length; i++) { - var s = tokens[i]; - if (s === "") { - continue; - } - pattern += $.ui.autocomplete.escapeRegex(s); - isWordToken = /\w$/.test(s); - if (isWordToken) { - pattern += "([a-z0-9_$<>\\[\\]]*?)"; - } - } - }); - return pattern; -} -function createMatcher(pattern, flags) { - var isCamelCase = /[A-Z]/.test(pattern); - return new RegExp(pattern, flags + (isCamelCase ? "" : "i")); -} -var watermark = 'Search'; -$(function() { - var search = $("#search"); - var reset = $("#reset"); - search.val(''); - search.prop("disabled", false); - reset.prop("disabled", false); - search.val(watermark).addClass('watermark'); - search.blur(function() { - if ($(this).val().length === 0) { - $(this).val(watermark).addClass('watermark'); - } - }); - search.on('click keydown paste', function() { - if ($(this).val() === watermark) { - $(this).val('').removeClass('watermark'); - } - }); - reset.click(function() { - search.val('').focus(); - }); - search.focus()[0].setSelectionRange(0, 0); -}); -$.widget("custom.catcomplete", $.ui.autocomplete, { - _create: function() { - this._super(); - this.widget().menu("option", "items", "> :not(.ui-autocomplete-category)"); - }, - _renderMenu: function(ul, items) { - var rMenu = this; - var currentCategory = ""; - rMenu.menu.bindings = $(); - $.each(items, function(index, item) { - var li; - if (item.category && item.category !== currentCategory) { - ul.append("
          • " + item.category + "
          • "); - currentCategory = item.category; - } - li = rMenu._renderItemData(ul, item); - if (item.category) { - li.attr("aria-label", item.category + " : " + item.l); - li.attr("class", "result-item"); - } else { - li.attr("aria-label", item.l); - li.attr("class", "result-item"); - } - }); - }, - _renderItem: function(ul, item) { - var label = ""; - var matcher = createMatcher(escapeHtml(searchPattern), "g"); - var fallbackMatcher = new RegExp(fallbackPattern, "gi") - if (item.category === catModules) { - label = getHighlightedText(item.l, matcher, fallbackMatcher); - } else if (item.category === catPackages) { - label = getHighlightedText(item.l, matcher, fallbackMatcher); - } else if (item.category === catTypes) { - label = (item.p && item.p !== UNNAMED) - ? getHighlightedText(item.p + "." + item.l, matcher, fallbackMatcher) - : getHighlightedText(item.l, matcher, fallbackMatcher); - } else if (item.category === catMembers) { - label = (item.p && item.p !== UNNAMED) - ? getHighlightedText(item.p + "." + item.c + "." + item.l, matcher, fallbackMatcher) - : getHighlightedText(item.c + "." + item.l, matcher, fallbackMatcher); - } else if (item.category === catSearchTags) { - label = getHighlightedText(item.l, matcher, fallbackMatcher); - } else { - label = item.l; - } - var li = $("
          • ").appendTo(ul); - var div = $("
            ").appendTo(li); - if (item.category === catSearchTags && item.h) { - if (item.d) { - div.html(label + " (" + item.h + ")
            " - + item.d + "
            "); - } else { - div.html(label + " (" + item.h + ")"); - } - } else { - if (item.m) { - div.html(item.m + "/" + label); - } else { - div.html(label); - } - } - return li; - } -}); -function rankMatch(match, category) { - if (!match) { - return NO_MATCH; - } - var index = match.index; - var input = match.input; - var leftBoundaryMatch = 2; - var periferalMatch = 0; - // make sure match is anchored on a left word boundary - if (index === 0 || /\W/.test(input[index - 1]) || "_" === input[index]) { - leftBoundaryMatch = 0; - } else if ("_" === input[index - 1] || (input[index] === input[index].toUpperCase() && !/^[A-Z0-9_$]+$/.test(input))) { - leftBoundaryMatch = 1; - } - var matchEnd = index + match[0].length; - var leftParen = input.indexOf("("); - var endOfName = leftParen > -1 ? leftParen : input.length; - // exclude peripheral matches - if (category !== catModules && category !== catSearchTags) { - var delim = category === catPackages ? "/" : "."; - if (leftParen > -1 && leftParen < index) { - periferalMatch += 2; - } else if (input.lastIndexOf(delim, endOfName) >= matchEnd) { - periferalMatch += 2; - } - } - var delta = match[0].length === endOfName ? 0 : 1; // rank full match higher than partial match - for (var i = 1; i < match.length; i++) { - // lower ranking if parts of the name are missing - if (match[i]) - delta += match[i].length; - } - if (category === catTypes) { - // lower ranking if a type name contains unmatched camel-case parts - if (/[A-Z]/.test(input.substring(matchEnd))) - delta += 5; - if (/[A-Z]/.test(input.substring(0, index))) - delta += 5; - } - return leftBoundaryMatch + periferalMatch + (delta / 200); - -} -function doSearch(request, response) { - var result = []; - searchPattern = createSearchPattern(request.term); - fallbackPattern = createSearchPattern(request.term.toLowerCase()); - if (searchPattern === "") { - return this.close(); - } - var camelCaseMatcher = createMatcher(searchPattern, ""); - var fallbackMatcher = new RegExp(fallbackPattern, "i"); - - function searchIndexWithMatcher(indexArray, matcher, category, nameFunc) { - if (indexArray) { - var newResults = []; - $.each(indexArray, function (i, item) { - item.category = category; - var ranking = rankMatch(matcher.exec(nameFunc(item)), category); - if (ranking < RANKING_THRESHOLD) { - newResults.push({ranking: ranking, item: item}); - } - return newResults.length <= MAX_RESULTS; - }); - return newResults.sort(function(e1, e2) { - return e1.ranking - e2.ranking; - }).map(function(e) { - return e.item; - }); - } - return []; - } - function searchIndex(indexArray, category, nameFunc) { - var primaryResults = searchIndexWithMatcher(indexArray, camelCaseMatcher, category, nameFunc); - result = result.concat(primaryResults); - if (primaryResults.length <= MIN_RESULTS && camelCaseMatcher.flags.indexOf("i") === -1) { - var secondaryResults = searchIndexWithMatcher(indexArray, fallbackMatcher, category, nameFunc); - result = result.concat(secondaryResults.filter(function (item) { - return primaryResults.indexOf(item) === -1; - })); - } - } - - searchIndex(moduleSearchIndex, catModules, function(item) { return item.l; }); - searchIndex(packageSearchIndex, catPackages, function(item) { - return (item.m && request.term.indexOf("/") > -1) - ? (item.m + "/" + item.l) : item.l; - }); - searchIndex(typeSearchIndex, catTypes, function(item) { - return request.term.indexOf(".") > -1 ? item.p + "." + item.l : item.l; - }); - searchIndex(memberSearchIndex, catMembers, function(item) { - return request.term.indexOf(".") > -1 - ? item.p + "." + item.c + "." + item.l : item.l; - }); - searchIndex(tagSearchIndex, catSearchTags, function(item) { return item.l; }); - - if (!indexFilesLoaded()) { - updateSearchResults = function() { - doSearch(request, response); - } - result.unshift(loading); - } else { - updateSearchResults = function() {}; - } - response(result); -} -$(function() { - $("#search").catcomplete({ - minLength: 1, - delay: 300, - source: doSearch, - response: function(event, ui) { - if (!ui.content.length) { - ui.content.push(noResult); - } else { - $("#search").empty(); - } - }, - autoFocus: true, - focus: function(event, ui) { - return false; - }, - position: { - collision: "flip" - }, - select: function(event, ui) { - if (ui.item.category) { - var url = getURLPrefix(ui); - if (ui.item.category === catModules) { - url += "module-summary.html"; - } else if (ui.item.category === catPackages) { - if (ui.item.u) { - url = ui.item.u; - } else { - url += ui.item.l.replace(/\./g, '/') + "/package-summary.html"; - } - } else if (ui.item.category === catTypes) { - if (ui.item.u) { - url = ui.item.u; - } else if (ui.item.p === UNNAMED) { - url += ui.item.l + ".html"; - } else { - url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.l + ".html"; - } - } else if (ui.item.category === catMembers) { - if (ui.item.p === UNNAMED) { - url += ui.item.c + ".html" + "#"; - } else { - url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.c + ".html" + "#"; - } - if (ui.item.u) { - url += ui.item.u; - } else { - url += ui.item.l; - } - } else if (ui.item.category === catSearchTags) { - url += ui.item.u; - } - if (top !== window) { - parent.classFrame.location = pathtoroot + url; - } else { - window.location.href = pathtoroot + url; - } - $("#search").focus(); - } - } - }); -}); diff --git a/target/site/apidocs/serialized-form.html b/target/site/apidocs/serialized-form.html deleted file mode 100644 index 781fdeb..0000000 --- a/target/site/apidocs/serialized-form.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - -Serialized Form (spoteezer 0.1.0 API) - - - - - - - - - - - - - - - -
            - -
            -
            -
            -

            Serialized Form

            -
            - -
            -
            -
            - -
            -
            -
            - - diff --git a/target/site/apidocs/stylesheet.css b/target/site/apidocs/stylesheet.css deleted file mode 100644 index 932e56c..0000000 --- a/target/site/apidocs/stylesheet.css +++ /dev/null @@ -1,827 +0,0 @@ -/* - * Javadoc style sheet - */ - -@import url('resources/fonts/dejavu.css'); - -/* - * Styles for individual HTML elements. - * - * These are styles that are specific to individual HTML elements. Changing them affects the style of a particular - * HTML element throughout the page. - */ - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; - padding:0; - height:100%; - width:100%; -} -iframe { - margin:0; - padding:0; - height:100%; - width:100%; - overflow-y:scroll; - border:none; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a[href]:hover, a[href]:focus { - text-decoration:none; - color:#bb7a2a; -} -a[name] { - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -.summary-table dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -button { - font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size: 14px; -} -/* - * Styles for HTML generated by javadoc. - * - * These are style classes that are used by the standard doclet to generate HTML documentation. - */ - -/* - * Styles for document title and copyright. - */ -.clear { - clear:both; - height:0; - overflow:hidden; -} -.about-language { - float:right; - padding:0 21px 8px 8px; - font-size:11px; - margin-top:-9px; - height:2.9em; -} -.legal-copy { - margin-left:.5em; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* - * Styles for navigation bar. - */ -@media screen { - .flex-box { - position:fixed; - display:flex; - flex-direction:column; - height: 100%; - width: 100%; - } - .flex-header { - flex: 0 0 auto; - } - .flex-content { - flex: 1 1 auto; - overflow-y: auto; - } -} -.top-nav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - min-height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.sub-nav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.sub-nav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -.sub-nav .nav-list { - padding-top:5px; -} -ul.nav-list { - display:block; - margin:0 25px 0 0; - padding:0; -} -ul.sub-nav-list { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.nav-list li { - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -.sub-nav .nav-list-search { - float:right; - margin:0 0 0 0; - padding:5px 6px; - clear:none; -} -.nav-list-search label { - position:relative; - right:-16px; -} -ul.sub-nav-list li { - list-style:none; - float:left; - padding-top:10px; -} -.top-nav a:link, .top-nav a:active, .top-nav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.top-nav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.nav-bar-cell1-rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skip-nav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* - * Hide navigation links and search box in print layout - */ -@media print { - ul.nav-list, div.sub-nav { - display:none; - } -} -/* - * Styles for page header and footer. - */ -.title { - color:#2c4557; - margin:10px 0; -} -.sub-title { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* - * Styles for headings. - */ -body.class-declaration-page .summary h2, -body.class-declaration-page .details h2, -body.class-use-page h2, -body.module-declaration-page .block-list h2 { - font-style: italic; - padding:0; - margin:15px 0; -} -body.class-declaration-page .summary h3, -body.class-declaration-page .details h3, -body.class-declaration-page .summary .inherited-list h2 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -/* - * Styles for page layout containers. - */ -main { - clear:both; - padding:10px 20px; - position:relative; -} -dl.notes > dt { - font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -dl.notes > dd { - margin:5px 0 10px 0; - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} -dl.name-value > dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -dl.name-value > dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* - * Styles for lists. - */ -li.circle { - list-style:circle; -} -ul.horizontal li { - display:inline; - font-size:0.9em; -} -div.inheritance { - margin:0; - padding:0; -} -div.inheritance div.inheritance { - margin-left:2em; -} -ul.block-list, -ul.details-list, -ul.member-list, -ul.summary-list { - margin:10px 0 10px 0; - padding:0; -} -ul.block-list > li, -ul.details-list > li, -ul.member-list > li, -ul.summary-list > li { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -.summary-table dl, .summary-table dl dt, .summary-table dl dd { - margin-top:0; - margin-bottom:1px; -} -/* - * Styles for tables. - */ -.summary-table { - width:100%; - border-spacing:0; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.summary-table { - padding:0; -} -.caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.caption a:link, .caption a:visited { - color:#1f389c; -} -.caption a:hover, -.caption a:active { - color:#FFFFFF; -} -.caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} - -div.table-tabs > button { - border: none; - cursor: pointer; - padding: 5px 12px 7px 12px; - font-weight: bold; - margin-right: 3px; -} -div.table-tabs > button.active-table-tab { - background: #F8981D; - color: #253441; -} -div.table-tabs > button.table-tab { - background: #4D7A97; - color: #FFFFFF; -} -.two-column-summary { - display: grid; - grid-template-columns: minmax(15%, max-content) minmax(15%, auto); -} -.three-column-summary { - display: grid; - grid-template-columns: minmax(10%, max-content) minmax(15%, max-content) minmax(15%, auto); -} -.four-column-summary { - display: grid; - grid-template-columns: minmax(10%, max-content) minmax(10%, max-content) minmax(10%, max-content) minmax(10%, auto); -} -@media screen and (max-width: 600px) { - .two-column-summary { - display: grid; - grid-template-columns: 1fr; - } -} -@media screen and (max-width: 800px) { - .three-column-summary { - display: grid; - grid-template-columns: minmax(10%, max-content) minmax(25%, auto); - } - .three-column-summary .col-last { - grid-column-end: span 2; - } -} -@media screen and (max-width: 1000px) { - .four-column-summary { - display: grid; - grid-template-columns: minmax(15%, max-content) minmax(15%, auto); - } -} -.summary-table > div { - text-align:left; - padding: 8px 3px 3px 7px; -} -.col-first, .col-second, .col-last, .col-constructor-name, .col-deprecated-item-name { - vertical-align:top; - padding-right:0; - padding-top:8px; - padding-bottom:3px; -} -.table-header { - background:#dee3e9; - font-weight: bold; -} -.col-first, .col-first { - font-size:13px; -} -.col-second, .col-second, .col-last, .col-constructor-name, .col-deprecated-item-name, .col-last { - font-size:13px; -} -.col-first, .col-second, .col-constructor-name { - vertical-align:top; - overflow: auto; -} -.col-last { - white-space:normal; -} -.col-first a:link, .col-first a:visited, -.col-second a:link, .col-second a:visited, -.col-first a:link, .col-first a:visited, -.col-second a:link, .col-second a:visited, -.col-constructor-name a:link, .col-constructor-name a:visited, -.col-deprecated-item-name a:link, .col-deprecated-item-name a:visited, -.constant-values-container a:link, .constant-values-container a:visited, -.all-classes-container a:link, .all-classes-container a:visited, -.all-packages-container a:link, .all-packages-container a:visited { - font-weight:bold; -} -.table-sub-heading-color { - background-color:#EEEEFF; -} -.even-row-color, .even-row-color .table-header { - background-color:#FFFFFF; -} -.odd-row-color, .odd-row-color .table-header { - background-color:#EEEEEF; -} -/* - * Styles for contents. - */ -.deprecated-content { - margin:0; - padding:10px 0; -} -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} -.col-last div { - padding-top:0; -} -.col-last a { - padding-bottom:3px; -} -.module-signature, -.package-signature, -.type-signature, -.member-signature { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - margin:14px 0; - white-space: pre-wrap; -} -.module-signature, -.package-signature, -.type-signature { - margin-top: 0; -} -.member-signature .type-parameters-long, -.member-signature .parameters, -.member-signature .exceptions { - display: inline-block; - vertical-align: top; - white-space: pre; -} -.member-signature .type-parameters { - white-space: normal; -} -/* - * Styles for formatting effect. - */ -.source-line-no { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:0 10px 5px 0; - color:#474747; -} -.deprecated-label, .descfrm-type-label, .implementation-label, .member-name-label, .member-name-link, -.module-label-in-package, .module-label-in-type, .override-specify-label, .package-label-in-type, -.package-hierarchy-label, .type-name-label, .type-name-link, .search-tag-link { - font-weight:bold; -} -.deprecation-comment, .help-footnote, .interface-name { - font-style:italic; -} -.deprecation-block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; - border-style:solid; - border-width:thin; - border-radius:10px; - padding:10px; - margin-bottom:10px; - margin-right:10px; - display:inline-block; -} -div.block div.deprecation-comment, div.block div.block span.emphasized-phrase, -div.block div.block span.interface-name { - font-style:normal; -} -/* - * Styles specific to HTML5 elements. - */ -main, nav, header, footer, section { - display:block; -} -/* - * Styles for javadoc search. - */ -.ui-autocomplete-category { - font-weight:bold; - font-size:15px; - padding:7px 0 7px 3px; - background-color:#4D7A97; - color:#FFFFFF; -} -.result-item { - font-size:13px; -} -.ui-autocomplete { - max-height:85%; - max-width:65%; - overflow-y:scroll; - overflow-x:scroll; - white-space:nowrap; - box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); -} -ul.ui-autocomplete { - position:fixed; - z-index:999999; -} -ul.ui-autocomplete li { - float:left; - clear:both; - width:100%; -} -.result-highlight { - font-weight:bold; -} -#search { - background-image:url('resources/glass.png'); - background-size:13px; - background-repeat:no-repeat; - background-position:2px 3px; - padding-left:20px; - position:relative; - right:-18px; - width:400px; -} -#reset { - background-color: rgb(255,255,255); - background-image:url('resources/x.png'); - background-position:center; - background-repeat:no-repeat; - background-size:12px; - border:0 none; - width:16px; - height:16px; - position:relative; - left:-4px; - top:-4px; - font-size:0px; -} -.watermark { - color:#545454; -} -.search-tag-desc-result { - font-style:italic; - font-size:11px; -} -.search-tag-holder-result { - font-style:italic; - font-size:12px; -} -.search-tag-result:target { - background-color:yellow; -} -.module-graph span { - display:none; - position:absolute; -} -.module-graph:hover span { - display:block; - margin: -100px 0 0 100px; - z-index: 1; -} -.inherited-list { - margin: 10px 0 10px 0; -} -section.description { - line-height: 1.4; -} -.summary section[class$="-summary"], .details section[class$="-details"], -.class-uses .detail, .serialized-class-details { - padding: 0px 20px 5px 10px; - border: 1px solid #ededed; - background-color: #f8f8f8; -} -.inherited-list, section[class$="-details"] .detail { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -.vertical-separator { - padding: 0 5px; -} -ul.help-section-list { - margin: 0; -} -/* - * Indicator icon for external links. - */ -main a[href*="://"]::after { - content:""; - display:inline-block; - background-image:url('data:image/svg+xml; utf8, \ - \ - \ - '); - background-size:100% 100%; - width:7px; - height:7px; - margin-left:2px; - margin-bottom:4px; -} -main a[href*="://"]:hover::after, -main a[href*="://"]:focus::after { - background-image:url('data:image/svg+xml; utf8, \ - \ - \ - '); -} - -/* - * Styles for user-provided tables. - * - * borderless: - * No borders, vertical margins, styled caption. - * This style is provided for use with existing doc comments. - * In general, borderless tables should not be used for layout purposes. - * - * plain: - * Plain borders around table and cells, vertical margins, styled caption. - * Best for small tables or for complex tables for tables with cells that span - * rows and columns, when the "striped" style does not work well. - * - * striped: - * Borders around the table and vertical borders between cells, striped rows, - * vertical margins, styled caption. - * Best for tables that have a header row, and a body containing a series of simple rows. - */ - -table.borderless, -table.plain, -table.striped { - margin-top: 10px; - margin-bottom: 10px; -} -table.borderless > caption, -table.plain > caption, -table.striped > caption { - font-weight: bold; - font-size: smaller; -} -table.borderless th, table.borderless td, -table.plain th, table.plain td, -table.striped th, table.striped td { - padding: 2px 5px; -} -table.borderless, -table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th, -table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td { - border: none; -} -table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr { - background-color: transparent; -} -table.plain { - border-collapse: collapse; - border: 1px solid black; -} -table.plain > thead > tr, table.plain > tbody tr, table.plain > tr { - background-color: transparent; -} -table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th, -table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td { - border: 1px solid black; -} -table.striped { - border-collapse: collapse; - border: 1px solid black; -} -table.striped > thead { - background-color: #E3E3E3; -} -table.striped > thead > tr > th, table.striped > thead > tr > td { - border: 1px solid black; -} -table.striped > tbody > tr:nth-child(even) { - background-color: #EEE -} -table.striped > tbody > tr:nth-child(odd) { - background-color: #FFF -} -table.striped > tbody > tr > th, table.striped > tbody > tr > td { - border-left: 1px solid black; - border-right: 1px solid black; -} -table.striped > tbody > tr > th { - font-weight: normal; -} -/** - * Tweak font sizes and paddings for small screens. - */ -@media screen and (max-width: 1050px) { - #search { - width: 300px; - } -} -@media screen and (max-width: 800px) { - #search { - width: 200px; - } - .top-nav, - .bottom-nav { - font-size: 11px; - padding-top: 6px; - } - .sub-nav { - font-size: 11px; - } - .about-language { - padding-right: 16px; - } - ul.nav-list li, - .sub-nav .nav-list-search { - padding: 6px; - } - ul.sub-nav-list li { - padding-top: 5px; - } - main { - padding: 10px; - } - .summary section[class$="-summary"], .details section[class$="-details"], - .class-uses .detail, .serialized-class-details { - padding: 0 8px 5px 8px; - } - body { - -webkit-text-size-adjust: none; - } -} -@media screen and (max-width: 500px) { - #search { - width: 150px; - } - .top-nav, - .bottom-nav { - font-size: 10px; - } - .sub-nav { - font-size: 10px; - } - .about-language { - font-size: 10px; - padding-right: 12px; - } -} diff --git a/target/site/apidocs/tag-search-index.js b/target/site/apidocs/tag-search-index.js deleted file mode 100644 index f38b3cb..0000000 --- a/target/site/apidocs/tag-search-index.js +++ /dev/null @@ -1 +0,0 @@ -tagSearchIndex = [{"l":"Serialized Form","h":"","u":"serialized-form.html"}];updateSearchResults(); \ No newline at end of file diff --git a/target/site/apidocs/type-search-index.js b/target/site/apidocs/type-search-index.js deleted file mode 100644 index 26dac6f..0000000 --- a/target/site/apidocs/type-search-index.js +++ /dev/null @@ -1 +0,0 @@ -typeSearchIndex = [{"p":"musichub.business","l":"Album"},{"l":"All Classes","u":"allclasses-index.html"},{"p":"musichub.business","l":"AudioBook"},{"p":"musichub.business","l":"AudioElement"},{"p":"musichub.business","l":"Category"},{"p":"musichub.business","l":"Genre"},{"p":"musichub.business","l":"Language"},{"p":"musichub.util","l":"LogHandler"},{"p":"musichub.main","l":"Main"},{"p":"musichub.business","l":"MusicHub"},{"p":"musichub.business","l":"NoAlbumFoundException"},{"p":"musichub.business","l":"NoElementFoundException"},{"p":"musichub.business","l":"NoPlayListFoundException"},{"p":"musichub.util","l":"PathValidation"},{"p":"musichub.business","l":"PlayList"},{"p":"musichub.business","l":"Song"},{"p":"musichub.util","l":"XMLHandler"}];updateSearchResults(); \ No newline at end of file diff --git a/target/site/jacoco/index.html b/target/site/jacoco/index.html index b800f3f..d0737be 100644 --- a/target/site/jacoco/index.html +++ b/target/site/jacoco/index.html @@ -1 +1 @@ -spoteezer

            spoteezer

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
            Total2 740 of 2 8032 %210 of 2100 %20621173074588931719
            musichub.business2 0630 %1690 %17217249949981811515
            musichub.main6050 %410 %30302062063311
            musichub.util726346 %n/a4925404913
            \ No newline at end of file +spoteezer

            spoteezer

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
            Total2 674 of 2 8034 %210 of 2100 %20221170974584931619
            musichub.business2 0630 %1690 %17217249949981811515
            musichub.main6050 %410 %30302062063311
            musichub.util12995 %n/a094400903
            \ No newline at end of file diff --git a/target/site/jacoco/jacoco-sessions.html b/target/site/jacoco/jacoco-sessions.html index 4058e1f..a018689 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-be4b9e1226 juin 2021, 22:06:2526 juin 2021, 22:06:26
            DESKTOP-M4INQND-4db7b83426 juin 2021, 22:06:3826 juin 2021, 22:06:38

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

            ClassId
            java.sql.Dated25610486aed3f31
            java.sql.Timestampb848522074600355
            musichub.util.LogHandler727806a24a38b49a
            musichub.util.LogHandlerTestd7b83ca1e47cacd7
            musichub.util.PathValidation538d6ca0ac9478ad
            musichub.util.PathValidationTestb026f96f38b030a9
            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.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.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-b17df68a27 juin 2021, 11:15:4427 juin 2021, 11:15:45

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

            ClassId
            java.sql.Dated25610486aed3f31
            java.sql.Timestampb848522074600355
            musichub.util.LogHandler09990b742e8d897c
            musichub.util.LogHandlerTest6f7f85e323011650
            musichub.util.PathValidation538d6ca0ac9478ad
            musichub.util.PathValidationTest46821ddd8d6598d1
            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.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 6466855..f93071b 100644 --- a/target/site/jacoco/jacoco.csv +++ b/target/site/jacoco/jacoco.csv @@ -1,7 +1,7 @@ GROUP,PACKAGE,CLASS,INSTRUCTION_MISSED,INSTRUCTION_COVERED,BRANCH_MISSED,BRANCH_COVERED,LINE_MISSED,LINE_COVERED,COMPLEXITY_MISSED,COMPLEXITY_COVERED,METHOD_MISSED,METHOD_COVERED spoteezer,musichub.util,PathValidation,0,17,0,0,0,4,0,2,0,2 spoteezer,musichub.util,LogHandler,0,46,0,0,0,11,0,3,0,3 -spoteezer,musichub.util,XMLHandler,72,0,0,0,25,0,4,0,4,0 +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 diff --git a/target/site/jacoco/jacoco.xml b/target/site/jacoco/jacoco.xml index 2e46b55..9188cdf 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.util/XMLHandler.html b/target/site/jacoco/musichub.util/XMLHandler.html index 7aff8c8..a99c1d8 100644 --- a/target/site/jacoco/musichub.util/XMLHandler.html +++ b/target/site/jacoco/musichub.util/XMLHandler.html @@ -1 +1 @@ -XMLHandler

            XMLHandler

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
            Total72 of 720 %0 of 0n/a44252544
            XMLHandler()230 %n/a119911
            createXMLFile(Document, String)230 %n/a117711
            parseXMLFile(String)220 %n/a118811
            createXMLDocument()40 %n/a111111
            \ No newline at end of file +XMLHandler

            XMLHandler

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
            Total6 of 7291 %0 of 0n/a0442504
            XMLHandler()32086 %n/a012901
            createXMLFile(Document, String)32086 %n/a012701
            parseXMLFile(String)22100 %n/a010801
            createXMLDocument()4100 %n/a010101
            \ No newline at end of file diff --git a/target/site/jacoco/musichub.util/XMLHandler.java.html b/target/site/jacoco/musichub.util/XMLHandler.java.html index b8ee27a..7d6e751 100644 --- a/target/site/jacoco/musichub.util/XMLHandler.java.html +++ b/target/site/jacoco/musichub.util/XMLHandler.java.html @@ -23,51 +23,51 @@ public class XMLHandler { DocumentBuilderFactory documentFactory; DocumentBuilder documentBuilder; - public XMLHandler() { + public XMLHandler() { try { - transformerFactory = TransformerFactory.newInstance(); - transformer = transformerFactory.newTransformer(); - documentFactory = DocumentBuilderFactory.newInstance(); - documentBuilder = documentFactory.newDocumentBuilder(); + transformerFactory = TransformerFactory.newInstance(); + transformer = transformerFactory.newTransformer(); + documentFactory = DocumentBuilderFactory.newInstance(); + documentBuilder = documentFactory.newDocumentBuilder(); } catch (TransformerException | ParserConfigurationException tfe) { tfe.printStackTrace(); - } - } + } + } public void createXMLFile(Document document, String filePath) { try { // create the xml file //transform the DOM Object to an XML File - DOMSource domSource = new DOMSource(document); - StreamResult streamResult = new StreamResult(new File(filePath)); + DOMSource domSource = new DOMSource(document); + StreamResult streamResult = new StreamResult(new File(filePath)); // If you use // StreamResult result = new StreamResult(System.out); // the output will be pushed to the standard output ... // You can use that for debugging - transformer.transform(domSource, streamResult); + transformer.transform(domSource, streamResult); } catch (TransformerException tfe) { tfe.printStackTrace(); - } - } + } + } public Document createXMLDocument() { - return documentBuilder.newDocument(); + return documentBuilder.newDocument(); } public NodeList parseXMLFile(String filePath) { - NodeList elementNodes = null; + NodeList elementNodes = null; try { - Document document = documentBuilder.parse(new File(filePath)); - Element root = document.getDocumentElement(); + Document document = documentBuilder.parse(new File(filePath)); + Element root = document.getDocumentElement(); - elementNodes = root.getChildNodes(); - } catch (SAXException | IOException e) { - e.printStackTrace(); - } - return elementNodes; + elementNodes = root.getChildNodes(); + } catch (SAXException | IOException e) { + e.printStackTrace(); + } + return elementNodes; } diff --git a/target/site/jacoco/musichub.util/index.html b/target/site/jacoco/musichub.util/index.html index 20f0d2b..8091491 100644 --- a/target/site/jacoco/musichub.util/index.html +++ b/target/site/jacoco/musichub.util/index.html @@ -1 +1 @@ -musichub.util

            musichub.util

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
            Total72 of 13546 %0 of 0n/a4925404913
            XMLHandler720 %n/a4425254411
            LogHandler46100 %n/a030110301
            PathValidation17100 %n/a02040201
            \ No newline at end of file +musichub.util

            musichub.util

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
            Total6 of 13595 %0 of 0n/a094400903
            XMLHandler66691 %n/a044250401
            LogHandler46100 %n/a030110301
            PathValidation17100 %n/a02040201
            \ No newline at end of file diff --git a/target/site/jacoco/musichub.util/index.source.html b/target/site/jacoco/musichub.util/index.source.html index f8bbd4e..ce29c52 100644 --- a/target/site/jacoco/musichub.util/index.source.html +++ b/target/site/jacoco/musichub.util/index.source.html @@ -1 +1 @@ -musichub.util

            musichub.util

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
            Total72 of 13546 %0 of 0n/a4925404913
            XMLHandler.java720 %n/a4425254411
            LogHandler.java46100 %n/a030110301
            PathValidation.java17100 %n/a02040201
            \ No newline at end of file +musichub.util

            musichub.util

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
            Total6 of 13595 %0 of 0n/a094400903
            XMLHandler.java66691 %n/a044250401
            LogHandler.java46100 %n/a030110301
            PathValidation.java17100 %n/a02040201
            \ No newline at end of file diff --git a/target/spoteezer-0.1.0.jar b/target/spoteezer-0.1.0.jar deleted file mode 100644 index ea96baa..0000000 Binary files a/target/spoteezer-0.1.0.jar and /dev/null differ -- cgit v1.2.3 From a9f46e2164f0d9ce416f34ebcb68d532de98cdb2 Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Sun, 27 Jun 2021 11:55:45 +0200 Subject: Starting Song tests --- log/spoteezer.log | 14 +++++- src/test/java/musichub/business/SongTest.java | 46 ++++++++++++++++++ target/jacoco.exec | Bin 14814 -> 15029 bytes .../default-testCompile/createdFiles.lst | 1 + .../testCompile/default-testCompile/inputFiles.lst | 1 + 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 +- .../jacoco/musichub.business/AudioElement.html | 2 +- .../musichub.business/AudioElement.java.html | 54 ++++++++++----------- target/site/jacoco/musichub.business/Genre.html | 2 +- .../site/jacoco/musichub.business/Genre.java.html | 12 ++--- target/site/jacoco/musichub.business/Song.html | 2 +- .../site/jacoco/musichub.business/Song.java.html | 28 +++++------ target/site/jacoco/musichub.business/index.html | 2 +- .../jacoco/musichub.business/index.source.html | 2 +- 17 files changed, 119 insertions(+), 59 deletions(-) create mode 100644 src/test/java/musichub/business/SongTest.java (limited to 'target/site/jacoco/index.html') diff --git a/log/spoteezer.log b/log/spoteezer.log index e18095f..3819cab 100644 --- a/log/spoteezer.log +++ b/log/spoteezer.log @@ -1,4 +1,16 @@ [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. -[2021-06-27 11:17:47.927] TEST: JUnit test \ No newline at end of file +[2021-06-27 11:17:47.927] TEST: JUnit test +[2021-06-27 11:23:12.311] TEST: JUnit test +[2021-06-27 11:28:46.126] TEST: JUnit test +[2021-06-27 11:35:19.141] TEST: JUnit test +[2021-06-27 11:42:00.359] TEST: JUnit test +[2021-06-27 11:43:59.111] TEST: JUnit test +[2021-06-27 11:44:55.871] TEST: JUnit test +[2021-06-27 11:49:06.256] TEST: JUnit test +[2021-06-27 11:49:28.005] TEST: JUnit test +[2021-06-27 11:50:01.657] TEST: JUnit test +[2021-06-27 11:50:09.721] TEST: JUnit test +[2021-06-27 11:53:44.338] TEST: JUnit test +[2021-06-27 11:53:54.691] TEST: JUnit test \ No newline at end of file diff --git a/src/test/java/musichub/business/SongTest.java b/src/test/java/musichub/business/SongTest.java new file mode 100644 index 0000000..b25b6d2 --- /dev/null +++ b/src/test/java/musichub/business/SongTest.java @@ -0,0 +1,46 @@ +package musichub.business; + +import musichub.util.XMLHandler; +import org.junit.jupiter.api.Test; +import org.w3c.dom.Element; +import org.w3c.dom.NodeList; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotEquals; + +public class SongTest { + String title = "Side To Side"; + String artist = "Ariana Grande"; + int length = 186; + String uid = "66d277ca-cbc4-471c-a07e-082363375bcc"; + String content = "Song/Side_To_Side.wav"; + String genre = "rock"; + + @Test + void testSongClasses() { + Song song_uuid = new Song(title, artist, length, uid, content, genre); + Song song = new Song(title, artist, length, content, genre); + + } + + @Test + void testSongXml() { + final String DIR = System.getProperty("user.dir"); + final String ELEMENTS_FILE_PATH = DIR + "/files/elements.xml"; + final XMLHandler xmlHandler = new XMLHandler(); + NodeList audioelementsNodes = xmlHandler.parseXMLFile(ELEMENTS_FILE_PATH); + Element audioElement = (Element) audioelementsNodes.item(1); + Song song_xml = new Song(audioElement); + } + + @Test + void testGetGenre() { + assertEquals(new Song(title, artist, length, content, genre).getGenre(), "rock"); + assertNotEquals(new Song(title, artist, length, content, genre).getGenre(), "pop"); + } + + @Test + void testSetGenre() { + // Not Implemented Yet + } +} diff --git a/target/jacoco.exec b/target/jacoco.exec index 994c699..a4fab83 100644 Binary files a/target/jacoco.exec and b/target/jacoco.exec differ 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 5941d84..cf268f6 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,3 +1,4 @@ musichub\util\XMLHandlerTest.class musichub\util\PathValidationTest.class +musichub\business\SongTest.class musichub\util\LogHandlerTest.class diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst index 8cbb196..0b9852b 100644 --- a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst +++ b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst @@ -1,3 +1,4 @@ C:\Users\SoftA\Documents\spoteezer\src\test\java\musichub\util\XMLHandlerTest.java C:\Users\SoftA\Documents\spoteezer\src\test\java\musichub\util\LogHandlerTest.java C:\Users\SoftA\Documents\spoteezer\src\test\java\musichub\util\PathValidationTest.java +C:\Users\SoftA\Documents\spoteezer\src\test\java\musichub\business\SongTest.java diff --git a/target/site/jacoco/index.html b/target/site/jacoco/index.html index d0737be..5c3dabe 100644 --- a/target/site/jacoco/index.html +++ b/target/site/jacoco/index.html @@ -1 +1 @@ -spoteezer

            spoteezer

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
            Total2 674 of 2 8034 %210 of 2100 %20221170974584931619
            musichub.business2 0630 %1690 %17217249949981811515
            musichub.main6050 %410 %30302062063311
            musichub.util12995 %n/a094400903
            \ No newline at end of file +spoteezer

            spoteezer

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
            Total2 471 of 2 80311 %206 of 2101 %19021166474573931319
            musichub.business1 8602039 %16542 %16017245449970811215
            musichub.main6050 %410 %30302062063311
            musichub.util12995 %n/a094400903
            \ No newline at end of file diff --git a/target/site/jacoco/jacoco-sessions.html b/target/site/jacoco/jacoco-sessions.html index f1c42c1..cd7b35e 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-636bf65527 juin 2021, 11:17:4727 juin 2021, 11:17:48

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

            ClassId
            java.sql.Dated25610486aed3f31
            java.sql.Timestampb848522074600355
            musichub.util.LogHandler09990b742e8d897c
            musichub.util.LogHandlerTest49f271871a8ef7bf
            musichub.util.PathValidation538d6ca0ac9478ad
            musichub.util.PathValidationTest46821ddd8d6598d1
            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.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-9912560327 juin 2021, 11:53:5427 juin 2021, 11:53:54

            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.Song44a87f7f8335b156
            musichub.business.SongTestc0afccba36ce0d13
            musichub.util.LogHandler09990b742e8d897c
            musichub.util.LogHandlerTest49f271871a8ef7bf
            musichub.util.PathValidation538d6ca0ac9478ad
            musichub.util.PathValidationTest46821ddd8d6598d1
            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.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 f93071b..ffeb027 100644 --- a/target/site/jacoco/jacoco.csv +++ b/target/site/jacoco/jacoco.csv @@ -9,12 +9,12 @@ spoteezer,musichub.business,Language,49,0,0,0,6,0,3,0,3,0 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,Song,105,0,6,0,26,0,12,0,7,0 +spoteezer,musichub.business,Song,50,55,4,2,12,14,6,6,2,5 spoteezer,musichub.business,NoPlayListFoundException,4,0,0,0,2,0,1,0,1,0 spoteezer,musichub.business,PlayList,202,0,14,0,53,0,14,0,7,0 spoteezer,musichub.business,AudioBook,164,0,10,0,39,0,17,0,9,0 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,56,0,0,0,6,0,3,0,3,0 -spoteezer,musichub.business,AudioElement,266,0,11,0,72,0,16,0,9,0 +spoteezer,musichub.business,Genre,0,56,0,0,0,6,0,3,0,3 +spoteezer,musichub.business,AudioElement,174,92,9,2,47,25,13,3,6,3 spoteezer,musichub.main,Main,605,0,41,0,206,0,30,0,3,0 diff --git a/target/site/jacoco/jacoco.xml b/target/site/jacoco/jacoco.xml index 5ce5b9f..4532c47 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/AudioElement.html b/target/site/jacoco/musichub.business/AudioElement.html index 7a6e499..084f53f 100644 --- a/target/site/jacoco/musichub.business/AudioElement.html +++ b/target/site/jacoco/musichub.business/AudioElement.html @@ -1 +1 @@ -AudioElement

            AudioElement

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
            Total266 of 2660 %11 of 110 %1616727299
            createXMLElement(Document, Element)790 %n/a11161611
            manageAudioElement()680 %70 %66242411
            AudioElement(Element)630 %40 %33141411
            AudioElement(String, String, int, String, String)190 %n/a117711
            AudioElement(String, String, int, String)180 %n/a117711
            toString()100 %n/a111111
            getUUID()30 %n/a111111
            getArtist()30 %n/a111111
            getTitle()30 %n/a111111
            \ No newline at end of file +AudioElement

            AudioElement

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
            Total174 of 26634 %9 of 1118 %1316477269
            createXMLElement(Document, Element)790 %n/a11161611
            manageAudioElement()680 %70 %66242411
            toString()100 %n/a111111
            AudioElement(Element)85587 %2250 %2331401
            getUUID()30 %n/a111111
            getArtist()30 %n/a111111
            getTitle()30 %n/a111111
            AudioElement(String, String, int, String, String)19100 %n/a010701
            AudioElement(String, String, int, String)18100 %n/a010701
            \ No newline at end of file diff --git a/target/site/jacoco/musichub.business/AudioElement.java.html b/target/site/jacoco/musichub.business/AudioElement.java.html index 4401836..28d9e57 100644 --- a/target/site/jacoco/musichub.business/AudioElement.java.html +++ b/target/site/jacoco/musichub.business/AudioElement.java.html @@ -21,39 +21,39 @@ public abstract class AudioElement { protected UUID uuid; protected String content; - public AudioElement(String title, String artist, int lengthInSeconds, String id, String content) { - this.title = title; - this.artist = artist; - this.lengthInSeconds = lengthInSeconds; - this.uuid = UUID.fromString(id); - this.content = content; - } - - public AudioElement(String title, String artist, int lengthInSeconds, String content) { - this.title = title; - this.artist = artist; - this.lengthInSeconds = lengthInSeconds; - this.content = content; - this.uuid = UUID.randomUUID(); - } - - public AudioElement(Element xmlElement) { + public AudioElement(String title, String artist, int lengthInSeconds, String id, String content) { + this.title = title; + this.artist = artist; + this.lengthInSeconds = lengthInSeconds; + this.uuid = UUID.fromString(id); + this.content = content; + } + + public AudioElement(String title, String artist, int lengthInSeconds, String content) { + this.title = title; + this.artist = artist; + this.lengthInSeconds = lengthInSeconds; + this.content = content; + this.uuid = UUID.randomUUID(); + } + + public AudioElement(Element xmlElement) { { - title = xmlElement.getElementsByTagName("title").item(0).getTextContent(); - artist = xmlElement.getElementsByTagName("artist").item(0).getTextContent(); - lengthInSeconds = Integer.parseInt(xmlElement.getElementsByTagName("length").item(0).getTextContent()); - content = xmlElement.getElementsByTagName("content").item(0).getTextContent(); - String uuid = null; + title = xmlElement.getElementsByTagName("title").item(0).getTextContent(); + artist = xmlElement.getElementsByTagName("artist").item(0).getTextContent(); + lengthInSeconds = Integer.parseInt(xmlElement.getElementsByTagName("length").item(0).getTextContent()); + content = xmlElement.getElementsByTagName("content").item(0).getTextContent(); + String uuid = null; try { - uuid = xmlElement.getElementsByTagName("UUID").item(0).getTextContent(); + uuid = xmlElement.getElementsByTagName("UUID").item(0).getTextContent(); } catch (Exception ex) { System.out.println("Empty element UUID, will create a new one"); - } - if ((uuid == null) || (uuid.isEmpty())) + } + if ((uuid == null) || (uuid.isEmpty())) this.uuid = UUID.randomUUID(); - else this.uuid = UUID.fromString(uuid); + else this.uuid = UUID.fromString(uuid); } - } + } public UUID getUUID() { return this.uuid; diff --git a/target/site/jacoco/musichub.business/Genre.html b/target/site/jacoco/musichub.business/Genre.html index 88e0ecd..c7442d4 100644 --- a/target/site/jacoco/musichub.business/Genre.html +++ b/target/site/jacoco/musichub.business/Genre.html @@ -1 +1 @@ -Genre

            Genre

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
            Total56 of 560 %0 of 0n/a336633
            static {...}450 %n/a112211
            Genre(String, int, String)80 %n/a113311
            getGenre()30 %n/a111111
            \ No newline at end of file +Genre

            Genre

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
            Total0 of 56100 %0 of 0n/a030603
            static {...}45100 %n/a010201
            Genre(String, int, String)8100 %n/a010301
            getGenre()3100 %n/a010101
            \ No newline at end of file diff --git a/target/site/jacoco/musichub.business/Genre.java.html b/target/site/jacoco/musichub.business/Genre.java.html index 021bb4b..e7196f9 100644 --- a/target/site/jacoco/musichub.business/Genre.java.html +++ b/target/site/jacoco/musichub.business/Genre.java.html @@ -1,15 +1,15 @@ Genre.java

            Genre.java

            package musichub.business;
             
            -public enum Genre {
            -    JAZZ("jazz"), CLASSIC("classic"), HIPHOP("hiphop"), ROCK("rock"), POP("pop"), RAP("rap");
            +public enum Genre {
            +    JAZZ("jazz"), CLASSIC("classic"), HIPHOP("hiphop"), ROCK("rock"), POP("pop"), RAP("rap");
                 private final String genre;
             
            -    Genre(String genre) {
            -        this.genre = genre;
            -    }
            +    Genre(String genre) {
            +        this.genre = genre;
            +    }
             
                 public String getGenre() {
            -        return genre;
            +        return genre;
                 }
             }
             
            \ No newline at end of file diff --git a/target/site/jacoco/musichub.business/Song.html b/target/site/jacoco/musichub.business/Song.html index 4af18c3..6231425 100644 --- a/target/site/jacoco/musichub.business/Song.html +++ b/target/site/jacoco/musichub.business/Song.html @@ -1 +1 @@ -Song

            Song

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
            Total105 of 1050 %6 of 60 %1212262677
            setGenre(String)330 %60 %668811
            createXMLElement(Document, Element)290 %n/a117711
            Song(Element)120 %n/a113311
            Song(String, String, int, String, String, String)110 %n/a113311
            Song(String, String, int, String, String)100 %n/a113311
            toString()60 %n/a111111
            getGenre()40 %n/a111111
            \ No newline at end of file +Song

            Song

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
            Total50 of 10552 %4 of 633 %612122627
            createXMLElement(Document, Element)290 %n/a117711
            setGenre(String)151854 %4233 %464801
            toString()60 %n/a111111
            Song(Element)12100 %n/a010301
            Song(String, String, int, String, String, String)11100 %n/a010301
            Song(String, String, int, String, String)10100 %n/a010301
            getGenre()4100 %n/a010101
            \ No newline at end of file diff --git a/target/site/jacoco/musichub.business/Song.java.html b/target/site/jacoco/musichub.business/Song.java.html index 4f7f01d..86ea1bf 100644 --- a/target/site/jacoco/musichub.business/Song.java.html +++ b/target/site/jacoco/musichub.business/Song.java.html @@ -8,34 +8,34 @@ public class Song extends AudioElement { private Genre genre; public Song(String title, String artist, int length, String uid, String content, String genre) { - super(title, artist, length, uid, content); - this.setGenre(genre); - } + super(title, artist, length, uid, content); + this.setGenre(genre); + } public Song(String title, String artist, int length, String content, String genre) { - super(title, artist, length, content); - this.setGenre(genre); - } + super(title, artist, length, content); + this.setGenre(genre); + } public Song(Element xmlElement) { - super(xmlElement); - this.setGenre(xmlElement.getElementsByTagName("genre").item(0).getTextContent()); - } + super(xmlElement); + this.setGenre(xmlElement.getElementsByTagName("genre").item(0).getTextContent()); + } public String getGenre() { - return genre.getGenre(); + return genre.getGenre(); } public void setGenre(String genre) { - switch (genre.toLowerCase()) { + switch (genre.toLowerCase()) { default -> this.genre = Genre.JAZZ; case "classic" -> this.genre = Genre.CLASSIC; case "hiphop" -> this.genre = Genre.HIPHOP; - case "rock" -> this.genre = Genre.ROCK; - case "pop" -> this.genre = Genre.POP; + case "rock" -> this.genre = Genre.ROCK; + case "pop" -> this.genre = Genre.POP; case "rap" -> this.genre = Genre.RAP; } - } + } public String toString() { return super.toString() + ", Genre = " + getGenre() + "\n"; diff --git a/target/site/jacoco/musichub.business/index.html b/target/site/jacoco/musichub.business/index.html index 421752c..9e86b79 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
            Total2 063 of 2 0630 %169 of 1690 %17217249949981811515
            MusicHub8030 %1140 %7979195195222211
            Album3300 %140 %161684849911
            AudioElement2660 %110 %161672729911
            PlayList2020 %140 %141453537711
            AudioBook1640 %100 %171739399911
            Song1050 %60 %121226267711
            Genre560 %n/a33663311
            Language490 %n/a33663311
            Category490 %n/a33663311
            SortByAuthor90 %n/a22222211
            SortByDate90 %n/a22222211
            SortByGenre90 %n/a22222211
            NoAlbumFoundException0 %n/a11221111
            NoPlayListFoundException0 %n/a11221111
            NoElementFoundException0 %n/a11221111
            \ No newline at end of file +musichub.business

            musichub.business

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
            Total1 860 of 2 0639 %165 of 1692 %16017245449970811215
            MusicHub8030 %1140 %7979195195222211
            Album3300 %140 %161684849911
            PlayList2020 %140 %141453537711
            AudioElement1749234 %9218 %131647726901
            AudioBook1640 %100 %171739399911
            Song505552 %4233 %61212262701
            Language490 %n/a33663311
            Category490 %n/a33663311
            SortByAuthor90 %n/a22222211
            SortByDate90 %n/a22222211
            SortByGenre90 %n/a22222211
            NoAlbumFoundException0 %n/a11221111
            NoPlayListFoundException0 %n/a11221111
            NoElementFoundException0 %n/a11221111
            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 13ddd53..7ceb0fd 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
            Total2 063 of 2 0630 %169 of 1690 %17217249949981811515
            MusicHub.java8300 %1140 %8585201201282844
            Album.java3300 %140 %161684849911
            AudioElement.java2660 %110 %161672729911
            PlayList.java2020 %140 %141453537711
            AudioBook.java1640 %100 %171739399911
            Song.java1050 %60 %121226267711
            Genre.java560 %n/a33663311
            Language.java490 %n/a33663311
            Category.java490 %n/a33663311
            NoAlbumFoundException.java0 %n/a11221111
            NoPlayListFoundException.java0 %n/a11221111
            NoElementFoundException.java0 %n/a11221111
            \ No newline at end of file +musichub.business

            musichub.business

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
            Total1 860 of 2 0639 %165 of 1692 %16017245449970811215
            MusicHub.java8300 %1140 %8585201201282844
            Album.java3300 %140 %161684849911
            PlayList.java2020 %140 %141453537711
            AudioElement.java1749234 %9218 %131647726901
            AudioBook.java1640 %100 %171739399911
            Song.java505552 %4233 %61212262701
            Language.java490 %n/a33663311
            Category.java490 %n/a33663311
            NoAlbumFoundException.java0 %n/a11221111
            NoPlayListFoundException.java0 %n/a11221111
            NoElementFoundException.java0 %n/a11221111
            Genre.java56100 %n/a03060301
            \ No newline at end of file -- cgit v1.2.3 From f9de1516a05f91e5632500a3b0a898938d6c795e Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Sun, 27 Jun 2021 12:12:56 +0200 Subject: Song class fully covered. --- log/spoteezer.log | 12 ++++- src/test/java/musichub/business/SongTest.java | 55 +++++++++++++++++---- target/jacoco.exec | Bin 15029 -> 15031 bytes target/site/jacoco/index.html | 2 +- target/site/jacoco/jacoco-sessions.html | 2 +- target/site/jacoco/jacoco.csv | 4 +- target/site/jacoco/jacoco.xml | 2 +- .../jacoco/musichub.business/AudioElement.html | 2 +- .../musichub.business/AudioElement.java.html | 34 ++++++------- target/site/jacoco/musichub.business/Song.html | 2 +- .../site/jacoco/musichub.business/Song.java.html | 26 +++++----- target/site/jacoco/musichub.business/index.html | 2 +- .../jacoco/musichub.business/index.source.html | 2 +- 13 files changed, 96 insertions(+), 49 deletions(-) (limited to 'target/site/jacoco/index.html') diff --git a/log/spoteezer.log b/log/spoteezer.log index 3819cab..eab869b 100644 --- a/log/spoteezer.log +++ b/log/spoteezer.log @@ -13,4 +13,14 @@ [2021-06-27 11:50:01.657] TEST: JUnit test [2021-06-27 11:50:09.721] TEST: JUnit test [2021-06-27 11:53:44.338] TEST: JUnit test -[2021-06-27 11:53:54.691] TEST: JUnit test \ No newline at end of file +[2021-06-27 11:53:54.691] TEST: JUnit test +[2021-06-27 11:58:07.341] TEST: JUnit test +[2021-06-27 11:59:35.781] TEST: JUnit test +[2021-06-27 12:00:11.993] TEST: JUnit test +[2021-06-27 12:01:47.636] TEST: JUnit test +[2021-06-27 12:02:01.477] TEST: JUnit test +[2021-06-27 12:02:13.155] TEST: JUnit test +[2021-06-27 12:06:45.369] TEST: JUnit test +[2021-06-27 12:06:54.864] TEST: JUnit test +[2021-06-27 12:11:44.868] TEST: JUnit test +[2021-06-27 12:12:27.077] TEST: JUnit test \ No newline at end of file diff --git a/src/test/java/musichub/business/SongTest.java b/src/test/java/musichub/business/SongTest.java index b25b6d2..7022786 100644 --- a/src/test/java/musichub/business/SongTest.java +++ b/src/test/java/musichub/business/SongTest.java @@ -2,6 +2,7 @@ package musichub.business; import musichub.util.XMLHandler; import org.junit.jupiter.api.Test; +import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.NodeList; @@ -16,31 +17,67 @@ public class SongTest { String content = "Song/Side_To_Side.wav"; String genre = "rock"; + final String DIR = System.getProperty("user.dir"); + final String ELEMENTS_FILE_PATH = DIR + "/files/elements.xml"; + final XMLHandler xmlHandler = new XMLHandler(); + + @Test void testSongClasses() { - Song song_uuid = new Song(title, artist, length, uid, content, genre); - Song song = new Song(title, artist, length, content, genre); + new Song(title, artist, length, uid, content, genre); + new Song(title, artist, length, content, genre); } @Test void testSongXml() { - final String DIR = System.getProperty("user.dir"); - final String ELEMENTS_FILE_PATH = DIR + "/files/elements.xml"; - final XMLHandler xmlHandler = new XMLHandler(); NodeList audioelementsNodes = xmlHandler.parseXMLFile(ELEMENTS_FILE_PATH); Element audioElement = (Element) audioelementsNodes.item(1); - Song song_xml = new Song(audioElement); + new Song(audioElement); } @Test void testGetGenre() { - assertEquals(new Song(title, artist, length, content, genre).getGenre(), "rock"); - assertNotEquals(new Song(title, artist, length, content, genre).getGenre(), "pop"); + assertEquals(new Song(title, artist, length, content, genre) + .getGenre(), + "rock"); + assertNotEquals(new Song(title, artist, length, content, genre) + .getGenre(), + "pop"); } @Test void testSetGenre() { - // Not Implemented Yet + new Song(title, artist, length, content, "classic"); + new Song(title, artist, length, content, "hiphop"); + new Song(title, artist, length, content, "rock"); + new Song(title, artist, length, content, "pop"); + new Song(title, artist, length, content, "rap"); + + Song s = new Song(title, artist, length, content, "cgfdhdfhj"); + assertEquals(s.getGenre(), "jazz"); + } + + @Test + void testToString() { + assertEquals( + new Song(title, artist, length, content, genre) + .toString(), + "Title = Side To Side, Artist = Ariana Grande, Length = 186, Content = Song/Side_To_Side.wav, Genre = rock\n" + ); + assertNotEquals( + new Song(title, artist, length, content, genre) + .toString(), + "Title = God is a woman, Artist = Ariana Grande, Length = 186, Content = Song/Side_To_Side.wav, Genre = rock\n" + ); + } + + @Test + void testCreateXMLElement() { + Song s = new Song(title, artist, length, content, genre); + Document document = xmlHandler.createXMLDocument(); + Element root = document.createElement("elements"); + s.createXMLElement(document, root); + } } diff --git a/target/jacoco.exec b/target/jacoco.exec index a4fab83..cb85729 100644 Binary files a/target/jacoco.exec and b/target/jacoco.exec differ diff --git a/target/site/jacoco/index.html b/target/site/jacoco/index.html index 5c3dabe..330c1da 100644 --- a/target/site/jacoco/index.html +++ b/target/site/jacoco/index.html @@ -1 +1 @@ -spoteezer

            spoteezer

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
            Total2 471 of 2 80311 %206 of 2101 %19021166474573931319
            musichub.business1 8602039 %16542 %16017245449970811215
            musichub.main6050 %410 %30302062063311
            musichub.util12995 %n/a094400903
            \ No newline at end of file +spoteezer

            spoteezer

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
            Total2 332 of 2 80316 %202 of 2103 %18221163574569931319
            musichub.business1 72134216 %16184 %15217242549966811215
            musichub.main6050 %410 %30302062063311
            musichub.util12995 %n/a094400903
            \ No newline at end of file diff --git a/target/site/jacoco/jacoco-sessions.html b/target/site/jacoco/jacoco-sessions.html index cd7b35e..b3dd1b5 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-9912560327 juin 2021, 11:53:5427 juin 2021, 11:53:54

            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.Song44a87f7f8335b156
            musichub.business.SongTestc0afccba36ce0d13
            musichub.util.LogHandler09990b742e8d897c
            musichub.util.LogHandlerTest49f271871a8ef7bf
            musichub.util.PathValidation538d6ca0ac9478ad
            musichub.util.PathValidationTest46821ddd8d6598d1
            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.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-847a802727 juin 2021, 12:12:2627 juin 2021, 12:12:27

            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.Song44a87f7f8335b156
            musichub.business.SongTest18d0cf3c4b10a1ce
            musichub.util.LogHandler09990b742e8d897c
            musichub.util.LogHandlerTest49f271871a8ef7bf
            musichub.util.PathValidation538d6ca0ac9478ad
            musichub.util.PathValidationTest46821ddd8d6598d1
            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.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 ffeb027..f56f062 100644 --- a/target/site/jacoco/jacoco.csv +++ b/target/site/jacoco/jacoco.csv @@ -9,12 +9,12 @@ spoteezer,musichub.business,Language,49,0,0,0,6,0,3,0,3,0 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,Song,50,55,4,2,12,14,6,6,2,5 +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,202,0,14,0,53,0,14,0,7,0 spoteezer,musichub.business,AudioBook,164,0,10,0,39,0,17,0,9,0 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 -spoteezer,musichub.business,AudioElement,174,92,9,2,47,25,13,3,6,3 +spoteezer,musichub.business,AudioElement,85,181,9,2,30,42,11,5,4,5 spoteezer,musichub.main,Main,605,0,41,0,206,0,30,0,3,0 diff --git a/target/site/jacoco/jacoco.xml b/target/site/jacoco/jacoco.xml index 4532c47..4c65599 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/AudioElement.html b/target/site/jacoco/musichub.business/AudioElement.html index 084f53f..18f7368 100644 --- a/target/site/jacoco/musichub.business/AudioElement.html +++ b/target/site/jacoco/musichub.business/AudioElement.html @@ -1 +1 @@ -AudioElement

            AudioElement

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
            Total174 of 26634 %9 of 1118 %1316477269
            createXMLElement(Document, Element)790 %n/a11161611
            manageAudioElement()680 %70 %66242411
            toString()100 %n/a111111
            AudioElement(Element)85587 %2250 %2331401
            getUUID()30 %n/a111111
            getArtist()30 %n/a111111
            getTitle()30 %n/a111111
            AudioElement(String, String, int, String, String)19100 %n/a010701
            AudioElement(String, String, int, String)18100 %n/a010701
            \ No newline at end of file +AudioElement

            AudioElement

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
            Total85 of 26668 %9 of 1118 %1116307249
            manageAudioElement()680 %70 %66242411
            AudioElement(Element)85587 %2250 %2331401
            getUUID()30 %n/a111111
            getArtist()30 %n/a111111
            getTitle()30 %n/a111111
            createXMLElement(Document, Element)79100 %n/a0101601
            AudioElement(String, String, int, String, String)19100 %n/a010701
            AudioElement(String, String, int, String)18100 %n/a010701
            toString()10100 %n/a010101
            \ No newline at end of file diff --git a/target/site/jacoco/musichub.business/AudioElement.java.html b/target/site/jacoco/musichub.business/AudioElement.java.html index 28d9e57..7863e1a 100644 --- a/target/site/jacoco/musichub.business/AudioElement.java.html +++ b/target/site/jacoco/musichub.business/AudioElement.java.html @@ -68,31 +68,31 @@ public abstract class AudioElement { } public String toString() { - return "Title = " + this.title + ", Artist = " + this.artist + ", Length = " + this.lengthInSeconds + ", Content = " + this.content; + return "Title = " + this.title + ", Artist = " + this.artist + ", Length = " + this.lengthInSeconds + ", Content = " + this.content; } public void createXMLElement(Document document, Element parentElement) { - Element nameElement = document.createElement("title"); - nameElement.appendChild(document.createTextNode(title)); - parentElement.appendChild(nameElement); + Element nameElement = document.createElement("title"); + nameElement.appendChild(document.createTextNode(title)); + parentElement.appendChild(nameElement); - Element artistElement = document.createElement("artist"); - artistElement.appendChild(document.createTextNode(artist)); - parentElement.appendChild(artistElement); + Element artistElement = document.createElement("artist"); + artistElement.appendChild(document.createTextNode(artist)); + parentElement.appendChild(artistElement); - Element lengthElement = document.createElement("length"); - lengthElement.appendChild(document.createTextNode(Integer.valueOf(lengthInSeconds).toString())); - parentElement.appendChild(lengthElement); + Element lengthElement = document.createElement("length"); + lengthElement.appendChild(document.createTextNode(Integer.valueOf(lengthInSeconds).toString())); + parentElement.appendChild(lengthElement); - Element UUIDElement = document.createElement("UUID"); - UUIDElement.appendChild(document.createTextNode(uuid.toString())); - parentElement.appendChild(UUIDElement); + Element UUIDElement = document.createElement("UUID"); + UUIDElement.appendChild(document.createTextNode(uuid.toString())); + parentElement.appendChild(UUIDElement); - Element contentElement = document.createElement("content"); - contentElement.appendChild(document.createTextNode(content)); - parentElement.appendChild(contentElement); + Element contentElement = document.createElement("content"); + contentElement.appendChild(document.createTextNode(content)); + parentElement.appendChild(contentElement); - } + } public void manageAudioElement() throws UnsupportedAudioFileException, IOException, LineUnavailableException { diff --git a/target/site/jacoco/musichub.business/Song.html b/target/site/jacoco/musichub.business/Song.html index 6231425..4e3aa10 100644 --- a/target/site/jacoco/musichub.business/Song.html +++ b/target/site/jacoco/musichub.business/Song.html @@ -1 +1 @@ -Song

            Song

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
            Total50 of 10552 %4 of 633 %612122627
            createXMLElement(Document, Element)290 %n/a117711
            setGenre(String)151854 %4233 %464801
            toString()60 %n/a111111
            Song(Element)12100 %n/a010301
            Song(String, String, int, String, String, String)11100 %n/a010301
            Song(String, String, int, String, String)10100 %n/a010301
            getGenre()4100 %n/a010101
            \ No newline at end of file +Song

            Song

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
            Total0 of 105100 %0 of 6100 %01202607
            setGenre(String)33100 %6100 %060801
            createXMLElement(Document, Element)29100 %n/a010701
            Song(Element)12100 %n/a010301
            Song(String, String, int, String, String, String)11100 %n/a010301
            Song(String, String, int, String, String)10100 %n/a010301
            toString()6100 %n/a010101
            getGenre()4100 %n/a010101
            \ No newline at end of file diff --git a/target/site/jacoco/musichub.business/Song.java.html b/target/site/jacoco/musichub.business/Song.java.html index 86ea1bf..f78cf39 100644 --- a/target/site/jacoco/musichub.business/Song.java.html +++ b/target/site/jacoco/musichub.business/Song.java.html @@ -27,32 +27,32 @@ public class Song extends AudioElement { } public void setGenre(String genre) { - switch (genre.toLowerCase()) { - default -> this.genre = Genre.JAZZ; - case "classic" -> this.genre = Genre.CLASSIC; - case "hiphop" -> this.genre = Genre.HIPHOP; + switch (genre.toLowerCase()) { + default -> this.genre = Genre.JAZZ; + case "classic" -> this.genre = Genre.CLASSIC; + case "hiphop" -> this.genre = Genre.HIPHOP; case "rock" -> this.genre = Genre.ROCK; case "pop" -> this.genre = Genre.POP; - case "rap" -> this.genre = Genre.RAP; + case "rap" -> this.genre = Genre.RAP; } } public String toString() { - return super.toString() + ", Genre = " + getGenre() + "\n"; + return super.toString() + ", Genre = " + getGenre() + "\n"; } public void createXMLElement(Document document, Element parentElement) { // song element - Element song = document.createElement("song"); + Element song = document.createElement("song"); - super.createXMLElement(document, song); + super.createXMLElement(document, song); - Element genreElement = document.createElement("genre"); - genreElement.appendChild(document.createTextNode(genre.getGenre())); - song.appendChild(genreElement); + Element genreElement = document.createElement("genre"); + genreElement.appendChild(document.createTextNode(genre.getGenre())); + song.appendChild(genreElement); - parentElement.appendChild(song); - } + parentElement.appendChild(song); + } } diff --git a/target/site/jacoco/musichub.business/index.html b/target/site/jacoco/musichub.business/index.html index 9e86b79..58b15a0 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 860 of 2 0639 %165 of 1692 %16017245449970811215
            MusicHub8030 %1140 %7979195195222211
            Album3300 %140 %161684849911
            PlayList2020 %140 %141453537711
            AudioElement1749234 %9218 %131647726901
            AudioBook1640 %100 %171739399911
            Song505552 %4233 %61212262701
            Language490 %n/a33663311
            Category490 %n/a33663311
            SortByAuthor90 %n/a22222211
            SortByDate90 %n/a22222211
            SortByGenre90 %n/a22222211
            NoAlbumFoundException0 %n/a11221111
            NoPlayListFoundException0 %n/a11221111
            NoElementFoundException0 %n/a11221111
            Genre56100 %n/a03060301
            \ No newline at end of file +musichub.business

            musichub.business

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
            Total1 721 of 2 06316 %161 of 1694 %15217242549966811215
            MusicHub8030 %1140 %7979195195222211
            Album3300 %140 %161684849911
            PlayList2020 %140 %141453537711
            AudioBook1640 %100 %171739399911
            AudioElement8518168 %9218 %111630724901
            Language490 %n/a33663311
            Category490 %n/a33663311
            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 diff --git a/target/site/jacoco/musichub.business/index.source.html b/target/site/jacoco/musichub.business/index.source.html index 7ceb0fd..5de5f23 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 860 of 2 0639 %165 of 1692 %16017245449970811215
            MusicHub.java8300 %1140 %8585201201282844
            Album.java3300 %140 %161684849911
            PlayList.java2020 %140 %141453537711
            AudioElement.java1749234 %9218 %131647726901
            AudioBook.java1640 %100 %171739399911
            Song.java505552 %4233 %61212262701
            Language.java490 %n/a33663311
            Category.java490 %n/a33663311
            NoAlbumFoundException.java0 %n/a11221111
            NoPlayListFoundException.java0 %n/a11221111
            NoElementFoundException.java0 %n/a11221111
            Genre.java56100 %n/a03060301
            \ No newline at end of file +musichub.business

            musichub.business

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
            Total1 721 of 2 06316 %161 of 1694 %15217242549966811215
            MusicHub.java8300 %1140 %8585201201282844
            Album.java3300 %140 %161684849911
            PlayList.java2020 %140 %141453537711
            AudioBook.java1640 %100 %171739399911
            AudioElement.java8518168 %9218 %111630724901
            Language.java490 %n/a33663311
            Category.java490 %n/a33663311
            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 -- cgit v1.2.3 From fa8c6e14b3f87407ea5805e35697acc4d93a8007 Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Sun, 27 Jun 2021 12:43:28 +0200 Subject: PlayList class covered at 84%. --- log/spoteezer.log | 29 ++----- src/test/java/musichub/business/PlayListTest.java | 54 ++++++++++++ src/test/java/musichub/business/SongTest.java | 4 +- target/jacoco.exec | Bin 15031 -> 15165 bytes .../default-testCompile/createdFiles.lst | 1 + .../testCompile/default-testCompile/inputFiles.lst | 1 + target/site/jacoco/index.html | 2 +- target/site/jacoco/jacoco-sessions.html | 2 +- target/site/jacoco/jacoco.csv | 2 +- target/site/jacoco/jacoco.xml | 2 +- target/site/jacoco/musichub.business/PlayList.html | 2 +- .../jacoco/musichub.business/PlayList.java.html | 92 ++++++++++----------- target/site/jacoco/musichub.business/index.html | 2 +- .../jacoco/musichub.business/index.source.html | 2 +- 14 files changed, 117 insertions(+), 78 deletions(-) create mode 100644 src/test/java/musichub/business/PlayListTest.java (limited to 'target/site/jacoco/index.html') diff --git a/log/spoteezer.log b/log/spoteezer.log index eab869b..b1ecf97 100644 --- a/log/spoteezer.log +++ b/log/spoteezer.log @@ -1,26 +1,9 @@ [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. -[2021-06-27 11:17:47.927] TEST: JUnit test -[2021-06-27 11:23:12.311] TEST: JUnit test -[2021-06-27 11:28:46.126] TEST: JUnit test -[2021-06-27 11:35:19.141] TEST: JUnit test -[2021-06-27 11:42:00.359] TEST: JUnit test -[2021-06-27 11:43:59.111] TEST: JUnit test -[2021-06-27 11:44:55.871] TEST: JUnit test -[2021-06-27 11:49:06.256] TEST: JUnit test -[2021-06-27 11:49:28.005] TEST: JUnit test -[2021-06-27 11:50:01.657] TEST: JUnit test -[2021-06-27 11:50:09.721] TEST: JUnit test -[2021-06-27 11:53:44.338] TEST: JUnit test -[2021-06-27 11:53:54.691] TEST: JUnit test -[2021-06-27 11:58:07.341] TEST: JUnit test -[2021-06-27 11:59:35.781] TEST: JUnit test -[2021-06-27 12:00:11.993] TEST: JUnit test -[2021-06-27 12:01:47.636] TEST: JUnit test -[2021-06-27 12:02:01.477] TEST: JUnit test -[2021-06-27 12:02:13.155] TEST: JUnit test -[2021-06-27 12:06:45.369] TEST: JUnit test -[2021-06-27 12:06:54.864] TEST: JUnit test -[2021-06-27 12:11:44.868] TEST: JUnit test -[2021-06-27 12:12:27.077] TEST: JUnit test \ No newline at end of file +[2021-06-27 12:21:37.507] TEST: JUnit test +[2021-06-27 12:26:02.741] TEST: JUnit test +[2021-06-27 12:28:05.542] TEST: JUnit test +[2021-06-27 12:28:41.186] TEST: JUnit test +[2021-06-27 12:31:42.777] TEST: JUnit test +[2021-06-27 12:40:20.609] TEST: JUnit test \ No newline at end of file diff --git a/src/test/java/musichub/business/PlayListTest.java b/src/test/java/musichub/business/PlayListTest.java new file mode 100644 index 0000000..9fe63cf --- /dev/null +++ b/src/test/java/musichub/business/PlayListTest.java @@ -0,0 +1,54 @@ +package musichub.business; + +import musichub.util.XMLHandler; +import org.junit.jupiter.api.Test; +import org.w3c.dom.Document; +import org.w3c.dom.Element; +import org.w3c.dom.NodeList; + +import java.util.ArrayList; +import java.util.UUID; + +import static org.junit.jupiter.api.Assertions.*; + +public class PlayListTest { + final String DIR = System.getProperty("user.dir"); + final String PLAYLISTS_FILE_PATH = DIR + "/files/playlists.xml"; + final XMLHandler xmlHandler = new XMLHandler(); + String title = "Side To Side"; + String id = "66d277ca-cbc4-471c-a07e-082363375bcc"; + ArrayList elementUUIDs = null; + + @Test + void testPlaylistClass() { + new PlayList(title, id, elementUUIDs); + new PlayList(title); + + } + + @Test + void testPlaylistClassXML() { + NodeList playlistNodes = xmlHandler.parseXMLFile(PLAYLISTS_FILE_PATH); + Element playlistElement = (Element) playlistNodes.item(1); + new PlayList(playlistElement); + } + + @Test + void testGetElements() { + assertNull(new PlayList(title, id, elementUUIDs).getElements()); + } + + @Test + void testGetTitle() { + assertEquals(new PlayList(title).getTitle(), "Side To Side"); + assertNotEquals(new PlayList(title).getTitle(), "God Is A Woman"); + } + + @Test + void testCreateXMLElement() { + PlayList p = new PlayList(title); + Document document = xmlHandler.createXMLDocument(); + Element root = document.createElement("playlists"); + p.createXMLElement(document, root); + } +} diff --git a/src/test/java/musichub/business/SongTest.java b/src/test/java/musichub/business/SongTest.java index 7022786..14f9af1 100644 --- a/src/test/java/musichub/business/SongTest.java +++ b/src/test/java/musichub/business/SongTest.java @@ -23,14 +23,14 @@ public class SongTest { @Test - void testSongClasses() { + void testSongClass() { new Song(title, artist, length, uid, content, genre); new Song(title, artist, length, content, genre); } @Test - void testSongXml() { + void testSongClassXML() { NodeList audioelementsNodes = xmlHandler.parseXMLFile(ELEMENTS_FILE_PATH); Element audioElement = (Element) audioelementsNodes.item(1); new Song(audioElement); diff --git a/target/jacoco.exec b/target/jacoco.exec index cb85729..bc2bc8f 100644 Binary files a/target/jacoco.exec and b/target/jacoco.exec differ 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 cf268f6..7726a1c 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,4 +1,5 @@ musichub\util\XMLHandlerTest.class +musichub\business\PlayListTest.class musichub\util\PathValidationTest.class musichub\business\SongTest.class musichub\util\LogHandlerTest.class diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst index 0b9852b..0b05cf3 100644 --- a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst +++ b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst @@ -1,3 +1,4 @@ +C:\Users\SoftA\Documents\spoteezer\src\test\java\musichub\business\PlayListTest.java C:\Users\SoftA\Documents\spoteezer\src\test\java\musichub\util\XMLHandlerTest.java C:\Users\SoftA\Documents\spoteezer\src\test\java\musichub\util\LogHandlerTest.java C:\Users\SoftA\Documents\spoteezer\src\test\java\musichub\util\PathValidationTest.java diff --git a/target/site/jacoco/index.html b/target/site/jacoco/index.html index 330c1da..c69b3a6 100644 --- a/target/site/jacoco/index.html +++ b/target/site/jacoco/index.html @@ -1 +1 @@ -spoteezer

            spoteezer

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
            Total2 332 of 2 80316 %202 of 2103 %18221163574569931319
            musichub.business1 72134216 %16184 %15217242549966811215
            musichub.main6050 %410 %30302062063311
            musichub.util12995 %n/a094400903
            \ No newline at end of file +spoteezer

            spoteezer

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
            Total2 162 of 2 80322 %193 of 2108 %17321159174562931219
            musichub.business1 55151224 %1521710 %14317238149959811115
            musichub.main6050 %410 %30302062063311
            musichub.util12995 %n/a094400903
            \ No newline at end of file diff --git a/target/site/jacoco/jacoco-sessions.html b/target/site/jacoco/jacoco-sessions.html index b3dd1b5..07ff00a 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-847a802727 juin 2021, 12:12:2627 juin 2021, 12:12:27

            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.Song44a87f7f8335b156
            musichub.business.SongTest18d0cf3c4b10a1ce
            musichub.util.LogHandler09990b742e8d897c
            musichub.util.LogHandlerTest49f271871a8ef7bf
            musichub.util.PathValidation538d6ca0ac9478ad
            musichub.util.PathValidationTest46821ddd8d6598d1
            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.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-39b23d3827 juin 2021, 12:40:2027 juin 2021, 12:40:20

            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.PlayListTest70c3a2a856fcdb5e
            musichub.business.Song44a87f7f8335b156
            musichub.business.SongTest88f03b022c5c7270
            musichub.util.LogHandler09990b742e8d897c
            musichub.util.LogHandlerTest49f271871a8ef7bf
            musichub.util.PathValidation538d6ca0ac9478ad
            musichub.util.PathValidationTest46821ddd8d6598d1
            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 f56f062..74dcec9 100644 --- a/target/site/jacoco/jacoco.csv +++ b/target/site/jacoco/jacoco.csv @@ -11,7 +11,7 @@ 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,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,202,0,14,0,53,0,14,0,7,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,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 diff --git a/target/site/jacoco/jacoco.xml b/target/site/jacoco/jacoco.xml index 4c65599..e842251 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/PlayList.html b/target/site/jacoco/musichub.business/PlayList.html index ae17a14..74681b8 100644 --- a/target/site/jacoco/musichub.business/PlayList.html +++ b/target/site/jacoco/musichub.business/PlayList.html @@ -1 +1 @@ -PlayList

            PlayList

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
            Total202 of 2020 %14 of 140 %1414535377
            PlayList(Element)880 %120 %77232311
            createXMLElement(Document, Element)750 %20 %22161611
            PlayList(String)140 %n/a115511
            PlayList(String, String, ArrayList)130 %n/a115511
            addElement(UUID)60 %n/a112211
            getElements()30 %n/a111111
            getTitle()30 %n/a111111
            \ No newline at end of file +PlayList

            PlayList

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
            Total32 of 20284 %5 of 1464 %51495307
            createXMLElement(Document, Element)205573 %1150 %1241601
            PlayList(Element)127686 %4866 %4752301
            PlayList(String)14100 %n/a010501
            PlayList(String, String, ArrayList)13100 %n/a010501
            addElement(UUID)6100 %n/a010201
            getElements()3100 %n/a010101
            getTitle()3100 %n/a010101
            \ No newline at end of file diff --git a/target/site/jacoco/musichub.business/PlayList.java.html b/target/site/jacoco/musichub.business/PlayList.java.html index 6a45004..3c1eb72 100644 --- a/target/site/jacoco/musichub.business/PlayList.java.html +++ b/target/site/jacoco/musichub.business/PlayList.java.html @@ -13,89 +13,89 @@ public class PlayList { private final UUID uuid; private ArrayList<UUID> elementUUIDs; - public PlayList(String title, String id, ArrayList<UUID> elementUUIDs) { - this.title = title; - this.uuid = UUID.fromString(id); - this.elementUUIDs = elementUUIDs; - } - - public PlayList(String title) { - this.title = title; - this.uuid = UUID.randomUUID(); - this.elementUUIDs = new ArrayList<>(); - } - - public PlayList(Element xmlElement) { + public PlayList(String title, String id, ArrayList<UUID> elementUUIDs) { + this.title = title; + this.uuid = UUID.fromString(id); + this.elementUUIDs = elementUUIDs; + } + + public PlayList(String title) { + this.title = title; + this.uuid = UUID.randomUUID(); + this.elementUUIDs = new ArrayList<>(); + } + + public PlayList(Element xmlElement) { { - this.title = xmlElement.getElementsByTagName("title").item(0).getTextContent(); + this.title = xmlElement.getElementsByTagName("title").item(0).getTextContent(); - String uuid = null; + String uuid = null; try { - uuid = xmlElement.getElementsByTagName("UUID").item(0).getTextContent(); + uuid = xmlElement.getElementsByTagName("UUID").item(0).getTextContent(); } catch (Exception ex) { System.out.println("Empty playlist UUID, will create a new one"); - } - if ((uuid == null) || (uuid.isEmpty())) + } + if ((uuid == null) || (uuid.isEmpty())) this.uuid = UUID.randomUUID(); - else this.uuid = UUID.fromString(uuid); + else this.uuid = UUID.fromString(uuid); //parse list of elements: - Node elementsElement = xmlElement.getElementsByTagName("elements").item(0); - NodeList elementUUIDNodes = elementsElement.getChildNodes(); - if (elementUUIDNodes == null) return; + Node elementsElement = xmlElement.getElementsByTagName("elements").item(0); + NodeList elementUUIDNodes = elementsElement.getChildNodes(); + if (elementUUIDNodes == null) return; - this.elementUUIDs = new ArrayList<>(); + this.elementUUIDs = new ArrayList<>(); - for (int i = 0; i < elementUUIDNodes.getLength(); i++) { - if (elementUUIDNodes.item(i).getNodeType() == Node.ELEMENT_NODE) { - Element elementElement = (Element) elementUUIDNodes.item(i); - if (elementElement.getNodeName().equals("UUID")) { + for (int i = 0; i < elementUUIDNodes.getLength(); i++) { + if (elementUUIDNodes.item(i).getNodeType() == Node.ELEMENT_NODE) { + Element elementElement = (Element) elementUUIDNodes.item(i); + if (elementElement.getNodeName().equals("UUID")) { try { - this.addElement(UUID.fromString(elementElement.getTextContent())); + this.addElement(UUID.fromString(elementElement.getTextContent())); } catch (Exception ex) { ex.printStackTrace(); - } + } } } } } - } + } public void addElement(UUID element) { - elementUUIDs.add(element); - } + elementUUIDs.add(element); + } public ArrayList<UUID> getElements() { - return elementUUIDs; + return elementUUIDs; } public String getTitle() { - return title; + return title; } public void createXMLElement(Document document, Element parentElement) { - Element playlistElement = document.createElement("playlist"); - parentElement.appendChild(playlistElement); + Element playlistElement = document.createElement("playlist"); + parentElement.appendChild(playlistElement); - Element nameElement = document.createElement("title"); - nameElement.appendChild(document.createTextNode(title)); - playlistElement.appendChild(nameElement); + Element nameElement = document.createElement("title"); + nameElement.appendChild(document.createTextNode(title)); + playlistElement.appendChild(nameElement); - Element UUIDElement = document.createElement("UUID"); - UUIDElement.appendChild(document.createTextNode(uuid.toString())); - playlistElement.appendChild(UUIDElement); + Element UUIDElement = document.createElement("UUID"); + UUIDElement.appendChild(document.createTextNode(uuid.toString())); + playlistElement.appendChild(UUIDElement); - Element elementsElement = document.createElement("elements"); - for (UUID currentUUID : this.elementUUIDs) { + Element elementsElement = document.createElement("elements"); + for (UUID currentUUID : this.elementUUIDs) { Element elementUUIDElement = document.createElement("UUID"); elementUUIDElement.appendChild(document.createTextNode(currentUUID.toString())); elementsElement.appendChild(elementUUIDElement); } - playlistElement.appendChild(elementsElement); - } + playlistElement.appendChild(elementsElement); + } } \ 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 58b15a0..3178b04 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 721 of 2 06316 %161 of 1694 %15217242549966811215
            MusicHub8030 %1140 %7979195195222211
            Album3300 %140 %161684849911
            PlayList2020 %140 %141453537711
            AudioBook1640 %100 %171739399911
            AudioElement8518168 %9218 %111630724901
            Language490 %n/a33663311
            Category490 %n/a33663311
            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 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 diff --git a/target/site/jacoco/musichub.business/index.source.html b/target/site/jacoco/musichub.business/index.source.html index 5de5f23..967ff25 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 721 of 2 06316 %161 of 1694 %15217242549966811215
            MusicHub.java8300 %1140 %8585201201282844
            Album.java3300 %140 %161684849911
            PlayList.java2020 %140 %141453537711
            AudioBook.java1640 %100 %171739399911
            AudioElement.java8518168 %9218 %111630724901
            Language.java490 %n/a33663311
            Category.java490 %n/a33663311
            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 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 -- cgit v1.2.3 From f5117515ab26658e93d9efc2d99651c332840782 Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Sun, 27 Jun 2021 13:24:40 +0200 Subject: Added an extension check for songs and covered it with a test. --- Song/Side_To_Side.mp3 | Bin 0 -> 7460864 bytes log/spoteezer.log | 10 ++-------- src/main/java/musichub/main/Main.java | 2 +- src/main/java/musichub/util/PathValidation.java | 14 ++++++++++++-- src/test/java/musichub/util/PathValidationTest.java | 7 ++++--- target/classes/musichub/main/Main.class | Bin 10287 -> 10315 bytes target/jacoco.exec | Bin 15165 -> 15166 bytes target/site/apidocs/allclasses-index.html | 2 +- target/site/apidocs/allpackages-index.html | 2 +- target/site/apidocs/help-doc.html | 2 +- target/site/apidocs/index-all.html | 4 ++-- target/site/apidocs/index.html | 2 +- target/site/apidocs/musichub/business/Album.html | 2 +- .../site/apidocs/musichub/business/AudioBook.html | 2 +- .../apidocs/musichub/business/AudioElement.html | 2 +- target/site/apidocs/musichub/business/Category.html | 2 +- target/site/apidocs/musichub/business/Genre.html | 2 +- target/site/apidocs/musichub/business/Language.html | 2 +- target/site/apidocs/musichub/business/MusicHub.html | 2 +- .../musichub/business/NoAlbumFoundException.html | 2 +- .../musichub/business/NoElementFoundException.html | 2 +- .../musichub/business/NoPlayListFoundException.html | 2 +- target/site/apidocs/musichub/business/PlayList.html | 2 +- target/site/apidocs/musichub/business/Song.html | 2 +- .../apidocs/musichub/business/class-use/Album.html | 2 +- .../musichub/business/class-use/AudioBook.html | 2 +- .../musichub/business/class-use/AudioElement.html | 2 +- .../musichub/business/class-use/Category.html | 2 +- .../apidocs/musichub/business/class-use/Genre.html | 2 +- .../musichub/business/class-use/Language.html | 2 +- .../musichub/business/class-use/MusicHub.html | 2 +- .../business/class-use/NoAlbumFoundException.html | 2 +- .../business/class-use/NoElementFoundException.html | 2 +- .../class-use/NoPlayListFoundException.html | 2 +- .../musichub/business/class-use/PlayList.html | 2 +- .../apidocs/musichub/business/class-use/Song.html | 2 +- .../apidocs/musichub/business/package-summary.html | 2 +- .../apidocs/musichub/business/package-tree.html | 2 +- .../site/apidocs/musichub/business/package-use.html | 2 +- target/site/apidocs/musichub/main/Main.html | 2 +- .../site/apidocs/musichub/main/class-use/Main.html | 2 +- .../site/apidocs/musichub/main/package-summary.html | 2 +- target/site/apidocs/musichub/main/package-tree.html | 2 +- target/site/apidocs/musichub/main/package-use.html | 2 +- target/site/apidocs/musichub/util/LogHandler.html | 2 +- .../site/apidocs/musichub/util/PathValidation.html | 6 +++--- target/site/apidocs/musichub/util/XMLHandler.html | 2 +- .../apidocs/musichub/util/class-use/LogHandler.html | 2 +- .../musichub/util/class-use/PathValidation.html | 2 +- .../apidocs/musichub/util/class-use/XMLHandler.html | 2 +- .../site/apidocs/musichub/util/package-summary.html | 2 +- target/site/apidocs/musichub/util/package-tree.html | 2 +- target/site/apidocs/musichub/util/package-use.html | 2 +- target/site/apidocs/overview-summary.html | 2 +- target/site/apidocs/overview-tree.html | 2 +- target/site/apidocs/serialized-form.html | 2 +- target/site/jacoco/index.html | 2 +- target/site/jacoco/jacoco-sessions.html | 2 +- target/site/jacoco/jacoco.csv | 2 +- target/site/jacoco/jacoco.xml | 2 +- target/site/jacoco/musichub.main/Main.java.html | 2 +- .../site/jacoco/musichub.util/PathValidation.html | 2 +- .../jacoco/musichub.util/PathValidation.java.html | 16 +++++++++++++--- target/site/jacoco/musichub.util/index.html | 2 +- target/site/jacoco/musichub.util/index.source.html | 2 +- 65 files changed, 92 insertions(+), 77 deletions(-) create mode 100644 Song/Side_To_Side.mp3 (limited to 'target/site/jacoco/index.html') diff --git a/Song/Side_To_Side.mp3 b/Song/Side_To_Side.mp3 new file mode 100644 index 0000000..3723a43 Binary files /dev/null and b/Song/Side_To_Side.mp3 differ diff --git a/log/spoteezer.log b/log/spoteezer.log index b1ecf97..b4799c9 100644 --- a/log/spoteezer.log +++ b/log/spoteezer.log @@ -1,9 +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. -[2021-06-27 12:21:37.507] TEST: JUnit test -[2021-06-27 12:26:02.741] TEST: JUnit test -[2021-06-27 12:28:05.542] TEST: JUnit test -[2021-06-27 12:28:41.186] TEST: JUnit test -[2021-06-27 12:31:42.777] TEST: JUnit test -[2021-06-27 12:40:20.609] TEST: JUnit test \ No newline at end of file +[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 diff --git a/src/main/java/musichub/main/Main.java b/src/main/java/musichub/main/Main.java index e7ca721..1fa5c52 100644 --- a/src/main/java/musichub/main/Main.java +++ b/src/main/java/musichub/main/Main.java @@ -94,7 +94,7 @@ public class Main { 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."; + 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(); diff --git a/src/main/java/musichub/util/PathValidation.java b/src/main/java/musichub/util/PathValidation.java index df11388..ea00c24 100644 --- a/src/main/java/musichub/util/PathValidation.java +++ b/src/main/java/musichub/util/PathValidation.java @@ -25,15 +25,25 @@ public final class PathValidation { } /** - * Method that checks the validity of a given path + * Method that checks the validity of a given path and file. * * @param inputPath the path given by the user * @return a boolean */ public static boolean isPathValid(String inputPath) { + boolean isExtensionValid = false; + + int index = inputPath.lastIndexOf('.'); + if (index > 0) { + String extension = inputPath.substring(index + 1); + if (extension.equals("wav")) { + isExtensionValid = true; + } + } + Path path = Paths.get(inputPath); - return Files.exists(path); + return (Files.exists(path) & isExtensionValid); } } \ No newline at end of file diff --git a/src/test/java/musichub/util/PathValidationTest.java b/src/test/java/musichub/util/PathValidationTest.java index b0e0c38..f087ac1 100644 --- a/src/test/java/musichub/util/PathValidationTest.java +++ b/src/test/java/musichub/util/PathValidationTest.java @@ -19,8 +19,9 @@ public class PathValidationTest { @Test void testIsPathValid() { - assertTrue(isPathValid("Song/Side_To_Side.wav")); //the right path - assertFalse(isPathValid("wrong_path/Side_To_Side.wav")); //wrong path - assertFalse(isPathValid("Song/Side_To_Side.mp3")); //wrong extension + assertTrue(isPathValid("Song/Side_To_Side.wav")); //right path, right file, right extension + assertFalse(isPathValid("wrong_path/Side_To_Side.wav")); //wrong path, right file, right extension + assertFalse(isPathValid("Song/Side_To_Side.mp3")); //right path, right file, wrong extension + assertFalse(isPathValid("Song/Side_To_Sidewav")); //right path, right file, wrong extension (without a dot) } } diff --git a/target/classes/musichub/main/Main.class b/target/classes/musichub/main/Main.class index 632e576..38501eb 100644 Binary files a/target/classes/musichub/main/Main.class and b/target/classes/musichub/main/Main.class differ diff --git a/target/jacoco.exec b/target/jacoco.exec index bc2bc8f..029f7db 100644 Binary files a/target/jacoco.exec and b/target/jacoco.exec differ diff --git a/target/site/apidocs/allclasses-index.html b/target/site/apidocs/allclasses-index.html index 5373707..f526bdf 100644 --- a/target/site/apidocs/allclasses-index.html +++ b/target/site/apidocs/allclasses-index.html @@ -2,7 +2,7 @@ - + All Classes (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/allpackages-index.html b/target/site/apidocs/allpackages-index.html index 3c3f2bf..76d905a 100644 --- a/target/site/apidocs/allpackages-index.html +++ b/target/site/apidocs/allpackages-index.html @@ -2,7 +2,7 @@ - + All Packages (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/help-doc.html b/target/site/apidocs/help-doc.html index a862578..98c4397 100644 --- a/target/site/apidocs/help-doc.html +++ b/target/site/apidocs/help-doc.html @@ -2,7 +2,7 @@ - + API Help (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/index-all.html b/target/site/apidocs/index-all.html index a35747c..bb29e83 100644 --- a/target/site/apidocs/index-all.html +++ b/target/site/apidocs/index-all.html @@ -2,7 +2,7 @@ - + Index (spoteezer 0.1.0 API) @@ -204,7 +204,7 @@ loadScripts(document, 'script');
            isPathValid(String) - Static method in class musichub.util.PathValidation
            -
            Method that checks the validity of a given path
            +
            Method that checks the validity of a given path and file.
            ITALIAN - Enum constant in enum class musichub.business.Language
             
            diff --git a/target/site/apidocs/index.html b/target/site/apidocs/index.html index 2d288a6..e4f188e 100644 --- a/target/site/apidocs/index.html +++ b/target/site/apidocs/index.html @@ -2,7 +2,7 @@ - + Overview (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/Album.html b/target/site/apidocs/musichub/business/Album.html index 973b265..1218e4a 100644 --- a/target/site/apidocs/musichub/business/Album.html +++ b/target/site/apidocs/musichub/business/Album.html @@ -2,7 +2,7 @@ - + Album (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/AudioBook.html b/target/site/apidocs/musichub/business/AudioBook.html index f9f339c..2947784 100644 --- a/target/site/apidocs/musichub/business/AudioBook.html +++ b/target/site/apidocs/musichub/business/AudioBook.html @@ -2,7 +2,7 @@ - + AudioBook (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/AudioElement.html b/target/site/apidocs/musichub/business/AudioElement.html index 0765c5e..952130b 100644 --- a/target/site/apidocs/musichub/business/AudioElement.html +++ b/target/site/apidocs/musichub/business/AudioElement.html @@ -2,7 +2,7 @@ - + AudioElement (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/Category.html b/target/site/apidocs/musichub/business/Category.html index 78478cc..efdb113 100644 --- a/target/site/apidocs/musichub/business/Category.html +++ b/target/site/apidocs/musichub/business/Category.html @@ -2,7 +2,7 @@ - + Category (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/Genre.html b/target/site/apidocs/musichub/business/Genre.html index 1e8368a..fb61007 100644 --- a/target/site/apidocs/musichub/business/Genre.html +++ b/target/site/apidocs/musichub/business/Genre.html @@ -2,7 +2,7 @@ - + Genre (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/Language.html b/target/site/apidocs/musichub/business/Language.html index 373acb6..de6d02c 100644 --- a/target/site/apidocs/musichub/business/Language.html +++ b/target/site/apidocs/musichub/business/Language.html @@ -2,7 +2,7 @@ - + Language (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/MusicHub.html b/target/site/apidocs/musichub/business/MusicHub.html index 796ef55..c9aa14b 100644 --- a/target/site/apidocs/musichub/business/MusicHub.html +++ b/target/site/apidocs/musichub/business/MusicHub.html @@ -2,7 +2,7 @@ - + MusicHub (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/NoAlbumFoundException.html b/target/site/apidocs/musichub/business/NoAlbumFoundException.html index b97e96b..8cd2100 100644 --- a/target/site/apidocs/musichub/business/NoAlbumFoundException.html +++ b/target/site/apidocs/musichub/business/NoAlbumFoundException.html @@ -2,7 +2,7 @@ - + NoAlbumFoundException (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/NoElementFoundException.html b/target/site/apidocs/musichub/business/NoElementFoundException.html index 02158e1..41fa7a8 100644 --- a/target/site/apidocs/musichub/business/NoElementFoundException.html +++ b/target/site/apidocs/musichub/business/NoElementFoundException.html @@ -2,7 +2,7 @@ - + NoElementFoundException (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/NoPlayListFoundException.html b/target/site/apidocs/musichub/business/NoPlayListFoundException.html index cb1bead..65ad902 100644 --- a/target/site/apidocs/musichub/business/NoPlayListFoundException.html +++ b/target/site/apidocs/musichub/business/NoPlayListFoundException.html @@ -2,7 +2,7 @@ - + NoPlayListFoundException (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/PlayList.html b/target/site/apidocs/musichub/business/PlayList.html index d681f94..a0bd02b 100644 --- a/target/site/apidocs/musichub/business/PlayList.html +++ b/target/site/apidocs/musichub/business/PlayList.html @@ -2,7 +2,7 @@ - + PlayList (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/Song.html b/target/site/apidocs/musichub/business/Song.html index fb5a918..2550898 100644 --- a/target/site/apidocs/musichub/business/Song.html +++ b/target/site/apidocs/musichub/business/Song.html @@ -2,7 +2,7 @@ - + Song (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/class-use/Album.html b/target/site/apidocs/musichub/business/class-use/Album.html index 89a09b3..846ce1e 100644 --- a/target/site/apidocs/musichub/business/class-use/Album.html +++ b/target/site/apidocs/musichub/business/class-use/Album.html @@ -2,7 +2,7 @@ - + Uses of Class musichub.business.Album (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/class-use/AudioBook.html b/target/site/apidocs/musichub/business/class-use/AudioBook.html index e911a56..ac2d207 100644 --- a/target/site/apidocs/musichub/business/class-use/AudioBook.html +++ b/target/site/apidocs/musichub/business/class-use/AudioBook.html @@ -2,7 +2,7 @@ - + Uses of Class musichub.business.AudioBook (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/class-use/AudioElement.html b/target/site/apidocs/musichub/business/class-use/AudioElement.html index 67ffde5..6721959 100644 --- a/target/site/apidocs/musichub/business/class-use/AudioElement.html +++ b/target/site/apidocs/musichub/business/class-use/AudioElement.html @@ -2,7 +2,7 @@ - + Uses of Class musichub.business.AudioElement (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/class-use/Category.html b/target/site/apidocs/musichub/business/class-use/Category.html index 3c43357..bf72525 100644 --- a/target/site/apidocs/musichub/business/class-use/Category.html +++ b/target/site/apidocs/musichub/business/class-use/Category.html @@ -2,7 +2,7 @@ - + Uses of Enum Class musichub.business.Category (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/class-use/Genre.html b/target/site/apidocs/musichub/business/class-use/Genre.html index e07056b..45e4285 100644 --- a/target/site/apidocs/musichub/business/class-use/Genre.html +++ b/target/site/apidocs/musichub/business/class-use/Genre.html @@ -2,7 +2,7 @@ - + Uses of Enum Class musichub.business.Genre (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/class-use/Language.html b/target/site/apidocs/musichub/business/class-use/Language.html index 446982a..2641403 100644 --- a/target/site/apidocs/musichub/business/class-use/Language.html +++ b/target/site/apidocs/musichub/business/class-use/Language.html @@ -2,7 +2,7 @@ - + Uses of Enum Class musichub.business.Language (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/class-use/MusicHub.html b/target/site/apidocs/musichub/business/class-use/MusicHub.html index 284de20..6001814 100644 --- a/target/site/apidocs/musichub/business/class-use/MusicHub.html +++ b/target/site/apidocs/musichub/business/class-use/MusicHub.html @@ -2,7 +2,7 @@ - + Uses of Class musichub.business.MusicHub (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/class-use/NoAlbumFoundException.html b/target/site/apidocs/musichub/business/class-use/NoAlbumFoundException.html index 4fe2d48..ec4794b 100644 --- a/target/site/apidocs/musichub/business/class-use/NoAlbumFoundException.html +++ b/target/site/apidocs/musichub/business/class-use/NoAlbumFoundException.html @@ -2,7 +2,7 @@ - + Uses of Class musichub.business.NoAlbumFoundException (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/class-use/NoElementFoundException.html b/target/site/apidocs/musichub/business/class-use/NoElementFoundException.html index 18ab630..438ea7e 100644 --- a/target/site/apidocs/musichub/business/class-use/NoElementFoundException.html +++ b/target/site/apidocs/musichub/business/class-use/NoElementFoundException.html @@ -2,7 +2,7 @@ - + Uses of Class musichub.business.NoElementFoundException (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/class-use/NoPlayListFoundException.html b/target/site/apidocs/musichub/business/class-use/NoPlayListFoundException.html index a1bdfd9..fc2e2e3 100644 --- a/target/site/apidocs/musichub/business/class-use/NoPlayListFoundException.html +++ b/target/site/apidocs/musichub/business/class-use/NoPlayListFoundException.html @@ -2,7 +2,7 @@ - + Uses of Class musichub.business.NoPlayListFoundException (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/class-use/PlayList.html b/target/site/apidocs/musichub/business/class-use/PlayList.html index 634e0d8..bda55e0 100644 --- a/target/site/apidocs/musichub/business/class-use/PlayList.html +++ b/target/site/apidocs/musichub/business/class-use/PlayList.html @@ -2,7 +2,7 @@ - + Uses of Class musichub.business.PlayList (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/class-use/Song.html b/target/site/apidocs/musichub/business/class-use/Song.html index fb99612..3325f6e 100644 --- a/target/site/apidocs/musichub/business/class-use/Song.html +++ b/target/site/apidocs/musichub/business/class-use/Song.html @@ -2,7 +2,7 @@ - + Uses of Class musichub.business.Song (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/package-summary.html b/target/site/apidocs/musichub/business/package-summary.html index 5c16eb0..6091b4c 100644 --- a/target/site/apidocs/musichub/business/package-summary.html +++ b/target/site/apidocs/musichub/business/package-summary.html @@ -2,7 +2,7 @@ - + musichub.business (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/package-tree.html b/target/site/apidocs/musichub/business/package-tree.html index fd8432b..043e924 100644 --- a/target/site/apidocs/musichub/business/package-tree.html +++ b/target/site/apidocs/musichub/business/package-tree.html @@ -2,7 +2,7 @@ - + musichub.business Class Hierarchy (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/business/package-use.html b/target/site/apidocs/musichub/business/package-use.html index f00b71c..9e21dc4 100644 --- a/target/site/apidocs/musichub/business/package-use.html +++ b/target/site/apidocs/musichub/business/package-use.html @@ -2,7 +2,7 @@ - + Uses of Package musichub.business (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/main/Main.html b/target/site/apidocs/musichub/main/Main.html index 756debb..689df96 100644 --- a/target/site/apidocs/musichub/main/Main.html +++ b/target/site/apidocs/musichub/main/Main.html @@ -2,7 +2,7 @@ - + Main (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/main/class-use/Main.html b/target/site/apidocs/musichub/main/class-use/Main.html index ea3723f..3510a5a 100644 --- a/target/site/apidocs/musichub/main/class-use/Main.html +++ b/target/site/apidocs/musichub/main/class-use/Main.html @@ -2,7 +2,7 @@ - + Uses of Class musichub.main.Main (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/main/package-summary.html b/target/site/apidocs/musichub/main/package-summary.html index ca88160..3173f29 100644 --- a/target/site/apidocs/musichub/main/package-summary.html +++ b/target/site/apidocs/musichub/main/package-summary.html @@ -2,7 +2,7 @@ - + musichub.main (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/main/package-tree.html b/target/site/apidocs/musichub/main/package-tree.html index b629a9f..28af7d3 100644 --- a/target/site/apidocs/musichub/main/package-tree.html +++ b/target/site/apidocs/musichub/main/package-tree.html @@ -2,7 +2,7 @@ - + musichub.main Class Hierarchy (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/main/package-use.html b/target/site/apidocs/musichub/main/package-use.html index d88fcc7..91940dd 100644 --- a/target/site/apidocs/musichub/main/package-use.html +++ b/target/site/apidocs/musichub/main/package-use.html @@ -2,7 +2,7 @@ - + Uses of Package musichub.main (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/util/LogHandler.html b/target/site/apidocs/musichub/util/LogHandler.html index aab61a3..ef83ebd 100644 --- a/target/site/apidocs/musichub/util/LogHandler.html +++ b/target/site/apidocs/musichub/util/LogHandler.html @@ -2,7 +2,7 @@ - + LogHandler (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/util/PathValidation.html b/target/site/apidocs/musichub/util/PathValidation.html index fd6d4b8..fefddad 100644 --- a/target/site/apidocs/musichub/util/PathValidation.html +++ b/target/site/apidocs/musichub/util/PathValidation.html @@ -2,7 +2,7 @@ - + PathValidation (spoteezer 0.1.0 API) @@ -121,7 +121,7 @@ loadScripts(document, 'script');
            static boolean
            isPathValid​(String inputPath)
            -
            Method that checks the validity of a given path
            +
            Method that checks the validity of a given path and file.
          • @@ -163,7 +163,7 @@ loadScripts(document, 'script');

            isPathValid

            public static boolean isPathValid(String inputPath)
            -
            Method that checks the validity of a given path
            +
            Method that checks the validity of a given path and file.
            Parameters:
            inputPath - the path given by the user
            diff --git a/target/site/apidocs/musichub/util/XMLHandler.html b/target/site/apidocs/musichub/util/XMLHandler.html index 8957fcb..7236da3 100644 --- a/target/site/apidocs/musichub/util/XMLHandler.html +++ b/target/site/apidocs/musichub/util/XMLHandler.html @@ -2,7 +2,7 @@ - + XMLHandler (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/util/class-use/LogHandler.html b/target/site/apidocs/musichub/util/class-use/LogHandler.html index 2d3ba9c..990f0fd 100644 --- a/target/site/apidocs/musichub/util/class-use/LogHandler.html +++ b/target/site/apidocs/musichub/util/class-use/LogHandler.html @@ -2,7 +2,7 @@ - + Uses of Class musichub.util.LogHandler (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/util/class-use/PathValidation.html b/target/site/apidocs/musichub/util/class-use/PathValidation.html index 68d4275..220526c 100644 --- a/target/site/apidocs/musichub/util/class-use/PathValidation.html +++ b/target/site/apidocs/musichub/util/class-use/PathValidation.html @@ -2,7 +2,7 @@ - + Uses of Class musichub.util.PathValidation (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/util/class-use/XMLHandler.html b/target/site/apidocs/musichub/util/class-use/XMLHandler.html index 1115b00..7a70382 100644 --- a/target/site/apidocs/musichub/util/class-use/XMLHandler.html +++ b/target/site/apidocs/musichub/util/class-use/XMLHandler.html @@ -2,7 +2,7 @@ - + Uses of Class musichub.util.XMLHandler (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/util/package-summary.html b/target/site/apidocs/musichub/util/package-summary.html index f15c1e8..f86937c 100644 --- a/target/site/apidocs/musichub/util/package-summary.html +++ b/target/site/apidocs/musichub/util/package-summary.html @@ -2,7 +2,7 @@ - + musichub.util (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/util/package-tree.html b/target/site/apidocs/musichub/util/package-tree.html index 5e16d78..ffec452 100644 --- a/target/site/apidocs/musichub/util/package-tree.html +++ b/target/site/apidocs/musichub/util/package-tree.html @@ -2,7 +2,7 @@ - + musichub.util Class Hierarchy (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/musichub/util/package-use.html b/target/site/apidocs/musichub/util/package-use.html index 9451dbe..5b04593 100644 --- a/target/site/apidocs/musichub/util/package-use.html +++ b/target/site/apidocs/musichub/util/package-use.html @@ -2,7 +2,7 @@ - + Uses of Package musichub.util (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/overview-summary.html b/target/site/apidocs/overview-summary.html index 3c19f26..4cc33e6 100644 --- a/target/site/apidocs/overview-summary.html +++ b/target/site/apidocs/overview-summary.html @@ -2,7 +2,7 @@ - + spoteezer 0.1.0 API diff --git a/target/site/apidocs/overview-tree.html b/target/site/apidocs/overview-tree.html index b80155e..cdf90ae 100644 --- a/target/site/apidocs/overview-tree.html +++ b/target/site/apidocs/overview-tree.html @@ -2,7 +2,7 @@ - + Class Hierarchy (spoteezer 0.1.0 API) diff --git a/target/site/apidocs/serialized-form.html b/target/site/apidocs/serialized-form.html index 913a680..4f1d9d0 100644 --- a/target/site/apidocs/serialized-form.html +++ b/target/site/apidocs/serialized-form.html @@ -2,7 +2,7 @@ - + Serialized Form (spoteezer 0.1.0 API) diff --git a/target/site/jacoco/index.html b/target/site/jacoco/index.html index c69b3a6..b69ecb5 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 80322 %193 of 2108 %17321159174562931219
            musichub.business1 55151224 %1521710 %14317238149959811115
            musichub.main6050 %410 %30302062063311
            musichub.util12995 %n/a094400903
            \ No newline at end of file +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 diff --git a/target/site/jacoco/jacoco-sessions.html b/target/site/jacoco/jacoco-sessions.html index 07ff00a..9debc99 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-39b23d3827 juin 2021, 12:40:2027 juin 2021, 12:40:20

            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.PlayListTest70c3a2a856fcdb5e
            musichub.business.Song44a87f7f8335b156
            musichub.business.SongTest88f03b022c5c7270
            musichub.util.LogHandler09990b742e8d897c
            musichub.util.LogHandlerTest49f271871a8ef7bf
            musichub.util.PathValidation538d6ca0ac9478ad
            musichub.util.PathValidationTest46821ddd8d6598d1
            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

            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 diff --git a/target/site/jacoco/jacoco.csv b/target/site/jacoco/jacoco.csv index 74dcec9..558423a 100644 --- a/target/site/jacoco/jacoco.csv +++ b/target/site/jacoco/jacoco.csv @@ -1,5 +1,5 @@ GROUP,PACKAGE,CLASS,INSTRUCTION_MISSED,INSTRUCTION_COVERED,BRANCH_MISSED,BRANCH_COVERED,LINE_MISSED,LINE_COVERED,COMPLEXITY_MISSED,COMPLEXITY_COVERED,METHOD_MISSED,METHOD_COVERED -spoteezer,musichub.util,PathValidation,0,17,0,0,0,4,0,2,0,2 +spoteezer,musichub.util,PathValidation,0,39,0,4,0,10,0,4,0,2 spoteezer,musichub.util,LogHandler,0,46,0,0,0,11,0,3,0,3 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 diff --git a/target/site/jacoco/jacoco.xml b/target/site/jacoco/jacoco.xml index e842251..1118bc5 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.main/Main.java.html b/target/site/jacoco/musichub.main/Main.java.html index 7ec6a41..d86f303 100644 --- a/target/site/jacoco/musichub.main/Main.java.html +++ b/target/site/jacoco/musichub.main/Main.java.html @@ -94,7 +94,7 @@ import static musichub.util.PathValidation.isPathValid; 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."; + 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(); diff --git a/target/site/jacoco/musichub.util/PathValidation.html b/target/site/jacoco/musichub.util/PathValidation.html index 940af0e..9798ba8 100644 --- a/target/site/jacoco/musichub.util/PathValidation.html +++ b/target/site/jacoco/musichub.util/PathValidation.html @@ -1 +1 @@ -PathValidation

            PathValidation

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
            Total0 of 17100 %0 of 0n/a020402
            isPathValid(String)10100 %n/a010201
            PathValidation()7100 %n/a010201
            \ No newline at end of file +PathValidation

            PathValidation

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
            Total0 of 39100 %0 of 4100 %0401002
            isPathValid(String)32100 %4100 %030801
            PathValidation()7100 %n/a010201
            \ 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 7cb31d4..7518e59 100644 --- a/target/site/jacoco/musichub.util/PathValidation.java.html +++ b/target/site/jacoco/musichub.util/PathValidation.java.html @@ -25,15 +25,25 @@ public final class PathValidation { } /** - * Method that checks the validity of a given path + * Method that checks the validity of a given path and file. * * @param inputPath the path given by the user * @return a boolean */ public static boolean isPathValid(String inputPath) { - Path path = Paths.get(inputPath); - return Files.exists(path); + boolean isExtensionValid=false; + + int index = inputPath.lastIndexOf('.'); + if(index > 0) { + String extension = inputPath.substring(index + 1); + if (extension.equals("wav")){ + isExtensionValid=true; + } + } + + Path path = Paths.get(inputPath); + return (Files.exists(path) & isExtensionValid); } } diff --git a/target/site/jacoco/musichub.util/index.html b/target/site/jacoco/musichub.util/index.html index 8091491..35e136c 100644 --- a/target/site/jacoco/musichub.util/index.html +++ b/target/site/jacoco/musichub.util/index.html @@ -1 +1 @@ -musichub.util

            musichub.util

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
            Total6 of 13595 %0 of 0n/a094400903
            XMLHandler66691 %n/a044250401
            LogHandler46100 %n/a030110301
            PathValidation17100 %n/a02040201
            \ No newline at end of file +musichub.util

            musichub.util

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
            Total6 of 15796 %0 of 4100 %0114460903
            XMLHandler66691 %n/a044250401
            LogHandler46100 %n/a030110301
            PathValidation39100 %4100 %040100201
            \ No newline at end of file diff --git a/target/site/jacoco/musichub.util/index.source.html b/target/site/jacoco/musichub.util/index.source.html index ce29c52..d40b929 100644 --- a/target/site/jacoco/musichub.util/index.source.html +++ b/target/site/jacoco/musichub.util/index.source.html @@ -1 +1 @@ -musichub.util

            musichub.util

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
            Total6 of 13595 %0 of 0n/a094400903
            XMLHandler.java66691 %n/a044250401
            LogHandler.java46100 %n/a030110301
            PathValidation.java17100 %n/a02040201
            \ No newline at end of file +musichub.util

            musichub.util

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
            Total6 of 15796 %0 of 4100 %0114460903
            XMLHandler.java66691 %n/a044250401
            LogHandler.java46100 %n/a030110301
            PathValidation.java39100 %4100 %040100201
            \ No newline at end of file -- 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/site/jacoco/index.html') 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 From 2b45d7bea0d7cb1031b3cdac54e676c183b8074e Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Sun, 27 Jun 2021 22:23:57 +0200 Subject: mvn package --- log/spoteezer.log | 3 +- target/classes/musichub/business/MusicHub.class | Bin 12505 -> 12507 bytes target/classes/musichub/main/Main.class | Bin 10771 -> 10828 bytes target/jacoco.exec | Bin 30542 -> 45918 bytes target/original-spoteezer-0.1.0.jar | Bin 33454 -> 39074 bytes target/site/jacoco/index.html | 2 +- target/site/jacoco/jacoco-sessions.html | 2 +- target/site/jacoco/jacoco.csv | 5 +- target/site/jacoco/jacoco.xml | 2 +- .../jacoco/musichub.business/MusicHub.java.html | 30 +- target/site/jacoco/musichub.business/index.html | 2 +- .../jacoco/musichub.business/index.source.html | 2 +- target/site/jacoco/musichub.main/Main.java.html | 502 +++++++++++---------- target/spoteezer-0.1.0-shaded.jar | Bin 369356 -> 374992 bytes target/spoteezer-0.1.0.jar | Bin 369356 -> 374992 bytes .../TEST-musichub.business.CategoryTest.xml | 8 +- .../TEST-musichub.business.LanguageTest.xml | 4 +- .../TEST-musichub.business.PlayListTest.xml | 10 +- .../TEST-musichub.business.SongTest.xml | 14 +- .../TEST-musichub.util.LogHandlerTest.xml | 8 +- .../TEST-musichub.util.PathValidationTest.xml | 4 +- .../TEST-musichub.util.XMLHandlerTest.xml | 8 +- .../musichub.business.CategoryTest.txt | 2 +- .../musichub.business.PlayListTest.txt | 2 +- .../musichub.business.SongTest.txt | 2 +- .../musichub.util.XMLHandlerTest.txt | 2 +- 26 files changed, 313 insertions(+), 301 deletions(-) (limited to 'target/site/jacoco/index.html') diff --git a/log/spoteezer.log b/log/spoteezer.log index 7f2fbd4..5251bff 100644 --- a/log/spoteezer.log +++ b/log/spoteezer.log @@ -2,4 +2,5 @@ [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 [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 +[2021-06-27 18:57:02.639] TEST: JUnit test +[2021-06-27 22:23:27.617] TEST: JUnit test \ No newline at end of file diff --git a/target/classes/musichub/business/MusicHub.class b/target/classes/musichub/business/MusicHub.class index 41af154..8614d25 100644 Binary files a/target/classes/musichub/business/MusicHub.class and b/target/classes/musichub/business/MusicHub.class differ diff --git a/target/classes/musichub/main/Main.class b/target/classes/musichub/main/Main.class index 802184b..6a37d2d 100644 Binary files a/target/classes/musichub/main/Main.class and b/target/classes/musichub/main/Main.class differ diff --git a/target/jacoco.exec b/target/jacoco.exec index 407278b..c71133e 100644 Binary files a/target/jacoco.exec and b/target/jacoco.exec differ diff --git a/target/original-spoteezer-0.1.0.jar b/target/original-spoteezer-0.1.0.jar index 49fe805..dee388f 100644 Binary files a/target/original-spoteezer-0.1.0.jar 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 88d1333..b7992f7 100644 --- a/target/site/jacoco/index.html +++ b/target/site/jacoco/index.html @@ -1 +1 @@ -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 +spoteezer

            spoteezer

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
            Total2 167 of 2 96927 %207 of 23010 %17722661279457971020
            musichub.business1 48365130 %1601910 %1401783735135182815
            musichub.main6250 %420 %31312152153311
            musichub.util5915171 %5444 %617246631214
            \ No newline at end of file diff --git a/target/site/jacoco/jacoco-sessions.html b/target/site/jacoco/jacoco-sessions.html index eb4b943..59fcb45 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
            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 +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
            DESKTOP-M4INQND-7357f01027 juin 2021, 22:23:2727 juin 2021, 22:23:27

            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 9effb4f..555d233 100644 --- a/target/site/jacoco/jacoco.csv +++ b/target/site/jacoco/jacoco.csv @@ -2,12 +2,13 @@ GROUP,PACKAGE,CLASS,INSTRUCTION_MISSED,INSTRUCTION_COVERED,BRANCH_MISSED,BRANCH_ spoteezer,musichub.util,PathValidation,0,39,0,4,0,10,0,4,0,2 spoteezer,musichub.util,LogHandler,0,46,0,0,0,11,0,3,0,3 spoteezer,musichub.util,XMLHandler,6,66,0,0,4,21,0,4,0,4 +spoteezer,musichub.util,Policy,53,0,5,0,20,0,6,0,3,0 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,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,MusicHub,874,0,124,0,209,0,85,0,23,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 @@ -17,4 +18,4 @@ 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 spoteezer,musichub.business,AudioElement,85,181,9,2,30,42,11,5,4,5 -spoteezer,musichub.main,Main,605,0,41,0,206,0,30,0,3,0 +spoteezer,musichub.main,Main,625,0,42,0,215,0,31,0,3,0 diff --git a/target/site/jacoco/jacoco.xml b/target/site/jacoco/jacoco.xml index 2e1332b..e10770f 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/MusicHub.java.html b/target/site/jacoco/musichub.business/MusicHub.java.html index d150675..ec5e661 100644 --- a/target/site/jacoco/musichub.business/MusicHub.java.html +++ b/target/site/jacoco/musichub.business/MusicHub.java.html @@ -340,25 +340,25 @@ 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); + public void searchAudioElement() throws UnsupportedAudioFileException, NoAlbumFoundException, LineUnavailableException, IOException, NoElementFoundException { + 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.isEmpty()){ + throw new NoElementFoundException("Any result for your search"); } - if (searchResult.size()==1){ - this.getAudioElement(searchResult, searchResult.get(0).getTitle()); + 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 359d516..f7cd669 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 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 +musichub.business

            musichub.business

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
            Total1 483 of 2 13430 %160 of 17910 %1401783735135182815
            MusicHub8740 %1240 %8585209209232311
            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 21f0bb6..15d2893 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 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 +musichub.business

            musichub.business

            ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
            Total1 483 of 2 13430 %160 of 17910 %1401783735135182815
            MusicHub.java9010 %1240 %9191215215292944
            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 bee2491..121cc55 100644 --- a/target/site/jacoco/musichub.main/Main.java.html +++ b/target/site/jacoco/musichub.main/Main.java.html @@ -11,273 +11,283 @@ import java.util.List; import java.util.Scanner; import static musichub.util.PathValidation.isPathValid; +import static musichub.util.Policy.showTerm; -public class Main { +public class Main { public static void main(String[] args) throws UnsupportedAudioFileException, IOException, LineUnavailableException, NoAlbumFoundException { - - MusicHub theHub = new MusicHub(); - - System.out.println("Type h for available commands"); + showTerm(); - - Scanner scan = new Scanner(System.in); - String choice = scan.nextLine(); + MusicHub theHub = new MusicHub(); + + System.out.println("Type h for available commands"); + + + 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; + //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': + //search a music + try { + theHub.searchAudioElement(); + } + catch (NoElementFoundException e){ + System.err.println(e.getMessage()); + } + catch (java.io.FileNotFoundException e){ + System.err.println(e.getMessage()+" Please create a file with the extension .wav inside the song folder at root of the app"); + } + 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(); - } - - 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"); - } + } + 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"); + } } \ No newline at end of file diff --git a/target/spoteezer-0.1.0-shaded.jar b/target/spoteezer-0.1.0-shaded.jar index eb07fdf..4c8e6af 100644 Binary files a/target/spoteezer-0.1.0-shaded.jar 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 index eb07fdf..4c8e6af 100644 Binary files a/target/spoteezer-0.1.0.jar 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 index 8ce59e6..bb2ca30 100644 --- a/target/surefire-reports/TEST-musichub.business.CategoryTest.xml +++ b/target/surefire-reports/TEST-musichub.business.CategoryTest.xml @@ -1,5 +1,5 @@ - + @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + @@ -55,5 +55,5 @@ - + \ 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 c41bab0..5ebb15c 100644 --- a/target/surefire-reports/TEST-musichub.business.LanguageTest.xml +++ b/target/surefire-reports/TEST-musichub.business.LanguageTest.xml @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + diff --git a/target/surefire-reports/TEST-musichub.business.PlayListTest.xml b/target/surefire-reports/TEST-musichub.business.PlayListTest.xml index 3bf4556..dde9373 100644 --- a/target/surefire-reports/TEST-musichub.business.PlayListTest.xml +++ b/target/surefire-reports/TEST-musichub.business.PlayListTest.xml @@ -1,5 +1,5 @@ - + @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + @@ -55,9 +55,9 @@ - + - + \ 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 index 83aee37..2bfbc93 100644 --- a/target/surefire-reports/TEST-musichub.business.SongTest.xml +++ b/target/surefire-reports/TEST-musichub.business.SongTest.xml @@ -1,5 +1,5 @@ - + @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + @@ -55,10 +55,10 @@ - - + + - - + + \ 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 index 754079a..b5707c9 100644 --- a/target/surefire-reports/TEST-musichub.util.LogHandlerTest.xml +++ b/target/surefire-reports/TEST-musichub.util.LogHandlerTest.xml @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + @@ -56,6 +56,6 @@ - - + + \ 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 index 8f4f524..10ec3d9 100644 --- a/target/surefire-reports/TEST-musichub.util.PathValidationTest.xml +++ b/target/surefire-reports/TEST-musichub.util.PathValidationTest.xml @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + diff --git a/target/surefire-reports/TEST-musichub.util.XMLHandlerTest.xml b/target/surefire-reports/TEST-musichub.util.XMLHandlerTest.xml index 72a1c5b..3022713 100644 --- a/target/surefire-reports/TEST-musichub.util.XMLHandlerTest.xml +++ b/target/surefire-reports/TEST-musichub.util.XMLHandlerTest.xml @@ -1,5 +1,5 @@ - + @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + @@ -55,6 +55,6 @@ - + \ No newline at end of file diff --git a/target/surefire-reports/musichub.business.CategoryTest.txt b/target/surefire-reports/musichub.business.CategoryTest.txt index b3656ab..3854e92 100644 --- a/target/surefire-reports/musichub.business.CategoryTest.txt +++ b/target/surefire-reports/musichub.business.CategoryTest.txt @@ -1,4 +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 +Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 s - in musichub.business.CategoryTest diff --git a/target/surefire-reports/musichub.business.PlayListTest.txt b/target/surefire-reports/musichub.business.PlayListTest.txt index 7109820..c738c60 100644 --- a/target/surefire-reports/musichub.business.PlayListTest.txt +++ b/target/surefire-reports/musichub.business.PlayListTest.txt @@ -1,4 +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 +Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 s - in musichub.business.PlayListTest diff --git a/target/surefire-reports/musichub.business.SongTest.txt b/target/surefire-reports/musichub.business.SongTest.txt index 1b93b96..4e87759 100644 --- a/target/surefire-reports/musichub.business.SongTest.txt +++ b/target/surefire-reports/musichub.business.SongTest.txt @@ -1,4 +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 +Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 s - in musichub.business.SongTest diff --git a/target/surefire-reports/musichub.util.XMLHandlerTest.txt b/target/surefire-reports/musichub.util.XMLHandlerTest.txt index 71a2254..8938cdc 100644 --- a/target/surefire-reports/musichub.util.XMLHandlerTest.txt +++ b/target/surefire-reports/musichub.util.XMLHandlerTest.txt @@ -1,4 +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 +Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.119 s - in musichub.util.XMLHandlerTest -- cgit v1.2.3 From 49196ae84aea338dbc6cd10f4d135e4b717cdd1f Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Mon, 28 Jun 2021 23:38:36 +0200 Subject: Latest package, javadoc and jacoco --- log/spoteezer.log | 6 +- src/main/java/musichub/util/Policy.java | 50 +-- .../classes/musichub/business/AudioElement.class | Bin 5422 -> 5594 bytes target/classes/musichub/business/MusicHub.class | Bin 13297 -> 13299 bytes .../classes/musichub/business/SortByAuthor.class | Bin 901 -> 901 bytes target/classes/musichub/business/SortByDate.class | Bin 854 -> 854 bytes target/classes/musichub/business/SortByGenre.class | Bin 858 -> 858 bytes target/classes/musichub/main/Main.class | Bin 11373 -> 12193 bytes target/classes/musichub/util/Policy.class | Bin 10860 -> 2690 bytes target/jacoco.exec | Bin 45918 -> 107422 bytes target/maven-javadoc-plugin-stale-data.txt | 39 +- target/original-spoteezer-0.1.0.jar | Bin 39074 -> 36814 bytes target/site/apidocs/allclasses-index.html | 14 +- target/site/apidocs/allpackages-index.html | 4 +- target/site/apidocs/help-doc.html | 4 +- target/site/apidocs/index-all.html | 26 +- target/site/apidocs/index.html | 4 +- target/site/apidocs/member-search-index.js | 2 +- target/site/apidocs/musichub/business/Album.html | 4 +- .../site/apidocs/musichub/business/AudioBook.html | 4 +- .../apidocs/musichub/business/AudioElement.html | 4 +- .../site/apidocs/musichub/business/Category.html | 4 +- target/site/apidocs/musichub/business/Genre.html | 4 +- .../site/apidocs/musichub/business/Language.html | 4 +- .../site/apidocs/musichub/business/MusicHub.html | 63 ++- .../musichub/business/NoAlbumFoundException.html | 4 +- .../musichub/business/NoElementFoundException.html | 4 +- .../business/NoPlayListFoundException.html | 4 +- .../site/apidocs/musichub/business/PlayList.html | 4 +- target/site/apidocs/musichub/business/Song.html | 4 +- .../apidocs/musichub/business/class-use/Album.html | 4 +- .../musichub/business/class-use/AudioBook.html | 4 +- .../musichub/business/class-use/AudioElement.html | 9 +- .../musichub/business/class-use/Category.html | 4 +- .../apidocs/musichub/business/class-use/Genre.html | 4 +- .../musichub/business/class-use/Language.html | 4 +- .../musichub/business/class-use/MusicHub.html | 4 +- .../business/class-use/NoAlbumFoundException.html | 23 +- .../class-use/NoElementFoundException.html | 7 +- .../class-use/NoPlayListFoundException.html | 9 +- .../musichub/business/class-use/PlayList.html | 4 +- .../apidocs/musichub/business/class-use/Song.html | 4 +- .../apidocs/musichub/business/package-summary.html | 4 +- .../apidocs/musichub/business/package-tree.html | 4 +- .../apidocs/musichub/business/package-use.html | 17 +- target/site/apidocs/musichub/main/Main.html | 8 +- .../site/apidocs/musichub/main/class-use/Main.html | 4 +- .../apidocs/musichub/main/package-summary.html | 4 +- .../site/apidocs/musichub/main/package-tree.html | 4 +- target/site/apidocs/musichub/main/package-use.html | 4 +- target/site/apidocs/musichub/util/LogHandler.html | 4 +- .../site/apidocs/musichub/util/PathValidation.html | 4 +- target/site/apidocs/musichub/util/Policy.html | 183 ++++++++ target/site/apidocs/musichub/util/XMLHandler.html | 4 +- .../musichub/util/class-use/LogHandler.html | 4 +- .../musichub/util/class-use/PathValidation.html | 4 +- .../apidocs/musichub/util/class-use/Policy.html | 65 +++ .../musichub/util/class-use/XMLHandler.html | 4 +- .../apidocs/musichub/util/package-summary.html | 12 +- .../site/apidocs/musichub/util/package-tree.html | 5 +- target/site/apidocs/musichub/util/package-use.html | 4 +- target/site/apidocs/overview-summary.html | 4 +- target/site/apidocs/overview-tree.html | 5 +- target/site/apidocs/serialized-form.html | 4 +- target/site/apidocs/type-search-index.js | 2 +- target/site/jacoco/index.html | 2 +- target/site/jacoco/jacoco-sessions.html | 2 +- target/site/jacoco/jacoco.csv | 8 +- target/site/jacoco/jacoco.xml | 2 +- .../jacoco/musichub.business/AudioElement.html | 2 +- .../musichub.business/AudioElement.java.html | 162 +++---- target/site/jacoco/musichub.business/MusicHub.html | 2 +- .../jacoco/musichub.business/MusicHub.java.html | 482 +++++++++++---------- .../jacoco/musichub.business/SortByAuthor.html | 2 +- .../site/jacoco/musichub.business/SortByDate.html | 2 +- .../site/jacoco/musichub.business/SortByGenre.html | 2 +- target/site/jacoco/musichub.business/index.html | 2 +- .../jacoco/musichub.business/index.source.html | 2 +- target/site/jacoco/musichub.main/Main.html | 2 +- target/site/jacoco/musichub.main/Main.java.html | 429 +++++++++--------- target/site/jacoco/musichub.main/index.html | 2 +- target/site/jacoco/musichub.main/index.source.html | 2 +- target/site/jacoco/musichub.util/Policy.html | 2 +- target/site/jacoco/musichub.util/Policy.java.html | 143 ++---- target/site/jacoco/musichub.util/index.html | 2 +- target/site/jacoco/musichub.util/index.source.html | 2 +- target/spoteezer-0.1.0-shaded.jar | Bin 374992 -> 372732 bytes target/spoteezer-0.1.0.jar | Bin 374992 -> 372732 bytes .../TEST-musichub.business.CategoryTest.xml | 4 +- .../TEST-musichub.business.LanguageTest.xml | 4 +- .../TEST-musichub.business.PlayListTest.xml | 8 +- .../TEST-musichub.business.SongTest.xml | 10 +- .../TEST-musichub.util.LogHandlerTest.xml | 12 +- .../TEST-musichub.util.PathValidationTest.xml | 6 +- .../TEST-musichub.util.XMLHandlerTest.xml | 8 +- .../musichub.business.PlayListTest.txt | 2 +- .../musichub.business.SongTest.txt | 2 +- .../musichub.util.LogHandlerTest.txt | 2 +- .../musichub.util.PathValidationTest.txt | 2 +- .../musichub.util.XMLHandlerTest.txt | 2 +- 100 files changed, 1192 insertions(+), 819 deletions(-) create mode 100644 target/site/apidocs/musichub/util/Policy.html create mode 100644 target/site/apidocs/musichub/util/class-use/Policy.html (limited to 'target/site/jacoco/index.html') diff --git a/log/spoteezer.log b/log/spoteezer.log index 7904af2..51a5d09 100644 --- a/log/spoteezer.log +++ b/log/spoteezer.log @@ -41,4 +41,8 @@ [2021-06-28 20:32:31.447] INFO: Music stopped [2021-06-28 20:32:32.647] INFO: Music stopped [2021-06-28 20:32:43.836] INFO: Music started -[2021-06-28 20:32:52.768] INFO: Music stopped \ No newline at end of file +[2021-06-28 20:32:52.768] INFO: Music stopped +[2021-06-28 23:30:48.508] TEST: JUnit test +[2021-06-28 23:31:59.503] TEST: JUnit test +[2021-06-28 23:36:26.824] TEST: JUnit test +[2021-06-28 23:36:31.897] TEST: JUnit test \ No newline at end of file diff --git a/src/main/java/musichub/util/Policy.java b/src/main/java/musichub/util/Policy.java index ac067b4..01c7d20 100644 --- a/src/main/java/musichub/util/Policy.java +++ b/src/main/java/musichub/util/Policy.java @@ -32,58 +32,10 @@ public final class Policy { String termsAndConditions = """ Terms and Conditions - In using this website you are deemed to have read and agreed to the following terms and conditions: - - The following terminology applies to these Terms and Conditions, Privacy Statement and Disclaimer Notice and any or all Agreements: "Client", “You” and “Your” refers to you, the person accessing this website and accepting the Company’s terms and conditions. "The Company", “Ourselves”, “We” and "Us", refers to our Company. “Party”, “Parties”, or “Us”, refers to both the Client and ourselves, or either the Client or ourselves. All terms refer to the offer, acceptance and consideration of payment necessary to undertake the process of our assistance to the Client in the most appropriate manner, whether by formal meetings of a fixed duration, or any other means, for the express purpose of meeting the Client’s needs in respect of provision of the Company’s stated services/products, in accordance with and subject to, prevailing English Law. Any use of the above terminology or other words in the singular, plural, capitalisation and/or he/she or they, are taken as interchangeable and therefore as referring to same. - Privacy Statement We are committed to protecting your privacy. Authorized employees within the company on a need to know basis only use any information collected from individual customers. We constantly review our systems and data to ensure the best possible service to our customers. Parliament has created specific offences for unauthorised actions against computer systems and data. We will investigate any such actions with a view to prosecuting and/or taking civil proceedings to recover damages against those responsible - - Confidentiality - We are registered under the Data Protection Act 1998 and as such, any information concerning the Client and their respective Client Records may be passed to third parties. However, Client records are regarded as confidential and therefore will not be divulged to any third party, other than if legally required to do so to the appropriate authorities. Clients have the right to request sight of, and copies of any and all Client Records we keep, on the proviso that we are given reasonable notice of such a request. Clients are requested to retain copies of any literature issued in relation to the provision of our services. Where appropriate, we shall issue Client’s with appropriate written information, handouts or copies of records as part of an agreed contract, for the benefit of both parties. - - We will not sell, share, or rent your personal information to any third party or use your e-mail address for unsolicited mail. Any emails sent by this Company will only be in connection with the provision of agreed services and products. - - - Disclaimer - Exclusions and Limitations\s - The information on this web site is provided on an "as is" basis. To the fullest extent permitted by law, this Company: - \uF0A7\texcludes all representations and warranties relating to this website and its contents or which is or may be provided by any affiliates or any other third party, including in relation to any inaccuracies or omissions in this website and/or the Company’s literature; and\s - \uF0A7\texcludes all liability for damages arising out of or in connection with your use of this website. This includes, without limitation, direct loss, loss of business or profits (whether or not the loss of such profits was foreseeable, arose in the normal course of things or you have advised this Company of the possibility of such potential loss), damage caused to your computer, computer software, systems and programs and the data thereon or any other direct or indirect, consequential and incidental damages.\s - This Company does not however exclude liability for death or personal injury caused by its negligence. The above exclusions and limitations apply only to the extent permitted by law. None of your statutory rights as a consumer are affected.\s - - - - Cancellation Policy - Minimum 24 hours’ notice of cancellation required. Notification for instance, in person, via email, mobile phone ‘text message’ and/or fax, or any other means will be accepted subject to confirmation in writing. We reserve the right to levy a £30 charge to cover any subsequent administrative expenses. - - Termination of Agreements and Refunds Policy - Both the Client and we have the right to terminate any Services Agreement for any reason, including the ending of services that are already underway. No refunds shall be offered, where a Service is deemed to have begun and is, for all intents and purposes, underway. Any monies that have been paid to us which constitute payment in respect of the provision of unused Services, shall be refunded. - - Availability\s - Unless otherwise stated, the services featured on this website are only available in France, or in relation to postings from France. All advertising is intended solely for the France market. You are solely responsible for evaluating the fitness for a particular purpose of any downloads, programs and text available through this site. Redistribution or republication of any part of this site or its content is prohibited, including such by framing or other similar or any other means, without the express written consent of the Company. The Company does not warrant that the service from this site will be uninterrupted, timely or error free, although it is provided to the best ability. By using this service you thereby indemnify this Company, its employees, agents and affiliates against any loss or damage, in whatever manner, howsoever caused. - - - Copyright Notice\s - Copyright and other relevant intellectual property rights exists on all text relating to the Company’s services and the full content of this application.\s - - Communication - We have several different e-mail addresses for different queries. These, & other contact information, can be found on our Contact Us link on our website or via Company literature or via the Company’s stated telephone, facsimile or mobile telephone numbers. - - Force Majeure - Neither party shall be liable to the other for any failure to perform any obligation under any Agreement which is due to an event beyond the control of such party including but not limited to any Act of God, terrorism, war, Political insurgence, insurrection, riot, civil unrest, act of civil or military authority, uprising, earthquake, flood or any other natural or manmade eventuality outside of our control, which causes the termination of an agreement or contract entered into, nor which could have been reasonably foreseen. Any Party affected by such event shall forthwith inform the other Party of the same and shall use all reasonable endeavours to comply with the terms and conditions of any Agreement contained herein. - - Waiver - Failure of either Party to insist upon strict performance of any provision of this or any Agreement or the failure of either Party to exercise any right or remedy to which it, he or they are entitled hereunder shall not constitute a waiver thereof and shall not cause a diminution of the obligations under this or any Agreement. No waiver of any of the provisions of this or any Agreement shall be effective unless it is expressly stated to be such and signed by both Parties. - - General - The laws of France govern these terms and conditions. By accessing this application, you consent to these terms and conditions and to the exclusive jurisdiction of the English courts in all disputes arising out of such access. If any of these terms are deemed invalid or unenforceable for any reason (including, but not limited to the exclusions and limitations set out above), then the invalid or unenforceable provision will be severed from these terms and the remaining terms will continue to apply. Failure of the Company to enforce any of the provisions set out in these Terms and Conditions and any Agreement, or failure to exercise any option to terminate, shall not be construed as waiver of such provisions and shall not affect the validity of these Terms and Conditions or of any Agreement or any part thereof, or the right thereafter to enforce each and every provision. These Terms and Conditions shall not be amended, modified, varied or supplemented except in writing and signed by duly authorised representatives of the Company. - - Notification of Changes - The Company reserves the right to change these conditions from time to time as it sees fit and your continued use of the site will signify your acceptance of any adjustment to these terms. If there are any changes to our privacy policy, we will announce that these changes have been made on our home page and on other key pages on our site. If there are any changes in how we use our site customers’ Personally Identifiable Information, notification by e-mail or postal mail will be made to those affected by this change. Any changes to our privacy policy will be posted on our web site 30 days prior to these changes taking place. You are therefore advised to re-read this statement on a regular basis - - These terms and conditions form part of the Agreement between the Client and ourselves. Your accessing of this website and/or undertaking of a booking or Agreement indicates your understanding, agreement to and acceptance, of the Disclaimer Notice and the full Terms and Conditions contained herein. Your statutory Consumer Rights are unaffected. \s + These terms and conditions form part of the Agreement between the Client and ourselves. Your accessing of this website and/or undertaking of a booking or Agreement indicates your understanding, agreement to and acceptance, of the Disclaimer Notice and the full Terms and Conditions contained herein. Your statutory Consumer Rights are unaffected. s © Company Name 2021 All Rights Reserved """; diff --git a/target/classes/musichub/business/AudioElement.class b/target/classes/musichub/business/AudioElement.class index bb0f170..f46a913 100644 Binary files a/target/classes/musichub/business/AudioElement.class and b/target/classes/musichub/business/AudioElement.class differ diff --git a/target/classes/musichub/business/MusicHub.class b/target/classes/musichub/business/MusicHub.class index 42d7480..f3ea4cc 100644 Binary files a/target/classes/musichub/business/MusicHub.class and b/target/classes/musichub/business/MusicHub.class differ diff --git a/target/classes/musichub/business/SortByAuthor.class b/target/classes/musichub/business/SortByAuthor.class index e366c32..ac4474a 100644 Binary files a/target/classes/musichub/business/SortByAuthor.class and b/target/classes/musichub/business/SortByAuthor.class differ diff --git a/target/classes/musichub/business/SortByDate.class b/target/classes/musichub/business/SortByDate.class index 9d330cb..6892059 100644 Binary files a/target/classes/musichub/business/SortByDate.class and b/target/classes/musichub/business/SortByDate.class differ diff --git a/target/classes/musichub/business/SortByGenre.class b/target/classes/musichub/business/SortByGenre.class index 512232f..7cabb3e 100644 Binary files a/target/classes/musichub/business/SortByGenre.class and b/target/classes/musichub/business/SortByGenre.class differ diff --git a/target/classes/musichub/main/Main.class b/target/classes/musichub/main/Main.class index d1f8ea2..03d8fc5 100644 Binary files a/target/classes/musichub/main/Main.class and b/target/classes/musichub/main/Main.class differ diff --git a/target/classes/musichub/util/Policy.class b/target/classes/musichub/util/Policy.class index 4bf6b23..a8c66c4 100644 Binary files a/target/classes/musichub/util/Policy.class and b/target/classes/musichub/util/Policy.class differ diff --git a/target/jacoco.exec b/target/jacoco.exec index c71133e..34e3b31 100644 Binary files a/target/jacoco.exec and b/target/jacoco.exec differ diff --git a/target/maven-javadoc-plugin-stale-data.txt b/target/maven-javadoc-plugin-stale-data.txt index 7723699..54d0d1a 100644 --- a/target/maven-javadoc-plugin-stale-data.txt +++ b/target/maven-javadoc-plugin-stale-data.txt @@ -39,28 +39,29 @@ '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/Policy.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 +C:\Users\SoftA\Documents\spoteezer\src\main\java = 1624912572607 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\allclasses-index.html = 1624916173953 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\allpackages-index.html = 1624916173955 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\element-list = 1624916173845 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\help-doc.html = 1624916173978 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\index-all.html = 1624916173975 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\index.html = 1624916173935 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\jquery-ui.overrides.css = 1624916173996 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\member-search-index.js = 1624916173958 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\module-search-index.js = 1624916173956 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\overview-summary.html = 1624916173975 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\overview-tree.html = 1624916173932 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\package-search-index.js = 1624916173957 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\script.js = 1624916173981 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\search.js = 1624916173983 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\serialized-form.html = 1624916173866 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\stylesheet.css = 1624916173979 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\tag-search-index.js = 1624916173959 +C:\Users\SoftA\Documents\spoteezer\target\site\apidocs\type-search-index.js = 1624916173957 \ No newline at end of file diff --git a/target/original-spoteezer-0.1.0.jar b/target/original-spoteezer-0.1.0.jar index dee388f..96eb4fb 100644 Binary files a/target/original-spoteezer-0.1.0.jar and b/target/original-spoteezer-0.1.0.jar differ diff --git a/target/site/apidocs/allclasses-index.html b/target/site/apidocs/allclasses-index.html index f526bdf..46cc044 100644 --- a/target/site/apidocs/allclasses-index.html +++ b/target/site/apidocs/allclasses-index.html @@ -2,11 +2,11 @@ - + All Classes (spoteezer 0.1.0 API) - + @@ -96,10 +96,14 @@ loadScripts(document, 'script');
             
            - -
             
            - + +
            +
            Class offering methods to prompt a policy agreement form to the user.
            +
            +
             
            + +
             
        diff --git a/target/site/apidocs/allpackages-index.html b/target/site/apidocs/allpackages-index.html index 76d905a..e7eec7c 100644 --- a/target/site/apidocs/allpackages-index.html +++ b/target/site/apidocs/allpackages-index.html @@ -2,11 +2,11 @@ - + All Packages (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/help-doc.html b/target/site/apidocs/help-doc.html index 98c4397..a2dc5e0 100644 --- a/target/site/apidocs/help-doc.html +++ b/target/site/apidocs/help-doc.html @@ -2,11 +2,11 @@ - + API Help (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/index-all.html b/target/site/apidocs/index-all.html index bb29e83..4154466 100644 --- a/target/site/apidocs/index-all.html +++ b/target/site/apidocs/index-all.html @@ -2,11 +2,11 @@ - + Index (spoteezer 0.1.0 API) - + @@ -182,6 +182,14 @@ loadScripts(document, 'script');
         
        getLanguage() - Method in enum class musichub.business.Language
         
        +
        getPlayListSongs(String) - Method in class musichub.business.MusicHub
        +
        +
        Method checking the songs contained in a chosen playlist and returning them if found.
        +
        +
        getPlayListsTitles() - Method in class musichub.business.MusicHub
        +
        +
        Method getting a list of playlists
        +
        getSongs() - Method in class musichub.business.Album
         
        getSongsRandomly() - Method in class musichub.business.Album
        @@ -291,6 +299,14 @@ loadScripts(document, 'script');
         
        PLAYLISTS_FILE_PATH - Static variable in class musichub.business.MusicHub
         
        +
        Policy - Class in musichub.util
        +
        +
        Class offering methods to prompt a policy agreement form to the user.
        +
        +
        Policy() - Constructor for class musichub.util.Policy
        +
        +
        Method that just throws an AssertionError if the class is called
        +
        POP - Enum constant in enum class musichub.business.Genre
         
  • @@ -313,12 +329,18 @@ loadScripts(document, 'script');
     
    savePlayLists() - Method in class musichub.business.MusicHub
     
    +
    searchAudioElement() - Method in class musichub.business.MusicHub
    +
     
    setCategory(String) - Method in class musichub.business.AudioBook
     
    setGenre(String) - Method in class musichub.business.Song
     
    setLanguage(String) - Method in class musichub.business.AudioBook
     
    +
    showTerm() - Static method in class musichub.util.Policy
    +
    +
    Method prompting the whole policy agreement process
    +
    Song - Class in musichub.business
     
    Song(String, String, int, String, String) - Constructor for class musichub.business.Song
    diff --git a/target/site/apidocs/index.html b/target/site/apidocs/index.html index e4f188e..4b86103 100644 --- a/target/site/apidocs/index.html +++ b/target/site/apidocs/index.html @@ -2,11 +2,11 @@ - + Overview (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/member-search-index.js b/target/site/apidocs/member-search-index.js index f583be9..3f8b8cd 100644 --- a/target/site/apidocs/member-search-index.js +++ b/target/site/apidocs/member-search-index.js @@ -1 +1 @@ -memberSearchIndex = [{"p":"musichub.business","c":"MusicHub","l":"addAlbum(Album)","u":"addAlbum(musichub.business.Album)"},{"p":"musichub.business","c":"MusicHub","l":"addElement(AudioElement)","u":"addElement(musichub.business.AudioElement)"},{"p":"musichub.business","c":"PlayList","l":"addElement(UUID)","u":"addElement(java.util.UUID)"},{"p":"musichub.business","c":"MusicHub","l":"addElementToAlbum(String, String)","u":"addElementToAlbum(java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"addElementToPlayList(String, String)","u":"addElementToPlayList(java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"addPlaylist(PlayList)","u":"addPlaylist(musichub.business.PlayList)"},{"p":"musichub.business","c":"Album","l":"addSong(UUID)","u":"addSong(java.util.UUID)"},{"p":"musichub.business","c":"Album","l":"Album(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"Album","l":"Album(String, String, int, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String)"},{"p":"musichub.business","c":"Album","l":"Album(String, String, int, String, String, ArrayList)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String,java.util.ArrayList)"},{"p":"musichub.business","c":"MusicHub","l":"ALBUMS_FILE_PATH"},{"p":"musichub.business","c":"MusicHub","l":"albums()"},{"p":"musichub.business","c":"AudioElement","l":"artist"},{"p":"musichub.business","c":"AudioBook","l":"AudioBook(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"AudioBook","l":"AudioBook(String, String, int, String, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"AudioBook","l":"AudioBook(String, String, int, String, String, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"AudioElement","l":"AudioElement(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"AudioElement","l":"AudioElement(String, String, int, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String)"},{"p":"musichub.business","c":"AudioElement","l":"AudioElement(String, String, int, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"Genre","l":"CLASSIC"},{"p":"musichub.business","c":"AudioElement","l":"content"},{"p":"musichub.util","c":"XMLHandler","l":"createXMLDocument()"},{"p":"musichub.business","c":"Album","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.business","c":"AudioBook","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.business","c":"AudioElement","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.business","c":"PlayList","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.business","c":"Song","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.util","c":"XMLHandler","l":"createXMLFile(Document, String)","u":"createXMLFile(org.w3c.dom.Document,java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"deletePlayList(String)","u":"deletePlayList(java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"DIR"},{"p":"musichub.business","c":"Category","l":"DOCUMENTARY"},{"p":"musichub.business","c":"MusicHub","l":"ELEMENTS_FILE_PATH"},{"p":"musichub.business","c":"MusicHub","l":"elements()"},{"p":"musichub.business","c":"Language","l":"ENGLISH"},{"p":"musichub.business","c":"Language","l":"FRENCH"},{"p":"musichub.business","c":"Language","l":"GERMAN"},{"p":"musichub.business","c":"MusicHub","l":"getAlbumSongs(String)","u":"getAlbumSongs(java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"getAlbumSongsSortedByGenre(String)","u":"getAlbumSongsSortedByGenre(java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"getAlbumsTitlesSortedByDate()"},{"p":"musichub.business","c":"AudioElement","l":"getArtist()"},{"p":"musichub.business","c":"MusicHub","l":"getAudiobooksTitlesSortedByAuthor()"},{"p":"musichub.business","c":"MusicHub","l":"getAudioElement(List, String)","u":"getAudioElement(java.util.List,java.lang.String)"},{"p":"musichub.business","c":"AudioBook","l":"getCategory()"},{"p":"musichub.business","c":"Category","l":"getCategory()"},{"p":"musichub.business","c":"Album","l":"getDate()"},{"p":"musichub.business","c":"PlayList","l":"getElements()"},{"p":"musichub.business","c":"Genre","l":"getGenre()"},{"p":"musichub.business","c":"Song","l":"getGenre()"},{"p":"musichub.business","c":"AudioBook","l":"getLanguage()"},{"p":"musichub.business","c":"Language","l":"getLanguage()"},{"p":"musichub.business","c":"Album","l":"getSongs()"},{"p":"musichub.business","c":"Album","l":"getSongsRandomly()"},{"p":"musichub.business","c":"Album","l":"getTitle()"},{"p":"musichub.business","c":"AudioElement","l":"getTitle()"},{"p":"musichub.business","c":"PlayList","l":"getTitle()"},{"p":"musichub.business","c":"AudioElement","l":"getUUID()"},{"p":"musichub.business","c":"Genre","l":"HIPHOP"},{"p":"musichub.util","c":"PathValidation","l":"isPathValid(String)","u":"isPathValid(java.lang.String)"},{"p":"musichub.business","c":"Language","l":"ITALIAN"},{"p":"musichub.business","c":"Genre","l":"JAZZ"},{"p":"musichub.business","c":"AudioElement","l":"lengthInSeconds"},{"p":"musichub.util","c":"LogHandler","l":"LogHandler()","u":"%3Cinit%3E()"},{"p":"musichub.main","c":"Main","l":"Main()","u":"%3Cinit%3E()"},{"p":"musichub.main","c":"Main","l":"main(String[])","u":"main(java.lang.String[])"},{"p":"musichub.business","c":"AudioElement","l":"manageAudioElement()"},{"p":"musichub.business","c":"MusicHub","l":"MusicHub()","u":"%3Cinit%3E()"},{"p":"musichub.business","c":"NoAlbumFoundException","l":"NoAlbumFoundException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"musichub.business","c":"NoElementFoundException","l":"NoElementFoundException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"musichub.business","c":"NoPlayListFoundException","l":"NoPlayListFoundException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"musichub.business","c":"Category","l":"NOVEL"},{"p":"musichub.util","c":"XMLHandler","l":"parseXMLFile(String)","u":"parseXMLFile(java.lang.String)"},{"p":"musichub.util","c":"PathValidation","l":"PathValidation()","u":"%3Cinit%3E()"},{"p":"musichub.business","c":"PlayList","l":"PlayList(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"PlayList","l":"PlayList(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"musichub.business","c":"PlayList","l":"PlayList(String, String, ArrayList)","u":"%3Cinit%3E(java.lang.String,java.lang.String,java.util.ArrayList)"},{"p":"musichub.business","c":"MusicHub","l":"PLAYLISTS_FILE_PATH"},{"p":"musichub.business","c":"MusicHub","l":"playlists()"},{"p":"musichub.business","c":"Genre","l":"POP"},{"p":"musichub.business","c":"Genre","l":"RAP"},{"p":"musichub.util","c":"LogHandler","l":"read()"},{"p":"musichub.business","c":"Genre","l":"ROCK"},{"p":"musichub.business","c":"MusicHub","l":"saveAlbums()"},{"p":"musichub.business","c":"MusicHub","l":"saveElements()"},{"p":"musichub.business","c":"MusicHub","l":"savePlayLists()"},{"p":"musichub.business","c":"AudioBook","l":"setCategory(String)","u":"setCategory(java.lang.String)"},{"p":"musichub.business","c":"Song","l":"setGenre(String)","u":"setGenre(java.lang.String)"},{"p":"musichub.business","c":"AudioBook","l":"setLanguage(String)","u":"setLanguage(java.lang.String)"},{"p":"musichub.business","c":"Song","l":"Song(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"Song","l":"Song(String, String, int, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"Song","l":"Song(String, String, int, String, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"Language","l":"SPANISH"},{"p":"musichub.business","c":"Category","l":"SPEECH"},{"p":"musichub.business","c":"Category","l":"THEATER"},{"p":"musichub.business","c":"AudioElement","l":"title"},{"p":"musichub.business","c":"AudioBook","l":"toString()"},{"p":"musichub.business","c":"AudioElement","l":"toString()"},{"p":"musichub.business","c":"Song","l":"toString()"},{"p":"musichub.business","c":"AudioElement","l":"uuid"},{"p":"musichub.business","c":"Category","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"musichub.business","c":"Genre","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"musichub.business","c":"Language","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"musichub.business","c":"Category","l":"values()"},{"p":"musichub.business","c":"Genre","l":"values()"},{"p":"musichub.business","c":"Language","l":"values()"},{"p":"musichub.util","c":"LogHandler","l":"write(String, String)","u":"write(java.lang.String,java.lang.String)"},{"p":"musichub.util","c":"XMLHandler","l":"XMLHandler()","u":"%3Cinit%3E()"},{"p":"musichub.business","c":"Category","l":"YOUTH"}];updateSearchResults(); \ No newline at end of file +memberSearchIndex = [{"p":"musichub.business","c":"MusicHub","l":"addAlbum(Album)","u":"addAlbum(musichub.business.Album)"},{"p":"musichub.business","c":"MusicHub","l":"addElement(AudioElement)","u":"addElement(musichub.business.AudioElement)"},{"p":"musichub.business","c":"PlayList","l":"addElement(UUID)","u":"addElement(java.util.UUID)"},{"p":"musichub.business","c":"MusicHub","l":"addElementToAlbum(String, String)","u":"addElementToAlbum(java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"addElementToPlayList(String, String)","u":"addElementToPlayList(java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"addPlaylist(PlayList)","u":"addPlaylist(musichub.business.PlayList)"},{"p":"musichub.business","c":"Album","l":"addSong(UUID)","u":"addSong(java.util.UUID)"},{"p":"musichub.business","c":"Album","l":"Album(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"Album","l":"Album(String, String, int, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String)"},{"p":"musichub.business","c":"Album","l":"Album(String, String, int, String, String, ArrayList)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String,java.util.ArrayList)"},{"p":"musichub.business","c":"MusicHub","l":"ALBUMS_FILE_PATH"},{"p":"musichub.business","c":"MusicHub","l":"albums()"},{"p":"musichub.business","c":"AudioElement","l":"artist"},{"p":"musichub.business","c":"AudioBook","l":"AudioBook(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"AudioBook","l":"AudioBook(String, String, int, String, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"AudioBook","l":"AudioBook(String, String, int, String, String, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"AudioElement","l":"AudioElement(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"AudioElement","l":"AudioElement(String, String, int, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String)"},{"p":"musichub.business","c":"AudioElement","l":"AudioElement(String, String, int, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"Genre","l":"CLASSIC"},{"p":"musichub.business","c":"AudioElement","l":"content"},{"p":"musichub.util","c":"XMLHandler","l":"createXMLDocument()"},{"p":"musichub.business","c":"Album","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.business","c":"AudioBook","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.business","c":"AudioElement","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.business","c":"PlayList","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.business","c":"Song","l":"createXMLElement(Document, Element)","u":"createXMLElement(org.w3c.dom.Document,org.w3c.dom.Element)"},{"p":"musichub.util","c":"XMLHandler","l":"createXMLFile(Document, String)","u":"createXMLFile(org.w3c.dom.Document,java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"deletePlayList(String)","u":"deletePlayList(java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"DIR"},{"p":"musichub.business","c":"Category","l":"DOCUMENTARY"},{"p":"musichub.business","c":"MusicHub","l":"ELEMENTS_FILE_PATH"},{"p":"musichub.business","c":"MusicHub","l":"elements()"},{"p":"musichub.business","c":"Language","l":"ENGLISH"},{"p":"musichub.business","c":"Language","l":"FRENCH"},{"p":"musichub.business","c":"Language","l":"GERMAN"},{"p":"musichub.business","c":"MusicHub","l":"getAlbumSongs(String)","u":"getAlbumSongs(java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"getAlbumSongsSortedByGenre(String)","u":"getAlbumSongsSortedByGenre(java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"getAlbumsTitlesSortedByDate()"},{"p":"musichub.business","c":"AudioElement","l":"getArtist()"},{"p":"musichub.business","c":"MusicHub","l":"getAudiobooksTitlesSortedByAuthor()"},{"p":"musichub.business","c":"MusicHub","l":"getAudioElement(List, String)","u":"getAudioElement(java.util.List,java.lang.String)"},{"p":"musichub.business","c":"AudioBook","l":"getCategory()"},{"p":"musichub.business","c":"Category","l":"getCategory()"},{"p":"musichub.business","c":"Album","l":"getDate()"},{"p":"musichub.business","c":"PlayList","l":"getElements()"},{"p":"musichub.business","c":"Genre","l":"getGenre()"},{"p":"musichub.business","c":"Song","l":"getGenre()"},{"p":"musichub.business","c":"AudioBook","l":"getLanguage()"},{"p":"musichub.business","c":"Language","l":"getLanguage()"},{"p":"musichub.business","c":"MusicHub","l":"getPlayListSongs(String)","u":"getPlayListSongs(java.lang.String)"},{"p":"musichub.business","c":"MusicHub","l":"getPlayListsTitles()"},{"p":"musichub.business","c":"Album","l":"getSongs()"},{"p":"musichub.business","c":"Album","l":"getSongsRandomly()"},{"p":"musichub.business","c":"Album","l":"getTitle()"},{"p":"musichub.business","c":"AudioElement","l":"getTitle()"},{"p":"musichub.business","c":"PlayList","l":"getTitle()"},{"p":"musichub.business","c":"AudioElement","l":"getUUID()"},{"p":"musichub.business","c":"Genre","l":"HIPHOP"},{"p":"musichub.util","c":"PathValidation","l":"isPathValid(String)","u":"isPathValid(java.lang.String)"},{"p":"musichub.business","c":"Language","l":"ITALIAN"},{"p":"musichub.business","c":"Genre","l":"JAZZ"},{"p":"musichub.business","c":"AudioElement","l":"lengthInSeconds"},{"p":"musichub.util","c":"LogHandler","l":"LogHandler()","u":"%3Cinit%3E()"},{"p":"musichub.main","c":"Main","l":"Main()","u":"%3Cinit%3E()"},{"p":"musichub.main","c":"Main","l":"main(String[])","u":"main(java.lang.String[])"},{"p":"musichub.business","c":"AudioElement","l":"manageAudioElement()"},{"p":"musichub.business","c":"MusicHub","l":"MusicHub()","u":"%3Cinit%3E()"},{"p":"musichub.business","c":"NoAlbumFoundException","l":"NoAlbumFoundException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"musichub.business","c":"NoElementFoundException","l":"NoElementFoundException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"musichub.business","c":"NoPlayListFoundException","l":"NoPlayListFoundException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"musichub.business","c":"Category","l":"NOVEL"},{"p":"musichub.util","c":"XMLHandler","l":"parseXMLFile(String)","u":"parseXMLFile(java.lang.String)"},{"p":"musichub.util","c":"PathValidation","l":"PathValidation()","u":"%3Cinit%3E()"},{"p":"musichub.business","c":"PlayList","l":"PlayList(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"PlayList","l":"PlayList(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"musichub.business","c":"PlayList","l":"PlayList(String, String, ArrayList)","u":"%3Cinit%3E(java.lang.String,java.lang.String,java.util.ArrayList)"},{"p":"musichub.business","c":"MusicHub","l":"PLAYLISTS_FILE_PATH"},{"p":"musichub.business","c":"MusicHub","l":"playlists()"},{"p":"musichub.util","c":"Policy","l":"Policy()","u":"%3Cinit%3E()"},{"p":"musichub.business","c":"Genre","l":"POP"},{"p":"musichub.business","c":"Genre","l":"RAP"},{"p":"musichub.util","c":"LogHandler","l":"read()"},{"p":"musichub.business","c":"Genre","l":"ROCK"},{"p":"musichub.business","c":"MusicHub","l":"saveAlbums()"},{"p":"musichub.business","c":"MusicHub","l":"saveElements()"},{"p":"musichub.business","c":"MusicHub","l":"savePlayLists()"},{"p":"musichub.business","c":"MusicHub","l":"searchAudioElement()"},{"p":"musichub.business","c":"AudioBook","l":"setCategory(String)","u":"setCategory(java.lang.String)"},{"p":"musichub.business","c":"Song","l":"setGenre(String)","u":"setGenre(java.lang.String)"},{"p":"musichub.business","c":"AudioBook","l":"setLanguage(String)","u":"setLanguage(java.lang.String)"},{"p":"musichub.util","c":"Policy","l":"showTerm()"},{"p":"musichub.business","c":"Song","l":"Song(Element)","u":"%3Cinit%3E(org.w3c.dom.Element)"},{"p":"musichub.business","c":"Song","l":"Song(String, String, int, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"Song","l":"Song(String, String, int, String, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,int,java.lang.String,java.lang.String,java.lang.String)"},{"p":"musichub.business","c":"Language","l":"SPANISH"},{"p":"musichub.business","c":"Category","l":"SPEECH"},{"p":"musichub.business","c":"Category","l":"THEATER"},{"p":"musichub.business","c":"AudioElement","l":"title"},{"p":"musichub.business","c":"AudioBook","l":"toString()"},{"p":"musichub.business","c":"AudioElement","l":"toString()"},{"p":"musichub.business","c":"Song","l":"toString()"},{"p":"musichub.business","c":"AudioElement","l":"uuid"},{"p":"musichub.business","c":"Category","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"musichub.business","c":"Genre","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"musichub.business","c":"Language","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"musichub.business","c":"Category","l":"values()"},{"p":"musichub.business","c":"Genre","l":"values()"},{"p":"musichub.business","c":"Language","l":"values()"},{"p":"musichub.util","c":"LogHandler","l":"write(String, String)","u":"write(java.lang.String,java.lang.String)"},{"p":"musichub.util","c":"XMLHandler","l":"XMLHandler()","u":"%3Cinit%3E()"},{"p":"musichub.business","c":"Category","l":"YOUTH"}];updateSearchResults(); \ No newline at end of file diff --git a/target/site/apidocs/musichub/business/Album.html b/target/site/apidocs/musichub/business/Album.html index 1218e4a..05e3672 100644 --- a/target/site/apidocs/musichub/business/Album.html +++ b/target/site/apidocs/musichub/business/Album.html @@ -2,11 +2,11 @@ - + Album (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/business/AudioBook.html b/target/site/apidocs/musichub/business/AudioBook.html index 2947784..90aca57 100644 --- a/target/site/apidocs/musichub/business/AudioBook.html +++ b/target/site/apidocs/musichub/business/AudioBook.html @@ -2,11 +2,11 @@ - + AudioBook (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/business/AudioElement.html b/target/site/apidocs/musichub/business/AudioElement.html index 952130b..fc48e95 100644 --- a/target/site/apidocs/musichub/business/AudioElement.html +++ b/target/site/apidocs/musichub/business/AudioElement.html @@ -2,11 +2,11 @@ - + AudioElement (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/business/Category.html b/target/site/apidocs/musichub/business/Category.html index efdb113..81893ae 100644 --- a/target/site/apidocs/musichub/business/Category.html +++ b/target/site/apidocs/musichub/business/Category.html @@ -2,11 +2,11 @@ - + Category (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/business/Genre.html b/target/site/apidocs/musichub/business/Genre.html index fb61007..47e52f0 100644 --- a/target/site/apidocs/musichub/business/Genre.html +++ b/target/site/apidocs/musichub/business/Genre.html @@ -2,11 +2,11 @@ - + Genre (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/business/Language.html b/target/site/apidocs/musichub/business/Language.html index de6d02c..9bf8df2 100644 --- a/target/site/apidocs/musichub/business/Language.html +++ b/target/site/apidocs/musichub/business/Language.html @@ -2,11 +2,11 @@ - + Language (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/business/MusicHub.html b/target/site/apidocs/musichub/business/MusicHub.html index c9aa14b..b8a7d99 100644 --- a/target/site/apidocs/musichub/business/MusicHub.html +++ b/target/site/apidocs/musichub/business/MusicHub.html @@ -2,11 +2,11 @@ - + MusicHub (spoteezer 0.1.0 API) - + @@ -175,6 +175,16 @@ loadScripts(document, 'script');
    getAudioElement​(List<AudioElement> audios, String elementTitle)
     
    + +
    getPlayListSongs​(String playListTitle)
    +
    +
    Method checking the songs contained in a chosen playlist and returning them if found.
    +
    + + +
    +
    Method getting a list of playlists
    +
     
    @@ -187,6 +197,9 @@ loadScripts(document, 'script');
    void
     
    +
    void
    + +
     
    @@ -395,6 +408,52 @@ loadScripts(document, 'script'); +
  • +
    +

    searchAudioElement

    + +
    +
    Throws:
    +
    UnsupportedAudioFileException
    +
    NoAlbumFoundException
    +
    LineUnavailableException
    +
    IOException
    +
    NoElementFoundException
    +
    +
    +
  • +
  • +
    +

    getPlayListsTitles

    +
    public String getPlayListsTitles()
    +
    Method getting a list of playlists
    +
    +
    Returns:
    +
    a list of playlist titles
    +
    +
    +
  • +
  • +
    +

    getPlayListSongs

    +
    public List<AudioElement> getPlayListSongs(String playListTitle) + throws NoPlayListFoundException
    +
    Method checking the songs contained in a chosen playlist and returning them if found.
    +
    +
    Parameters:
    +
    playListTitle - the title of a (chosen) playlist
    +
    Returns:
    +
    a list of songs from a playlist
    +
    Throws:
    +
    NoPlayListFoundException - if the chosen playlist doesn't exist
    +
    +
    +
  • diff --git a/target/site/apidocs/musichub/business/NoAlbumFoundException.html b/target/site/apidocs/musichub/business/NoAlbumFoundException.html index 8cd2100..074411d 100644 --- a/target/site/apidocs/musichub/business/NoAlbumFoundException.html +++ b/target/site/apidocs/musichub/business/NoAlbumFoundException.html @@ -2,11 +2,11 @@ - + NoAlbumFoundException (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/business/NoElementFoundException.html b/target/site/apidocs/musichub/business/NoElementFoundException.html index 41fa7a8..59f09c8 100644 --- a/target/site/apidocs/musichub/business/NoElementFoundException.html +++ b/target/site/apidocs/musichub/business/NoElementFoundException.html @@ -2,11 +2,11 @@ - + NoElementFoundException (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/business/NoPlayListFoundException.html b/target/site/apidocs/musichub/business/NoPlayListFoundException.html index 65ad902..c5cadd8 100644 --- a/target/site/apidocs/musichub/business/NoPlayListFoundException.html +++ b/target/site/apidocs/musichub/business/NoPlayListFoundException.html @@ -2,11 +2,11 @@ - + NoPlayListFoundException (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/business/PlayList.html b/target/site/apidocs/musichub/business/PlayList.html index a0bd02b..e61a1f5 100644 --- a/target/site/apidocs/musichub/business/PlayList.html +++ b/target/site/apidocs/musichub/business/PlayList.html @@ -2,11 +2,11 @@ - + PlayList (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/business/Song.html b/target/site/apidocs/musichub/business/Song.html index 2550898..25364f2 100644 --- a/target/site/apidocs/musichub/business/Song.html +++ b/target/site/apidocs/musichub/business/Song.html @@ -2,11 +2,11 @@ - + Song (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/business/class-use/Album.html b/target/site/apidocs/musichub/business/class-use/Album.html index 846ce1e..04fb824 100644 --- a/target/site/apidocs/musichub/business/class-use/Album.html +++ b/target/site/apidocs/musichub/business/class-use/Album.html @@ -2,11 +2,11 @@ - + Uses of Class musichub.business.Album (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/business/class-use/AudioBook.html b/target/site/apidocs/musichub/business/class-use/AudioBook.html index ac2d207..4563de1 100644 --- a/target/site/apidocs/musichub/business/class-use/AudioBook.html +++ b/target/site/apidocs/musichub/business/class-use/AudioBook.html @@ -2,11 +2,11 @@ - + Uses of Class musichub.business.AudioBook (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/business/class-use/AudioElement.html b/target/site/apidocs/musichub/business/class-use/AudioElement.html index 6721959..a522d81 100644 --- a/target/site/apidocs/musichub/business/class-use/AudioElement.html +++ b/target/site/apidocs/musichub/business/class-use/AudioElement.html @@ -2,11 +2,11 @@ - + Uses of Class musichub.business.AudioElement (spoteezer 0.1.0 API) - + @@ -89,6 +89,11 @@ loadScripts(document, 'script');
    MusicHub.getAlbumSongs​(String albumTitle)
     
    + +
    MusicHub.getPlayListSongs​(String playListTitle)
    +
    +
    Method checking the songs contained in a chosen playlist and returning them if found.
    +
    Methods in musichub.business with parameters of type AudioElement
    diff --git a/target/site/apidocs/musichub/business/class-use/Category.html b/target/site/apidocs/musichub/business/class-use/Category.html index bf72525..a505a01 100644 --- a/target/site/apidocs/musichub/business/class-use/Category.html +++ b/target/site/apidocs/musichub/business/class-use/Category.html @@ -2,11 +2,11 @@ - + Uses of Enum Class musichub.business.Category (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/business/class-use/Genre.html b/target/site/apidocs/musichub/business/class-use/Genre.html index 45e4285..3b28e4b 100644 --- a/target/site/apidocs/musichub/business/class-use/Genre.html +++ b/target/site/apidocs/musichub/business/class-use/Genre.html @@ -2,11 +2,11 @@ - + Uses of Enum Class musichub.business.Genre (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/business/class-use/Language.html b/target/site/apidocs/musichub/business/class-use/Language.html index 2641403..8eef0cd 100644 --- a/target/site/apidocs/musichub/business/class-use/Language.html +++ b/target/site/apidocs/musichub/business/class-use/Language.html @@ -2,11 +2,11 @@ - + Uses of Enum Class musichub.business.Language (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/business/class-use/MusicHub.html b/target/site/apidocs/musichub/business/class-use/MusicHub.html index 6001814..66f825c 100644 --- a/target/site/apidocs/musichub/business/class-use/MusicHub.html +++ b/target/site/apidocs/musichub/business/class-use/MusicHub.html @@ -2,11 +2,11 @@ - + Uses of Class musichub.business.MusicHub (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/business/class-use/NoAlbumFoundException.html b/target/site/apidocs/musichub/business/class-use/NoAlbumFoundException.html index ec4794b..4afe620 100644 --- a/target/site/apidocs/musichub/business/class-use/NoAlbumFoundException.html +++ b/target/site/apidocs/musichub/business/class-use/NoAlbumFoundException.html @@ -2,11 +2,11 @@ - + Uses of Class musichub.business.NoAlbumFoundException (spoteezer 0.1.0 API) - + @@ -60,6 +60,8 @@ loadScripts(document, 'script');
    Description
     
    + +
     
    + +
  • +
    +

    Uses of NoAlbumFoundException in musichub.main

    +
    Methods in musichub.main that throw NoAlbumFoundException
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    static void
    +
    Main.main​(String[] args)
    +
     
  • diff --git a/target/site/apidocs/musichub/business/class-use/NoElementFoundException.html b/target/site/apidocs/musichub/business/class-use/NoElementFoundException.html index 438ea7e..5a15a6e 100644 --- a/target/site/apidocs/musichub/business/class-use/NoElementFoundException.html +++ b/target/site/apidocs/musichub/business/class-use/NoElementFoundException.html @@ -2,11 +2,11 @@ - + Uses of Class musichub.business.NoElementFoundException (spoteezer 0.1.0 API) - + @@ -79,6 +79,9 @@ loadScripts(document, 'script');
    MusicHub.addElementToPlayList​(String elementTitle, String playListTitle)
     
    +
    void
    + +
     
    diff --git a/target/site/apidocs/musichub/business/class-use/NoPlayListFoundException.html b/target/site/apidocs/musichub/business/class-use/NoPlayListFoundException.html index fc2e2e3..074b203 100644 --- a/target/site/apidocs/musichub/business/class-use/NoPlayListFoundException.html +++ b/target/site/apidocs/musichub/business/class-use/NoPlayListFoundException.html @@ -2,11 +2,11 @@ - + Uses of Class musichub.business.NoPlayListFoundException (spoteezer 0.1.0 API) - + @@ -78,6 +78,11 @@ loadScripts(document, 'script');
    void
    MusicHub.deletePlayList​(String playListTitle)
     
    + +
    MusicHub.getPlayListSongs​(String playListTitle)
    +
    +
    Method checking the songs contained in a chosen playlist and returning them if found.
    +
    diff --git a/target/site/apidocs/musichub/business/class-use/PlayList.html b/target/site/apidocs/musichub/business/class-use/PlayList.html index bda55e0..d482eb3 100644 --- a/target/site/apidocs/musichub/business/class-use/PlayList.html +++ b/target/site/apidocs/musichub/business/class-use/PlayList.html @@ -2,11 +2,11 @@ - + Uses of Class musichub.business.PlayList (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/business/class-use/Song.html b/target/site/apidocs/musichub/business/class-use/Song.html index 3325f6e..8989a96 100644 --- a/target/site/apidocs/musichub/business/class-use/Song.html +++ b/target/site/apidocs/musichub/business/class-use/Song.html @@ -2,11 +2,11 @@ - + Uses of Class musichub.business.Song (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/business/package-summary.html b/target/site/apidocs/musichub/business/package-summary.html index 6091b4c..687fe85 100644 --- a/target/site/apidocs/musichub/business/package-summary.html +++ b/target/site/apidocs/musichub/business/package-summary.html @@ -2,11 +2,11 @@ - + musichub.business (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/business/package-tree.html b/target/site/apidocs/musichub/business/package-tree.html index 043e924..0577411 100644 --- a/target/site/apidocs/musichub/business/package-tree.html +++ b/target/site/apidocs/musichub/business/package-tree.html @@ -2,11 +2,11 @@ - + musichub.business Class Hierarchy (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/business/package-use.html b/target/site/apidocs/musichub/business/package-use.html index 9e21dc4..fb82b92 100644 --- a/target/site/apidocs/musichub/business/package-use.html +++ b/target/site/apidocs/musichub/business/package-use.html @@ -2,11 +2,11 @@ - + Uses of Package musichub.business (spoteezer 0.1.0 API) - + @@ -60,6 +60,8 @@ loadScripts(document, 'script');
    Description
     
    + +
     
      @@ -92,6 +94,17 @@ loadScripts(document, 'script');
    +
  • +
    +
    Classes in musichub.business used by musichub.main
    +
    +
    Class
    +
    Description
    + +
     
    +
    +
    +
  • diff --git a/target/site/apidocs/musichub/main/Main.html b/target/site/apidocs/musichub/main/Main.html index 689df96..8e747c6 100644 --- a/target/site/apidocs/musichub/main/Main.html +++ b/target/site/apidocs/musichub/main/Main.html @@ -2,11 +2,11 @@ - + Main (spoteezer 0.1.0 API) - + @@ -149,12 +149,14 @@ loadScripts(document, 'script');
    public static void main(String[] args) throws UnsupportedAudioFileException, IOException, -LineUnavailableException
    +LineUnavailableException, +NoAlbumFoundException
    Throws:
    UnsupportedAudioFileException
    IOException
    LineUnavailableException
    +
    NoAlbumFoundException
    diff --git a/target/site/apidocs/musichub/main/class-use/Main.html b/target/site/apidocs/musichub/main/class-use/Main.html index 3510a5a..135db94 100644 --- a/target/site/apidocs/musichub/main/class-use/Main.html +++ b/target/site/apidocs/musichub/main/class-use/Main.html @@ -2,11 +2,11 @@ - + Uses of Class musichub.main.Main (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/main/package-summary.html b/target/site/apidocs/musichub/main/package-summary.html index 3173f29..3e7843a 100644 --- a/target/site/apidocs/musichub/main/package-summary.html +++ b/target/site/apidocs/musichub/main/package-summary.html @@ -2,11 +2,11 @@ - + musichub.main (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/main/package-tree.html b/target/site/apidocs/musichub/main/package-tree.html index 28af7d3..b315db7 100644 --- a/target/site/apidocs/musichub/main/package-tree.html +++ b/target/site/apidocs/musichub/main/package-tree.html @@ -2,11 +2,11 @@ - + musichub.main Class Hierarchy (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/main/package-use.html b/target/site/apidocs/musichub/main/package-use.html index 91940dd..e258c4a 100644 --- a/target/site/apidocs/musichub/main/package-use.html +++ b/target/site/apidocs/musichub/main/package-use.html @@ -2,11 +2,11 @@ - + Uses of Package musichub.main (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/util/LogHandler.html b/target/site/apidocs/musichub/util/LogHandler.html index ef83ebd..fce5e8d 100644 --- a/target/site/apidocs/musichub/util/LogHandler.html +++ b/target/site/apidocs/musichub/util/LogHandler.html @@ -2,11 +2,11 @@ - + LogHandler (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/util/PathValidation.html b/target/site/apidocs/musichub/util/PathValidation.html index fefddad..06d60fe 100644 --- a/target/site/apidocs/musichub/util/PathValidation.html +++ b/target/site/apidocs/musichub/util/PathValidation.html @@ -2,11 +2,11 @@ - + PathValidation (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/util/Policy.html b/target/site/apidocs/musichub/util/Policy.html new file mode 100644 index 0000000..4cb02cb --- /dev/null +++ b/target/site/apidocs/musichub/util/Policy.html @@ -0,0 +1,183 @@ + + + + + +Policy (spoteezer 0.1.0 API) + + + + + + + + + + + + + + + +
    + +
    +
    + +
    +
    Package musichub.util
    +

    Class Policy

    +
    +
    java.lang.Object +
    musichub.util.Policy
    +
    +
    +
    +
    public final class Policy +extends Object
    +
    Class offering methods to prompt a policy agreement form to the user.
    +
    +
    Version:
    +
    1.0
    +
    Author:
    +
    Anthony BOULANT
    +
    +
    +
    +
      + +
    • +
      +

      Constructor Summary

      +
      Constructors
      +
      +
      Constructor
      +
      Description
      + +
      +
      Method that just throws an AssertionError if the class is called
      +
      +
      +
      +
    • + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      +
      static void
      + +
      +
      Method prompting the whole policy agreement process
      +
      +
      +
      +
      +
      +

      Methods inherited from class java.lang.Object

      +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        Policy

        +
        public Policy()
        +
        Method that just throws an AssertionError if the class is called
        +
        +
        Throws:
        +
        AssertionError - you can't instantiate this class
        +
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        showTerm

        +
        public static void showTerm()
        +
        Method prompting the whole policy agreement process
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + +
    +
    +
    + + diff --git a/target/site/apidocs/musichub/util/XMLHandler.html b/target/site/apidocs/musichub/util/XMLHandler.html index 7236da3..b2d5bac 100644 --- a/target/site/apidocs/musichub/util/XMLHandler.html +++ b/target/site/apidocs/musichub/util/XMLHandler.html @@ -2,11 +2,11 @@ - + XMLHandler (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/util/class-use/LogHandler.html b/target/site/apidocs/musichub/util/class-use/LogHandler.html index 990f0fd..506f390 100644 --- a/target/site/apidocs/musichub/util/class-use/LogHandler.html +++ b/target/site/apidocs/musichub/util/class-use/LogHandler.html @@ -2,11 +2,11 @@ - + Uses of Class musichub.util.LogHandler (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/util/class-use/PathValidation.html b/target/site/apidocs/musichub/util/class-use/PathValidation.html index 220526c..e41b131 100644 --- a/target/site/apidocs/musichub/util/class-use/PathValidation.html +++ b/target/site/apidocs/musichub/util/class-use/PathValidation.html @@ -2,11 +2,11 @@ - + Uses of Class musichub.util.PathValidation (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/util/class-use/Policy.html b/target/site/apidocs/musichub/util/class-use/Policy.html new file mode 100644 index 0000000..ea71f0b --- /dev/null +++ b/target/site/apidocs/musichub/util/class-use/Policy.html @@ -0,0 +1,65 @@ + + + + + +Uses of Class musichub.util.Policy (spoteezer 0.1.0 API) + + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Uses of Class
    musichub.util.Policy

    +
    +No usage of musichub.util.Policy
    +
    +
    + +
    +
    +
    + + diff --git a/target/site/apidocs/musichub/util/class-use/XMLHandler.html b/target/site/apidocs/musichub/util/class-use/XMLHandler.html index 7a70382..c373d88 100644 --- a/target/site/apidocs/musichub/util/class-use/XMLHandler.html +++ b/target/site/apidocs/musichub/util/class-use/XMLHandler.html @@ -2,11 +2,11 @@ - + Uses of Class musichub.util.XMLHandler (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/musichub/util/package-summary.html b/target/site/apidocs/musichub/util/package-summary.html index f86937c..90a4118 100644 --- a/target/site/apidocs/musichub/util/package-summary.html +++ b/target/site/apidocs/musichub/util/package-summary.html @@ -2,11 +2,11 @@ - + musichub.util (spoteezer 0.1.0 API) - + @@ -71,8 +71,12 @@ loadScripts(document, 'script');
    Class offering a path validation method.
    - -
     
    + +
    +
    Class offering methods to prompt a policy agreement form to the user.
    +
    + +
     
    diff --git a/target/site/apidocs/musichub/util/package-tree.html b/target/site/apidocs/musichub/util/package-tree.html index ffec452..3975c7d 100644 --- a/target/site/apidocs/musichub/util/package-tree.html +++ b/target/site/apidocs/musichub/util/package-tree.html @@ -2,11 +2,11 @@ - + musichub.util Class Hierarchy (spoteezer 0.1.0 API) - + @@ -65,6 +65,7 @@ loadScripts(document, 'script'); diff --git a/target/site/apidocs/musichub/util/package-use.html b/target/site/apidocs/musichub/util/package-use.html index 5b04593..29e9afd 100644 --- a/target/site/apidocs/musichub/util/package-use.html +++ b/target/site/apidocs/musichub/util/package-use.html @@ -2,11 +2,11 @@ - + Uses of Package musichub.util (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/overview-summary.html b/target/site/apidocs/overview-summary.html index 4cc33e6..e04109c 100644 --- a/target/site/apidocs/overview-summary.html +++ b/target/site/apidocs/overview-summary.html @@ -2,11 +2,11 @@ - + spoteezer 0.1.0 API - + diff --git a/target/site/apidocs/overview-tree.html b/target/site/apidocs/overview-tree.html index cdf90ae..fa638f1 100644 --- a/target/site/apidocs/overview-tree.html +++ b/target/site/apidocs/overview-tree.html @@ -2,11 +2,11 @@ - + Class Hierarchy (spoteezer 0.1.0 API) - + @@ -77,6 +77,7 @@ loadScripts(document, 'script');
  • musichub.business.MusicHub
  • musichub.util.PathValidation
  • musichub.business.PlayList
  • +
  • musichub.util.Policy
  • java.lang.Throwable (implements java.io.Serializable)
    • java.lang.Exception diff --git a/target/site/apidocs/serialized-form.html b/target/site/apidocs/serialized-form.html index 4f1d9d0..6403fa7 100644 --- a/target/site/apidocs/serialized-form.html +++ b/target/site/apidocs/serialized-form.html @@ -2,11 +2,11 @@ - + Serialized Form (spoteezer 0.1.0 API) - + diff --git a/target/site/apidocs/type-search-index.js b/target/site/apidocs/type-search-index.js index 26dac6f..65bf426 100644 --- a/target/site/apidocs/type-search-index.js +++ b/target/site/apidocs/type-search-index.js @@ -1 +1 @@ -typeSearchIndex = [{"p":"musichub.business","l":"Album"},{"l":"All Classes","u":"allclasses-index.html"},{"p":"musichub.business","l":"AudioBook"},{"p":"musichub.business","l":"AudioElement"},{"p":"musichub.business","l":"Category"},{"p":"musichub.business","l":"Genre"},{"p":"musichub.business","l":"Language"},{"p":"musichub.util","l":"LogHandler"},{"p":"musichub.main","l":"Main"},{"p":"musichub.business","l":"MusicHub"},{"p":"musichub.business","l":"NoAlbumFoundException"},{"p":"musichub.business","l":"NoElementFoundException"},{"p":"musichub.business","l":"NoPlayListFoundException"},{"p":"musichub.util","l":"PathValidation"},{"p":"musichub.business","l":"PlayList"},{"p":"musichub.business","l":"Song"},{"p":"musichub.util","l":"XMLHandler"}];updateSearchResults(); \ No newline at end of file +typeSearchIndex = [{"p":"musichub.business","l":"Album"},{"l":"All Classes","u":"allclasses-index.html"},{"p":"musichub.business","l":"AudioBook"},{"p":"musichub.business","l":"AudioElement"},{"p":"musichub.business","l":"Category"},{"p":"musichub.business","l":"Genre"},{"p":"musichub.business","l":"Language"},{"p":"musichub.util","l":"LogHandler"},{"p":"musichub.main","l":"Main"},{"p":"musichub.business","l":"MusicHub"},{"p":"musichub.business","l":"NoAlbumFoundException"},{"p":"musichub.business","l":"NoElementFoundException"},{"p":"musichub.business","l":"NoPlayListFoundException"},{"p":"musichub.util","l":"PathValidation"},{"p":"musichub.business","l":"PlayList"},{"p":"musichub.util","l":"Policy"},{"p":"musichub.business","l":"Song"},{"p":"musichub.util","l":"XMLHandler"}];updateSearchResults(); \ No newline at end of file diff --git a/target/site/jacoco/index.html b/target/site/jacoco/index.html index b7992f7..dc1c55c 100644 --- a/target/site/jacoco/index.html +++ b/target/site/jacoco/index.html @@ -1 +1 @@ -spoteezer

      spoteezer

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
      Total2 167 of 2 96927 %207 of 23010 %17722661279457971020
      musichub.business1 48365130 %1601910 %1401783735135182815
      musichub.main6250 %420 %31312152153311
      musichub.util5915171 %5444 %617246631214
      \ No newline at end of file +spoteezer

      spoteezer

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
      Total2 376 of 3 17825 %223 of 2469 %18723667285459991020
      musichub.business1 58865129 %175199 %1491873935335384815
      musichub.main7220 %430 %32322512513311
      musichub.util6615169 %5444 %617287031214
      \ No newline at end of file diff --git a/target/site/jacoco/jacoco-sessions.html b/target/site/jacoco/jacoco-sessions.html index 59fcb45..2e5066f 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
      DESKTOP-M4INQND-11e0a09627 juin 2021, 18:57:0227 juin 2021, 18:57:02
      DESKTOP-M4INQND-7357f01027 juin 2021, 22:23:2727 juin 2021, 22:23:27

      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 +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
      DESKTOP-M4INQND-7357f01027 juin 2021, 22:23:2727 juin 2021, 22:23:27
      DESKTOP-M4INQND-811f3cc528 juin 2021, 23:30:4728 juin 2021, 23:30:48
      DESKTOP-M4INQND-b70e956328 juin 2021, 23:31:5828 juin 2021, 23:31:59
      DESKTOP-M4INQND-a94600a728 juin 2021, 23:36:2628 juin 2021, 23:36:27
      DESKTOP-M4INQND-cbfb49a828 juin 2021, 23:36:3128 juin 2021, 23:36:32

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

      ClassId
      java.sql.Dated25610486aed3f31
      java.sql.Timestampb848522074600355
      musichub.business.AudioBookaaa13ef213e0885f
      musichub.business.AudioElementf7fee30268ca924b
      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 555d233..7b39bb6 100644 --- a/target/site/jacoco/jacoco.csv +++ b/target/site/jacoco/jacoco.csv @@ -2,13 +2,13 @@ GROUP,PACKAGE,CLASS,INSTRUCTION_MISSED,INSTRUCTION_COVERED,BRANCH_MISSED,BRANCH_ spoteezer,musichub.util,PathValidation,0,39,0,4,0,10,0,4,0,2 spoteezer,musichub.util,LogHandler,0,46,0,0,0,11,0,3,0,3 spoteezer,musichub.util,XMLHandler,6,66,0,0,4,21,0,4,0,4 -spoteezer,musichub.util,Policy,53,0,5,0,20,0,6,0,3,0 +spoteezer,musichub.util,Policy,60,0,5,0,24,0,6,0,3,0 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,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,874,0,124,0,209,0,85,0,23,0 +spoteezer,musichub.business,MusicHub,973,0,140,0,228,0,95,0,25,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 @@ -17,5 +17,5 @@ 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 -spoteezer,musichub.business,AudioElement,85,181,9,2,30,42,11,5,4,5 -spoteezer,musichub.main,Main,625,0,42,0,215,0,31,0,3,0 +spoteezer,musichub.business,AudioElement,91,181,8,2,31,42,10,5,4,5 +spoteezer,musichub.main,Main,722,0,43,0,251,0,32,0,3,0 diff --git a/target/site/jacoco/jacoco.xml b/target/site/jacoco/jacoco.xml index e10770f..30a884a 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/AudioElement.html b/target/site/jacoco/musichub.business/AudioElement.html index 18f7368..6498736 100644 --- a/target/site/jacoco/musichub.business/AudioElement.html +++ b/target/site/jacoco/musichub.business/AudioElement.html @@ -1 +1 @@ -AudioElement

      AudioElement

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
      Total85 of 26668 %9 of 1118 %1116307249
      manageAudioElement()680 %70 %66242411
      AudioElement(Element)85587 %2250 %2331401
      getUUID()30 %n/a111111
      getArtist()30 %n/a111111
      getTitle()30 %n/a111111
      createXMLElement(Document, Element)79100 %n/a0101601
      AudioElement(String, String, int, String, String)19100 %n/a010701
      AudioElement(String, String, int, String)18100 %n/a010701
      toString()10100 %n/a010101
      \ No newline at end of file +AudioElement

      AudioElement

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
      Total91 of 27266 %8 of 1020 %1015317349
      manageAudioElement()740 %60 %55252511
      AudioElement(Element)85587 %2250 %2331401
      getUUID()30 %n/a111111
      getArtist()30 %n/a111111
      getTitle()30 %n/a111111
      createXMLElement(Document, Element)79100 %n/a0101601
      AudioElement(String, String, int, String, String)19100 %n/a010701
      AudioElement(String, String, int, String)18100 %n/a010701
      toString()10100 %n/a010101
      \ No newline at end of file diff --git a/target/site/jacoco/musichub.business/AudioElement.java.html b/target/site/jacoco/musichub.business/AudioElement.java.html index 7863e1a..34bbc3b 100644 --- a/target/site/jacoco/musichub.business/AudioElement.java.html +++ b/target/site/jacoco/musichub.business/AudioElement.java.html @@ -1,19 +1,15 @@ AudioElement.java

      AudioElement.java

      package musichub.business;
       
      +import musichub.util.LogHandler;
       import org.w3c.dom.Document;
       import org.w3c.dom.Element;
       
      +import javax.sound.sampled.*;
       import java.io.File;
       import java.io.IOException;
       import java.util.Scanner;
       import java.util.UUID;
       
      -import javax.sound.sampled.AudioInputStream;
      -import javax.sound.sampled.AudioSystem;
      -import javax.sound.sampled.Clip;
      -import javax.sound.sampled.LineUnavailableException;
      -import javax.sound.sampled.UnsupportedAudioFileException;
      -
       public abstract class AudioElement {
           protected String title;
           protected String artist;
      @@ -21,109 +17,113 @@ public abstract class AudioElement {
           protected UUID uuid;
           protected String content;
       
      -    public AudioElement(String title, String artist, int lengthInSeconds, String id, String content) {
      -        this.title = title;
      -        this.artist = artist;
      -        this.lengthInSeconds = lengthInSeconds;
      -        this.uuid = UUID.fromString(id);
      -        this.content = content;
      -    }
      -
      -    public AudioElement(String title, String artist, int lengthInSeconds, String content) {
      -        this.title = title;
      -        this.artist = artist;
      -        this.lengthInSeconds = lengthInSeconds;
      -        this.content = content;
      -        this.uuid = UUID.randomUUID();
      -    }
      -
      -    public AudioElement(Element xmlElement) {
      +    public AudioElement(String title, String artist, int lengthInSeconds, String id, String content) {
      +        this.title = title;
      +        this.artist = artist;
      +        this.lengthInSeconds = lengthInSeconds;
      +        this.uuid = UUID.fromString(id);
      +        this.content = content;
      +    }
      +
      +    public AudioElement(String title, String artist, int lengthInSeconds, String content) {
      +        this.title = title;
      +        this.artist = artist;
      +        this.lengthInSeconds = lengthInSeconds;
      +        this.content = content;
      +        this.uuid = UUID.randomUUID();
      +    }
      +
      +    public AudioElement(Element xmlElement) {
               {
      -            title = xmlElement.getElementsByTagName("title").item(0).getTextContent();
      -            artist = xmlElement.getElementsByTagName("artist").item(0).getTextContent();
      -            lengthInSeconds = Integer.parseInt(xmlElement.getElementsByTagName("length").item(0).getTextContent());
      -            content = xmlElement.getElementsByTagName("content").item(0).getTextContent();
      -            String uuid = null;
      +            title = xmlElement.getElementsByTagName("title").item(0).getTextContent();
      +            artist = xmlElement.getElementsByTagName("artist").item(0).getTextContent();
      +            lengthInSeconds = Integer.parseInt(xmlElement.getElementsByTagName("length").item(0).getTextContent());
      +            content = xmlElement.getElementsByTagName("content").item(0).getTextContent();
      +            String uuid = null;
                   try {
      -                uuid = xmlElement.getElementsByTagName("UUID").item(0).getTextContent();
      -            } catch (Exception ex) {
      -                System.out.println("Empty element UUID, will create a new one");
      -            }
      -            if ((uuid == null) || (uuid.isEmpty()))
      -                this.uuid = UUID.randomUUID();
      -            else this.uuid = UUID.fromString(uuid);
      +                uuid = xmlElement.getElementsByTagName("UUID").item(0).getTextContent();
      +            } catch (Exception ex) {
      +                System.out.println("Empty element UUID, will create a new one");
      +            }
      +            if ((uuid == null) || (uuid.isEmpty()))
      +                this.uuid = UUID.randomUUID();
      +            else this.uuid = UUID.fromString(uuid);
               }
      -    }
      +    }
       
           public UUID getUUID() {
      -        return this.uuid;
      +        return this.uuid;
           }
       
           public String getArtist() {
      -        return this.artist;
      +        return this.artist;
           }
       
           public String getTitle() {
      -        return this.title;
      +        return this.title;
           }
       
           public String toString() {
      -        return "Title = " + this.title + ", Artist = " + this.artist + ", Length = " + this.lengthInSeconds + ", Content = " + this.content;
      +        return "Title = " + this.title + ", Artist = " + this.artist + ", Length = " + this.lengthInSeconds + ", Content = " + this.content;
           }
       
           public void createXMLElement(Document document, Element parentElement) {
      -        Element nameElement = document.createElement("title");
      -        nameElement.appendChild(document.createTextNode(title));
      -        parentElement.appendChild(nameElement);
      +        Element nameElement = document.createElement("title");
      +        nameElement.appendChild(document.createTextNode(title));
      +        parentElement.appendChild(nameElement);
       
      -        Element artistElement = document.createElement("artist");
      -        artistElement.appendChild(document.createTextNode(artist));
      -        parentElement.appendChild(artistElement);
      +        Element artistElement = document.createElement("artist");
      +        artistElement.appendChild(document.createTextNode(artist));
      +        parentElement.appendChild(artistElement);
       
      -        Element lengthElement = document.createElement("length");
      -        lengthElement.appendChild(document.createTextNode(Integer.valueOf(lengthInSeconds).toString()));
      -        parentElement.appendChild(lengthElement);
      +        Element lengthElement = document.createElement("length");
      +        lengthElement.appendChild(document.createTextNode(Integer.valueOf(lengthInSeconds).toString()));
      +        parentElement.appendChild(lengthElement);
       
      -        Element UUIDElement = document.createElement("UUID");
      -        UUIDElement.appendChild(document.createTextNode(uuid.toString()));
      -        parentElement.appendChild(UUIDElement);
      +        Element UUIDElement = document.createElement("UUID");
      +        UUIDElement.appendChild(document.createTextNode(uuid.toString()));
      +        parentElement.appendChild(UUIDElement);
       
      -        Element contentElement = document.createElement("content");
      -        contentElement.appendChild(document.createTextNode(content));
      -        parentElement.appendChild(contentElement);
      +        Element contentElement = document.createElement("content");
      +        contentElement.appendChild(document.createTextNode(content));
      +        parentElement.appendChild(contentElement);
       
      -    }
      +    }
           
           public void manageAudioElement() throws UnsupportedAudioFileException, IOException, LineUnavailableException {
           	
      -    	Scanner scanner = new Scanner(System.in); 
      +    	Scanner scanner = new Scanner(System.in); 
           	
      -    	File file = new File(this.content);
      -    	AudioInputStream audioStream = AudioSystem.getAudioInputStream(file);
      -    	Clip clip = AudioSystem.getClip();
      -    	clip.open(audioStream);
      +    	File file = new File(this.content);
      +    	AudioInputStream audioStream = AudioSystem.getAudioInputStream(file);
      +    	Clip clip = AudioSystem.getClip();
      +    	clip.open(audioStream);
           	
      -    	String action = "";
      +    	String action = "";
           			
      -    	while(!action.equals("Q")) {
      -    		System.out.println("P = Play \b S = Stop \b R = Reset \b Q = Quit");
      -    		System.out.println("Enter your choice");
      -    		action = scanner.next();
      -        	action = action.toUpperCase();
      -        	
      -        	switch(action) {
      -        		case "S" : clip.stop();
      -        		break;
      -        		case "P" : clip.start();
      -        		break;
      -        		case "R" : clip.setMicrosecondPosition(0);
      -        		break;
      -        		case "Q" : clip.stop();
      -        		break;
      -        		default : System.out.println("try again");
      -        	}
      -        	System.out.println("You stoped the Audio element");
      -    	}
      +    	while(!action.equals("Q")) {
      +            System.out.println("P = Play \b S = Stop \b R = Reset \b Q = Quit");
      +            System.out.println("Enter your choice");
      +            action = scanner.next();
      +            action = action.toUpperCase();
      +
      +            switch (action) {
      +                case "S", "Q" -> {
      +                    clip.stop();
      +                    LogHandler.write("Music stopped", "INFO");
      +                }
      +                case "P" -> {
      +                    clip.start();
      +                    LogHandler.write("Music started", "INFO");
      +                }
      +                case "R" -> {
      +                    clip.setMicrosecondPosition(0);
      +                    LogHandler.write("Music reseted", "INFO");
      +                }
      +                default -> System.out.println("try again");
      +            }
      +            System.out.println("You stopped the Audio element");
      +        }
           	
           	clip.close();
           
      diff --git a/target/site/jacoco/musichub.business/MusicHub.html b/target/site/jacoco/musichub.business/MusicHub.html
      index 4ed5db0..43c8490 100644
      --- a/target/site/jacoco/musichub.business/MusicHub.html
      +++ b/target/site/jacoco/musichub.business/MusicHub.html
      @@ -1 +1 @@
      -MusicHub

      MusicHub

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
      Total874 of 8740 %124 of 1240 %85852092092323
      addElementToAlbum(String, String)820 %120 %77202011
      addElementToPlayList(String, String)820 %120 %77202011
      getAlbumSongsSortedByGenre(String)790 %140 %88161611
      getAlbumSongs(String)730 %140 %88151511
      searchAudioElement()710 %100 %66141411
      loadElements()640 %100 %66181811
      getAudiobooksTitlesSortedByAuthor()530 %60 %449911
      saveElements()470 %80 %55121211
      loadAlbums()440 %80 %55111111
      loadPlaylists()440 %80 %55111111
      deletePlayList(String)400 %80 %55111111
      saveAlbums()360 %40 %33101011
      savePlayLists()360 %40 %33101011
      getAlbumsTitlesSortedByDate()320 %20 %225511
      MusicHub()290 %n/a119911
      getAudioElement(List, String)190 %40 %335511
      static {...}130 %n/a114411
      addElement(AudioElement)60 %n/a112211
      addAlbum(Album)60 %n/a112211
      addPlaylist(PlayList)60 %n/a112211
      albums()40 %n/a111111
      playlists()40 %n/a111111
      elements()40 %n/a111111
      \ No newline at end of file +MusicHub

      MusicHub

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
      Total973 of 9730 %140 of 1400 %95952282282525
      addElementToAlbum(String, String)820 %120 %77202011
      addElementToPlayList(String, String)820 %120 %77202011
      getAlbumSongsSortedByGenre(String)790 %140 %88161611
      getAlbumSongs(String)730 %140 %88151511
      getPlayListSongs(String)730 %140 %88151511
      searchAudioElement()710 %100 %66141411
      loadElements()640 %100 %66181811
      getAudiobooksTitlesSortedByAuthor()530 %60 %449911
      saveElements()470 %80 %55121211
      loadAlbums()440 %80 %55111111
      loadPlaylists()440 %80 %55111111
      deletePlayList(String)400 %80 %55111111
      saveAlbums()360 %40 %33101011
      savePlayLists()360 %40 %33101011
      getAlbumsTitlesSortedByDate()320 %20 %225511
      MusicHub()290 %n/a119911
      getPlayListsTitles()260 %20 %224411
      getAudioElement(List, String)190 %40 %335511
      static {...}130 %n/a114411
      addElement(AudioElement)60 %n/a112211
      addAlbum(Album)60 %n/a112211
      addPlaylist(PlayList)60 %n/a112211
      albums()40 %n/a111111
      playlists()40 %n/a111111
      elements()40 %n/a111111
      \ No newline at end of file diff --git a/target/site/jacoco/musichub.business/MusicHub.java.html b/target/site/jacoco/musichub.business/MusicHub.java.html index ec5e661..deb88a0 100644 --- a/target/site/jacoco/musichub.business/MusicHub.java.html +++ b/target/site/jacoco/musichub.business/MusicHub.java.html @@ -6,359 +6,401 @@ import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; -import java.io.IOException; -import java.util.*; - import javax.sound.sampled.LineUnavailableException; import javax.sound.sampled.UnsupportedAudioFileException; +import java.io.IOException; +import java.util.*; -class SortByDate implements Comparator<Album> { +class SortByDate implements Comparator<Album> { public int compare(Album a1, Album a2) { - return a1.getDate().compareTo(a2.getDate()); + return a1.getDate().compareTo(a2.getDate()); } } -class SortByGenre implements Comparator<Song> { +class SortByGenre implements Comparator<Song> { public int compare(Song s1, Song s2) { - return s1.getGenre().compareTo(s2.getGenre()); + return s1.getGenre().compareTo(s2.getGenre()); } } -class SortByAuthor implements Comparator<AudioElement> { +class SortByAuthor implements Comparator<AudioElement> { public int compare(AudioElement e1, AudioElement e2) { - return e1.getArtist().compareTo(e2.getArtist()); + return e1.getArtist().compareTo(e2.getArtist()); } } public class MusicHub { - public static final String DIR = System.getProperty("user.dir"); - public static final String ALBUMS_FILE_PATH = DIR + "/files/albums.xml"; - public static final String PLAYLISTS_FILE_PATH = DIR + "/files/playlists.xml"; - public static final String ELEMENTS_FILE_PATH = DIR + "/files/elements.xml"; + public static final String DIR = System.getProperty("user.dir"); + public static final String ALBUMS_FILE_PATH = DIR + "/files/albums.xml"; + public static final String PLAYLISTS_FILE_PATH = DIR + "/files/playlists.xml"; + public static final String ELEMENTS_FILE_PATH = DIR + "/files/elements.xml"; private final List<Album> albums; private final List<PlayList> playlists; private final List<AudioElement> elements; - private final XMLHandler xmlHandler = new XMLHandler(); + private final XMLHandler xmlHandler = new XMLHandler(); - public MusicHub() { - albums = new LinkedList<>(); - playlists = new LinkedList<>(); - elements = new LinkedList<>(); - this.loadElements(); - this.loadAlbums(); - this.loadPlaylists(); - } + public MusicHub() { + albums = new LinkedList<>(); + playlists = new LinkedList<>(); + elements = new LinkedList<>(); + this.loadElements(); + this.loadAlbums(); + this.loadPlaylists(); + } public void addElement(AudioElement element) { - elements.add(element); - } + elements.add(element); + } public void addAlbum(Album album) { - albums.add(album); - } + albums.add(album); + } public void addPlaylist(PlayList playlist) { - playlists.add(playlist); - } + playlists.add(playlist); + } public void deletePlayList(String playListTitle) throws NoPlayListFoundException { - PlayList thePlayList = null; - boolean result = false; - for (PlayList pl : playlists) { - if (pl.getTitle().equalsIgnoreCase(playListTitle)) { - thePlayList = pl; - break; + PlayList thePlayList = null; + boolean result = false; + for (PlayList pl : playlists) { + if (pl.getTitle().equalsIgnoreCase(playListTitle)) { + thePlayList = pl; + break; } - } + } - if (thePlayList != null) - result = playlists.remove(thePlayList); - if (!result) throw new NoPlayListFoundException("Playlist " + playListTitle + " not found!"); - } + if (thePlayList != null) + result = playlists.remove(thePlayList); + if (!result) throw new NoPlayListFoundException("Playlist " + playListTitle + " not found!"); + } public Iterator<Album> albums() { - return albums.listIterator(); + return albums.listIterator(); } public Iterator<PlayList> playlists() { - return playlists.listIterator(); + return playlists.listIterator(); } public Iterator<AudioElement> elements() { - return elements.listIterator(); + return elements.listIterator(); } public String getAlbumsTitlesSortedByDate() { - StringBuilder titleList = new StringBuilder(); - albums.sort(new SortByDate()); - for (Album al : albums) - titleList.append(al.getTitle()).append("\n"); - return titleList.toString(); + StringBuilder titleList = new StringBuilder(); + albums.sort(new SortByDate()); + for (Album al : albums) + titleList.append(al.getTitle()).append("\n"); + return titleList.toString(); } public String getAudiobooksTitlesSortedByAuthor() { - StringBuilder titleList = new StringBuilder(); - List<AudioElement> audioBookList = new ArrayList<>(); - for (AudioElement ae : elements) - if (ae instanceof AudioBook) - audioBookList.add(ae); - audioBookList.sort(new SortByAuthor()); - for (AudioElement ab : audioBookList) - titleList.append(ab.getArtist()).append("\n"); - return titleList.toString(); + StringBuilder titleList = new StringBuilder(); + List<AudioElement> audioBookList = new ArrayList<>(); + for (AudioElement ae : elements) + if (ae instanceof AudioBook) + audioBookList.add(ae); + audioBookList.sort(new SortByAuthor()); + for (AudioElement ab : audioBookList) + titleList.append(ab.getArtist()).append("\n"); + return titleList.toString(); } public List<AudioElement> getAlbumSongs(String albumTitle) throws NoAlbumFoundException { - Album theAlbum = null; - ArrayList<AudioElement> songsInAlbum = new ArrayList<>(); - for (Album al : albums) { - if (al.getTitle().equalsIgnoreCase(albumTitle)) { - theAlbum = al; - break; + Album theAlbum = null; + ArrayList<AudioElement> songsInAlbum = new ArrayList<>(); + for (Album al : albums) { + if (al.getTitle().equalsIgnoreCase(albumTitle)) { + theAlbum = al; + break; } - } - if (theAlbum == null) throw new NoAlbumFoundException("No album with this title in the MusicHub!"); - - List<UUID> songIDs = theAlbum.getSongs(); - for (UUID id : songIDs) - for (AudioElement el : elements) { - if (el instanceof Song) { - if (el.getUUID().equals(id)) songsInAlbum.add(el); + } + if (theAlbum == null) throw new NoAlbumFoundException("No album with this title in the MusicHub!"); + + List<UUID> songIDs = theAlbum.getSongs(); + for (UUID id : songIDs) + for (AudioElement el : elements) { + if (el instanceof Song) { + if (el.getUUID().equals(id)) songsInAlbum.add(el); } - } - return songsInAlbum; + } + return songsInAlbum; } public List<Song> getAlbumSongsSortedByGenre(String albumTitle) throws NoAlbumFoundException { - Album theAlbum = null; - ArrayList<Song> songsInAlbum = new ArrayList<>(); - for (Album al : albums) { - if (al.getTitle().equalsIgnoreCase(albumTitle)) { - theAlbum = al; - break; + Album theAlbum = null; + ArrayList<Song> songsInAlbum = new ArrayList<>(); + for (Album al : albums) { + if (al.getTitle().equalsIgnoreCase(albumTitle)) { + theAlbum = al; + break; } - } - if (theAlbum == null) throw new NoAlbumFoundException("No album with this title in the MusicHub!"); - - List<UUID> songIDs = theAlbum.getSongs(); - for (UUID id : songIDs) - for (AudioElement el : elements) { - if (el instanceof Song) { - if (el.getUUID().equals(id)) songsInAlbum.add((Song) el); + } + if (theAlbum == null) throw new NoAlbumFoundException("No album with this title in the MusicHub!"); + + List<UUID> songIDs = theAlbum.getSongs(); + for (UUID id : songIDs) + for (AudioElement el : elements) { + if (el instanceof Song) { + if (el.getUUID().equals(id)) songsInAlbum.add((Song) el); } - } - songsInAlbum.sort(new SortByGenre()); - return songsInAlbum; + } + songsInAlbum.sort(new SortByGenre()); + return songsInAlbum; } public void addElementToAlbum(String elementTitle, String albumTitle) throws NoAlbumFoundException, NoElementFoundException { - Album theAlbum = null; + Album theAlbum = null; int i; - boolean found = false; - for (i = 0; i < albums.size(); i++) { - if (albums.get(i).getTitle().equalsIgnoreCase(albumTitle)) { - theAlbum = albums.get(i); - found = true; - break; + boolean found = false; + for (i = 0; i < albums.size(); i++) { + if (albums.get(i).getTitle().equalsIgnoreCase(albumTitle)) { + theAlbum = albums.get(i); + found = true; + break; } } - if (found) { - AudioElement theElement = null; - for (AudioElement ae : elements) { - if (ae.getTitle().equalsIgnoreCase(elementTitle)) { - theElement = ae; - break; + if (found) { + AudioElement theElement = null; + for (AudioElement ae : elements) { + if (ae.getTitle().equalsIgnoreCase(elementTitle)) { + theElement = ae; + break; } - } - if (theElement != null) { - theAlbum.addSong(theElement.getUUID()); + } + if (theElement != null) { + theAlbum.addSong(theElement.getUUID()); //replace the album in the list - albums.set(i, theAlbum); - } else throw new NoElementFoundException("Element " + elementTitle + " not found!"); - } else throw new NoAlbumFoundException("Album " + albumTitle + " not found!"); + albums.set(i, theAlbum); + } else throw new NoElementFoundException("Element " + elementTitle + " not found!"); + } else throw new NoAlbumFoundException("Album " + albumTitle + " not found!"); - } + } public void addElementToPlayList(String elementTitle, String playListTitle) throws NoPlayListFoundException, NoElementFoundException { - PlayList thePlaylist = null; + PlayList thePlaylist = null; int i; - boolean found = false; + boolean found = false; - for (i = 0; i < playlists.size(); i++) { - if (playlists.get(i).getTitle().equalsIgnoreCase(playListTitle)) { - thePlaylist = playlists.get(i); - found = true; - break; + for (i = 0; i < playlists.size(); i++) { + if (playlists.get(i).getTitle().equalsIgnoreCase(playListTitle)) { + thePlaylist = playlists.get(i); + found = true; + break; } } - if (found) { - AudioElement theElement = null; - for (AudioElement ae : elements) { - if (ae.getTitle().equalsIgnoreCase(elementTitle)) { - theElement = ae; - break; + if (found) { + AudioElement theElement = null; + for (AudioElement ae : elements) { + if (ae.getTitle().equalsIgnoreCase(elementTitle)) { + theElement = ae; + break; } - } - if (theElement != null) { - thePlaylist.addElement(theElement.getUUID()); + } + if (theElement != null) { + thePlaylist.addElement(theElement.getUUID()); //replace the album in the list - playlists.set(i, thePlaylist); - } else throw new NoElementFoundException("Element " + elementTitle + " not found!"); + playlists.set(i, thePlaylist); + } else throw new NoElementFoundException("Element " + elementTitle + " not found!"); - } else throw new NoPlayListFoundException("Playlist " + playListTitle + " not found!"); + } else throw new NoPlayListFoundException("Playlist " + playListTitle + " not found!"); - } + } private void loadAlbums() { - NodeList albumNodes = xmlHandler.parseXMLFile(ALBUMS_FILE_PATH); - if (albumNodes == null) return; + NodeList albumNodes = xmlHandler.parseXMLFile(ALBUMS_FILE_PATH); + if (albumNodes == null) return; - for (int i = 0; i < albumNodes.getLength(); i++) { - if (albumNodes.item(i).getNodeType() == Node.ELEMENT_NODE) { - Element albumElement = (Element) albumNodes.item(i); - if (albumElement.getNodeName().equals("album")) { + for (int i = 0; i < albumNodes.getLength(); i++) { + if (albumNodes.item(i).getNodeType() == Node.ELEMENT_NODE) { + Element albumElement = (Element) albumNodes.item(i); + if (albumElement.getNodeName().equals("album")) { try { - this.addAlbum(new Album(albumElement)); - } catch (Exception ex) { - System.out.println("Something is wrong with the XML album element"); - } + this.addAlbum(new Album(albumElement)); + } catch (Exception ex) { + System.out.println("Something is wrong with the XML album element"); + } } } } - } + } private void loadPlaylists() { - NodeList playlistNodes = xmlHandler.parseXMLFile(PLAYLISTS_FILE_PATH); - if (playlistNodes == null) return; + NodeList playlistNodes = xmlHandler.parseXMLFile(PLAYLISTS_FILE_PATH); + if (playlistNodes == null) return; - for (int i = 0; i < playlistNodes.getLength(); i++) { - if (playlistNodes.item(i).getNodeType() == Node.ELEMENT_NODE) { - Element playlistElement = (Element) playlistNodes.item(i); - if (playlistElement.getNodeName().equals("playlist")) { + for (int i = 0; i < playlistNodes.getLength(); i++) { + if (playlistNodes.item(i).getNodeType() == Node.ELEMENT_NODE) { + Element playlistElement = (Element) playlistNodes.item(i); + if (playlistElement.getNodeName().equals("playlist")) { try { - this.addPlaylist(new PlayList(playlistElement)); - } catch (Exception ex) { - System.out.println("Something is wrong with the XML playlist element"); - } + this.addPlaylist(new PlayList(playlistElement)); + } catch (Exception ex) { + System.out.println("Something is wrong with the XML playlist element"); + } } } } - } + } private void loadElements() { - NodeList audioelementsNodes = xmlHandler.parseXMLFile(ELEMENTS_FILE_PATH); - if (audioelementsNodes == null) return; + NodeList audioelementsNodes = xmlHandler.parseXMLFile(ELEMENTS_FILE_PATH); + if (audioelementsNodes == null) return; - for (int i = 0; i < audioelementsNodes.getLength(); i++) { - if (audioelementsNodes.item(i).getNodeType() == Node.ELEMENT_NODE) { - Element audioElement = (Element) audioelementsNodes.item(i); - if (audioElement.getNodeName().equals("song")) { + for (int i = 0; i < audioelementsNodes.getLength(); i++) { + if (audioelementsNodes.item(i).getNodeType() == Node.ELEMENT_NODE) { + Element audioElement = (Element) audioelementsNodes.item(i); + if (audioElement.getNodeName().equals("song")) { try { - AudioElement newSong = new Song(audioElement); - this.addElement(newSong); - } catch (Exception ex) { - System.out.println("Something is wrong with the XML song element"); - } + AudioElement newSong = new Song(audioElement); + this.addElement(newSong); + } catch (Exception ex) { + System.out.println("Something is wrong with the XML song element"); + } } - if (audioElement.getNodeName().equals("audiobook")) { + if (audioElement.getNodeName().equals("audiobook")) { try { - AudioElement newAudioBook = new AudioBook(audioElement); - this.addElement(newAudioBook); - } catch (Exception ex) { - System.out.println("Something is wrong with the XML audiobook element"); - } + AudioElement newAudioBook = new AudioBook(audioElement); + this.addElement(newAudioBook); + } catch (Exception ex) { + System.out.println("Something is wrong with the XML audiobook element"); + } } } } - } + } public void saveAlbums() { - Document document = xmlHandler.createXMLDocument(); - if (document == null) return; + Document document = xmlHandler.createXMLDocument(); + if (document == null) return; // root element - Element root = document.createElement("albums"); - document.appendChild(root); + Element root = document.createElement("albums"); + document.appendChild(root); //save all albums - for (Iterator<Album> albumsIter = this.albums(); albumsIter.hasNext(); ) { - Album currentAlbum = albumsIter.next(); - currentAlbum.createXMLElement(document, root); - } - xmlHandler.createXMLFile(document, ALBUMS_FILE_PATH); - } + for (Iterator<Album> albumsIter = this.albums(); albumsIter.hasNext(); ) { + Album currentAlbum = albumsIter.next(); + currentAlbum.createXMLElement(document, root); + } + xmlHandler.createXMLFile(document, ALBUMS_FILE_PATH); + } public void savePlayLists() { - Document document = xmlHandler.createXMLDocument(); - if (document == null) return; + Document document = xmlHandler.createXMLDocument(); + if (document == null) return; // root element - Element root = document.createElement("playlists"); - document.appendChild(root); + Element root = document.createElement("playlists"); + document.appendChild(root); //save all playlists - for (Iterator<PlayList> playlistsIter = this.playlists(); playlistsIter.hasNext(); ) { - PlayList currentPlayList = playlistsIter.next(); - currentPlayList.createXMLElement(document, root); - } - xmlHandler.createXMLFile(document, PLAYLISTS_FILE_PATH); - } + for (Iterator<PlayList> playlistsIter = this.playlists(); playlistsIter.hasNext(); ) { + PlayList currentPlayList = playlistsIter.next(); + currentPlayList.createXMLElement(document, root); + } + xmlHandler.createXMLFile(document, PLAYLISTS_FILE_PATH); + } public void saveElements() { - Document document = xmlHandler.createXMLDocument(); - if (document == null) return; + Document document = xmlHandler.createXMLDocument(); + if (document == null) return; // root element - Element root = document.createElement("elements"); - document.appendChild(root); + Element root = document.createElement("elements"); + document.appendChild(root); //save all AudioElements - for (AudioElement currentElement : elements) { + for (AudioElement currentElement : elements) { - if (currentElement instanceof Song) { - currentElement.createXMLElement(document, root); + if (currentElement instanceof Song) { + currentElement.createXMLElement(document, root); } - if (currentElement instanceof AudioBook) { - currentElement.createXMLElement(document, root); + if (currentElement instanceof AudioBook) { + currentElement.createXMLElement(document, root); } - } - xmlHandler.createXMLFile(document, ELEMENTS_FILE_PATH); - } + } + xmlHandler.createXMLFile(document, ELEMENTS_FILE_PATH); + } public void getAudioElement(List<AudioElement> audios, String elementTitle) throws NoAlbumFoundException, UnsupportedAudioFileException, IOException, LineUnavailableException { - for (AudioElement el : audios) { - if (el.getTitle().equalsIgnoreCase(elementTitle)) { - el.manageAudioElement(); + for (AudioElement el : audios) { + if (el.getTitle().equalsIgnoreCase(elementTitle)) { + el.manageAudioElement(); } - } + } - } + } public void searchAudioElement() throws UnsupportedAudioFileException, NoAlbumFoundException, LineUnavailableException, IOException, NoElementFoundException { - 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); + 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()){ - throw new NoElementFoundException("Any result for your search"); + if (searchResult.isEmpty()) { + throw new NoElementFoundException("Any result for your search"); } - if (searchResult.size()==1){ - this.getAudioElement(searchResult, searchResult.get(0).getTitle()); + if (searchResult.size() == 1) { + this.getAudioElement(searchResult, searchResult.get(0).getTitle()); } - } + } + + /** + * Method getting a list of playlists + * + * @return a list of playlist titles + * @author Anthony BOULANT + */ + public String getPlayListsTitles() { + StringBuilder titleList = new StringBuilder(); + + for (PlayList pl : playlists) + titleList.append(pl.getTitle()).append("\n"); + return titleList.toString(); + } + /** + * Method checking the songs contained in a chosen playlist and returning them if found. + * + * @param playListTitle the title of a (chosen) playlist + * @return a list of songs from a playlist + * @throws NoPlayListFoundException if the chosen playlist doesn't exist + * @author Anthony BOULANT + */ + public List<AudioElement> getPlayListSongs(String playListTitle) throws NoPlayListFoundException { + PlayList thePlayList = null; + ArrayList<AudioElement> songsInPlayList = new ArrayList<>(); + for (PlayList pl : playlists) { + if (pl.getTitle().equalsIgnoreCase(playListTitle)) { + thePlayList = pl; + break; + } + } + if (thePlayList == null) throw new NoPlayListFoundException("No playlist with this title in the MusicHub!"); + + List<UUID> songIDs = thePlayList.getElements(); + for (UUID id : songIDs) + for (AudioElement el : elements) { + if (el instanceof Song) { + if (el.getUUID().equals(id)) songsInPlayList.add(el); + } + } + return songsInPlayList; + + } }
      \ No newline at end of file diff --git a/target/site/jacoco/musichub.business/SortByAuthor.html b/target/site/jacoco/musichub.business/SortByAuthor.html index 851cdce..b762715 100644 --- a/target/site/jacoco/musichub.business/SortByAuthor.html +++ b/target/site/jacoco/musichub.business/SortByAuthor.html @@ -1 +1 @@ -SortByAuthor

      SortByAuthor

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
      Total9 of 90 %0 of 0n/a222222
      compare(AudioElement, AudioElement)60 %n/a111111
      SortByAuthor()30 %n/a111111
      \ No newline at end of file +SortByAuthor

      SortByAuthor

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
      Total9 of 90 %0 of 0n/a222222
      compare(AudioElement, AudioElement)60 %n/a111111
      SortByAuthor()30 %n/a111111
      \ No newline at end of file diff --git a/target/site/jacoco/musichub.business/SortByDate.html b/target/site/jacoco/musichub.business/SortByDate.html index 8f4b2f7..6f9a099 100644 --- a/target/site/jacoco/musichub.business/SortByDate.html +++ b/target/site/jacoco/musichub.business/SortByDate.html @@ -1 +1 @@ -SortByDate

      SortByDate

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
      Total9 of 90 %0 of 0n/a222222
      compare(Album, Album)60 %n/a111111
      SortByDate()30 %n/a111111
      \ No newline at end of file +SortByDate

      SortByDate

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
      Total9 of 90 %0 of 0n/a222222
      compare(Album, Album)60 %n/a111111
      SortByDate()30 %n/a111111
      \ No newline at end of file diff --git a/target/site/jacoco/musichub.business/SortByGenre.html b/target/site/jacoco/musichub.business/SortByGenre.html index 6dd6e7d..d89caea 100644 --- a/target/site/jacoco/musichub.business/SortByGenre.html +++ b/target/site/jacoco/musichub.business/SortByGenre.html @@ -1 +1 @@ -SortByGenre

      SortByGenre

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
      Total9 of 90 %0 of 0n/a222222
      compare(Song, Song)60 %n/a111111
      SortByGenre()30 %n/a111111
      \ No newline at end of file +SortByGenre

      SortByGenre

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
      Total9 of 90 %0 of 0n/a222222
      compare(Song, Song)60 %n/a111111
      SortByGenre()30 %n/a111111
      \ 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 f7cd669..2f40e82 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 483 of 2 13430 %160 of 17910 %1401783735135182815
      MusicHub8740 %1240 %8585209209232311
      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 +musichub.business

      musichub.business

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
      Total1 588 of 2 23929 %175 of 1949 %1491873935335384815
      MusicHub9730 %1400 %9595228228252511
      Album3300 %140 %161684849911
      AudioBook1174728 %8220 %121727394901
      AudioElement9118166 %8220 %101531734901
      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 15d2893..8bc89c8 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 483 of 2 13430 %160 of 17910 %1401783735135182815
      MusicHub.java9010 %1240 %9191215215292944
      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 +musichub.business

      musichub.business

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
      Total1 588 of 2 23929 %175 of 1949 %1491873935335384815
      MusicHub.java1 0000 %1400 %101101234234313144
      Album.java3300 %140 %161684849911
      AudioBook.java1174728 %8220 %121727394901
      AudioElement.java9118166 %8220 %101531734901
      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.html b/target/site/jacoco/musichub.main/Main.html index 3666c2b..f24445f 100644 --- a/target/site/jacoco/musichub.main/Main.html +++ b/target/site/jacoco/musichub.main/Main.html @@ -1 +1 @@ -Main

      Main

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
      Total625 of 6250 %42 of 420 %313121521533
      main(String[])5790 %420 %292919919911
      printAvailableCommands()430 %n/a11151511
      Main()0 %n/a111111
      \ No newline at end of file +Main

      Main

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
      Total722 of 7220 %43 of 430 %323225125133
      main(String[])6730 %430 %303023423411
      printAvailableCommands()460 %n/a11161611
      Main()0 %n/a111111
      \ 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 121cc55..d2b3fb0 100644 --- a/target/site/jacoco/musichub.main/Main.java.html +++ b/target/site/jacoco/musichub.main/Main.java.html @@ -31,7 +31,7 @@ import static musichub.util.Policy.showTerm; if (choice.length() == 0) System.exit(0); while (!choice.equals("")) { //if the user puts nothing, quit the loop/system - switch (choice.charAt(0)) { + switch (choice.charAt(0)) { case 'q': //added the option directly in the switch instead of the loop System.exit(0); case 'h': @@ -54,240 +54,283 @@ import static musichub.util.Policy.showTerm; 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; + LogHandler.write("No album found with the requested title", "WARNING"); + 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()); + 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(); + 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; + List<AudioElement> songs = theHub.getAlbumSongs(albumTitle); + System.out.println(theHub.getAlbumSongs(albumTitle)); + String song = scan.nextLine(); + theHub.getAudioElement(songs, song); + } catch (NoAlbumFoundException ex) { + LogHandler.write("No album found with the requested title", "WARNING"); + 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; + 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("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 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; + int length; + try { + System.out.println("Song length in seconds: "); + length = Integer.parseInt(scan.nextLine()); + } catch (NumberFormatException ex) { + String logMsg = "You've not provided a number for the length."; + LogHandler.write(logMsg, "ERROR"); //write a line in the log file + System.err.println(logMsg); + System.out.println("Type h for available commands"); + choice = scan.nextLine(); + break; + } + + System.out.println("Song content: "); + String content = scan.nextLine(); + if (!isPathValid(content)) { + String logMsg = "The music file cannot be found with the path you've provided or the extension is not .wav"; + LogHandler.write(logMsg, "ERROR"); //write a line in the log file + System.err.println(logMsg); + System.out.println("Type 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()); + LogHandler.write("Song successfully created", "INFO"); + 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; + 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()); + LogHandler.write("Album successfully created", "INFO"); + 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("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(); + 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; + theHub.addElementToAlbum(songTitle, titleAlbum); + } catch (NoAlbumFoundException | NoElementFoundException ex) { + System.out.println(ex.getMessage()); + } + LogHandler.write("Song successfully added to the album", "INFO"); + 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; + 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); + LogHandler.write("Audiobook successfully created", "INFO"); + 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: "); + 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(); + 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()); - } + 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; + System.out.println("Type y to add a new one, n to end"); + choice = scan.nextLine(); + } + LogHandler.write("Playlist successfully created", "INFO"); + 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(); + 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; + theHub.deletePlayList(plTitle); + } catch (NoPlayListFoundException ex) { + System.out.println(ex.getMessage()); + } + LogHandler.write("Playlist successfully deleted", "INFO"); + 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; + theHub.saveElements(); + theHub.saveAlbums(); + theHub.savePlayLists(); + LogHandler.write("Elements, albums and playlists successfully saved", "INFO"); + System.out.println("Elements, albums and playlists saved!"); + printAvailableCommands(); + choice = scan.nextLine(); + break; case 'r': //search a music try { - theHub.searchAudioElement(); + theHub.searchAudioElement(); } - catch (NoElementFoundException e){ - System.err.println(e.getMessage()); + catch (NoElementFoundException e){ + System.err.println(e.getMessage()); } - catch (java.io.FileNotFoundException e){ - System.err.println(e.getMessage()+" Please create a file with the extension .wav inside the song folder at root of the app"); - } - printAvailableCommands(); + catch (java.io.FileNotFoundException e){ + LogHandler.write("Please create a file with the extension .wav inside the song folder at root of the app", "ERROR"); + System.err.println(e.getMessage() + " Please create a file with the extension .wav inside the song folder at root of the app"); + } + 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; + LogHandler.read(); + System.out.println("Type h for available commands"); + choice = scan.nextLine(); + break; + case 'm': + //songs of a playlist + System.out.println("Songs of a playlist will be displayed; enter the playlist name, available playlists are:"); + System.out.println(theHub.getPlayListsTitles()); + + playListTitle = scan.nextLine(); + try { + List<AudioElement> songs = theHub.getPlayListSongs(playListTitle); + System.out.println(theHub.getPlayListSongs(playListTitle)); + String song = scan.nextLine(); + theHub.getAudioElement(songs, song); + } catch (NoPlayListFoundException ex) { + LogHandler.write("No playlist found with the requested title", "WARNING"); + System.out.println("No playlist found with the requested title " + ex.getMessage()); + } + printAvailableCommands(); + choice = scan.nextLine(); + break; default: - break; + 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"); - } + 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("m: display songs of a playlist"); + 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.main/index.html b/target/site/jacoco/musichub.main/index.html index cd2b4c7..9101830 100644 --- a/target/site/jacoco/musichub.main/index.html +++ b/target/site/jacoco/musichub.main/index.html @@ -1 +1 @@ -musichub.main

      musichub.main

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
      Total625 of 6250 %42 of 420 %31312152153311
      Main6250 %420 %31312152153311
      \ No newline at end of file +musichub.main

      musichub.main

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
      Total722 of 7220 %43 of 430 %32322512513311
      Main7220 %430 %32322512513311
      \ No newline at end of file diff --git a/target/site/jacoco/musichub.main/index.source.html b/target/site/jacoco/musichub.main/index.source.html index 60b6575..a2635d9 100644 --- a/target/site/jacoco/musichub.main/index.source.html +++ b/target/site/jacoco/musichub.main/index.source.html @@ -1 +1 @@ -musichub.main

      musichub.main

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
      Total625 of 6250 %42 of 420 %31312152153311
      Main.java6250 %420 %31312152153311
      \ No newline at end of file +musichub.main

      musichub.main

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
      Total722 of 7220 %43 of 430 %32322512513311
      Main.java7220 %430 %32322512513311
      \ No newline at end of file diff --git a/target/site/jacoco/musichub.util/Policy.html b/target/site/jacoco/musichub.util/Policy.html index 11ce779..e87278e 100644 --- a/target/site/jacoco/musichub.util/Policy.html +++ b/target/site/jacoco/musichub.util/Policy.html @@ -1 +1 @@ -Policy

      Policy

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
      Total53 of 530 %5 of 50 %66202033
      showTerm()390 %50 %44151511
      Policy()70 %n/a112211
      printAgreement()70 %n/a113311
      \ No newline at end of file +Policy

      Policy

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
      Total60 of 600 %5 of 50 %66242433
      showTerm()460 %50 %44191911
      Policy()70 %n/a112211
      printAgreement()70 %n/a113311
      \ No newline at end of file diff --git a/target/site/jacoco/musichub.util/Policy.java.html b/target/site/jacoco/musichub.util/Policy.java.html index 2eeb294..9739279 100644 --- a/target/site/jacoco/musichub.util/Policy.java.html +++ b/target/site/jacoco/musichub.util/Policy.java.html @@ -1,9 +1,10 @@ Policy.java

      Policy.java

      package musichub.util;
       
      +import java.io.IOException;
       import java.util.Scanner;
       
       /**
      - * Class ...
      + * Class offering methods to prompt a policy agreement form to the user.
        *
        * @author Anthony BOULANT
        * @version 1.0
      @@ -18,115 +19,59 @@ public final class Policy {
            * @author Anthony BOULANT
            */
       
      -    public Policy() {
      -        throw new AssertionError("You just can't instantiate this class.");
      +    public Policy() {
      +        throw new AssertionError("You just can't instantiate this class.");
           }
       
      +    /**
      +     * Method prompting the whole policy agreement process
      +     *
      +     * @author Anthony BOULANT
      +     */
           public static void showTerm() {
       
      -        String termsAndConditions = "Terms and Conditions\n" +
      -                "\n" +
      -                "\n" +
      -                "In using this website you are deemed to have read and agreed to the following terms and conditions:\n" +
      -                "\n" +
      -                "\n" +
      -                "The following terminology applies to these Terms and Conditions, Privacy Statement and Disclaimer Notice and any or all Agreements: \"Client\", “You” and “Your” refers to you, the person accessing this website and accepting the Company’s terms and conditions. \"The Company\", “Ourselves”, “We” and \"Us\", refers to our Company. “Party”, “Parties”, or “Us”, refers to both the Client and ourselves, or either the Client or ourselves. All terms refer to the offer, acceptance and consideration of payment necessary to undertake the process of our assistance to the Client in the most appropriate manner, whether by formal meetings of a fixed duration, or any other means, for the express purpose of meeting the Client’s needs in respect of provision of the Company’s stated services/products, in accordance with and subject to, prevailing English Law. Any use of the above terminology or other words in the singular, plural, capitalisation and/or he/she or they, are taken as interchangeable and therefore as referring to same.\n" +
      -                "\n" +
      -                "\n" +
      -                "Privacy Statement\n" +
      -                "We are committed to protecting your privacy. Authorized employees within the company on a need to know basis only use any information collected from individual customers. We constantly review our systems and data to ensure the best possible service to our customers. Parliament has created specific offences for unauthorised actions against computer systems and data. We will investigate any such actions with a view to prosecuting and/or taking civil proceedings to recover damages against those responsible\n" +
      -                "\n" +
      -                "\n" +
      -                "Confidentiality\n" +
      -                "We are registered under the Data Protection Act 1998 and as such, any information concerning the Client and their respective Client Records may be passed to third parties. However, Client records are regarded as confidential and therefore will not be divulged to any third party, other than if legally required to do so to the appropriate authorities. Clients have the right to request sight of, and copies of any and all Client Records we keep, on the proviso that we are given reasonable notice of such a request. Clients are requested to retain copies of any literature issued in relation to the provision of our services. Where appropriate, we shall issue Client’s with appropriate written information, handouts or copies of records as part of an agreed contract, for the benefit of both parties.\n" +
      -                "\n" +
      -                "We will not sell, share, or rent your personal information to any third party or use your e-mail address for unsolicited mail. Any emails sent by this Company will only be in connection with the provision of agreed services and products.\n" +
      -                "\n" +
      -                "\n" +
      -                "Disclaimer\n" +
      -                "Exclusions and Limitations \n" +
      -                "The information on this web site is provided on an \"as is\" basis. To the fullest extent permitted by law, this Company:\n" +
      -                "\uF0A7\texcludes all representations and warranties relating to this website and its contents or which is or may be provided by any affiliates or any other third party, including in relation to any inaccuracies or omissions in this website and/or the Company’s literature; and \n" +
      -                "\uF0A7\texcludes all liability for damages arising out of or in connection with your use of this website. This includes, without limitation, direct loss, loss of business or profits (whether or not the loss of such profits was foreseeable, arose in the normal course of things or you have advised this Company of the possibility of such potential loss), damage caused to your computer, computer software, systems and programs and the data thereon or any other direct or indirect, consequential and incidental damages. \n" +
      -                "This Company does not however exclude liability for death or personal injury caused by its negligence. The above exclusions and limitations apply only to the extent permitted by law. None of your statutory rights as a consumer are affected. \n" +
      -                "\n" +
      -                "\n" +
      -                "\n" +
      -                "\n" +
      -                "\n" +
      -                "\n" +
      -                "Cancellation Policy\n" +
      -                "Minimum 24 hours’ notice of cancellation required. Notification for instance, in person, via email, mobile phone ‘text message’ and/or fax, or any other means will be accepted subject to confirmation in writing. We reserve the right to levy a £30 charge to cover any subsequent administrative expenses.\n" +
      -                "\n" +
      -                "\n" +
      -                "Termination of Agreements and Refunds Policy\n" +
      -                "Both the Client and we have the right to terminate any Services Agreement for any reason, including the ending of services that are already underway. No refunds shall be offered, where a Service is deemed to have begun and is, for all intents and purposes, underway. Any monies that have been paid to us which constitute payment in respect of the provision of unused Services, shall be refunded.\n" +
      -                "\n" +
      -                "\n" +
      -                "Availability \n" +
      -                "Unless otherwise stated, the services featured on this website are only available in France, or in relation to postings from France. All advertising is intended solely for the France market. You are solely responsible for evaluating the fitness for a particular purpose of any downloads, programs and text available through this site. Redistribution or republication of any part of this site or its content is prohibited, including such by framing or other similar or any other means, without the express written consent of the Company. The Company does not warrant that the service from this site will be uninterrupted, timely or error free, although it is provided to the best ability. By using this service you thereby indemnify this Company, its employees, agents and affiliates against any loss or damage, in whatever manner, howsoever caused.\n" +
      -                "\n" +
      -                "\n" +
      -                "\n" +
      -                "Copyright Notice \n" +
      -                "Copyright and other relevant intellectual property rights exists on all text relating to the Company’s services and the full content of this application. \n" +
      -                "\n" +
      -                "\n" +
      -                "Communication\n" +
      -                "We have several different e-mail addresses for different queries. These, & other contact information, can be found on our Contact Us link on our website or via Company literature or via the Company’s stated telephone, facsimile or mobile telephone numbers.\n" +
      -                "\n" +
      -                "\n" +
      -                "Force Majeure\n" +
      -                "Neither party shall be liable to the other for any failure to perform any obligation under any Agreement which is due to an event beyond the control of such party including but not limited to any Act of God, terrorism, war, Political insurgence, insurrection, riot, civil unrest, act of civil or military authority, uprising, earthquake, flood or any other natural or manmade eventuality outside of our control, which causes the termination of an agreement or contract entered into, nor which could have been reasonably foreseen. Any Party affected by such event shall forthwith inform the other Party of the same and shall use all reasonable endeavours to comply with the terms and conditions of any Agreement contained herein.\n" +
      -                "\n" +
      -                "\n" +
      -                "Waiver\n" +
      -                "Failure of either Party to insist upon strict performance of any provision of this or any Agreement or the failure of either Party to exercise any right or remedy to which it, he or they are entitled hereunder shall not constitute a waiver thereof and shall not cause a diminution of the obligations under this or any Agreement. No waiver of any of the provisions of this or any Agreement shall be effective unless it is expressly stated to be such and signed by both Parties.\n" +
      -                "\n" +
      -                "\n" +
      -                "General\n" +
      -                "The laws of France govern these terms and conditions. By accessing this application, you consent to these terms and conditions and to the exclusive jurisdiction of the English courts in all disputes arising out of such access. If any of these terms are deemed invalid or unenforceable for any reason (including, but not limited to the exclusions and limitations set out above), then the invalid or unenforceable provision will be severed from these terms and the remaining terms will continue to apply. Failure of the Company to enforce any of the provisions set out in these Terms and Conditions and any Agreement, or failure to exercise any option to terminate, shall not be construed as waiver of such provisions and shall not affect the validity of these Terms and Conditions or of any Agreement or any part thereof, or the right thereafter to enforce each and every provision. These Terms and Conditions shall not be amended, modified, varied or supplemented except in writing and signed by duly authorised representatives of the Company.\n" +
      -                "\n" +
      -                "\n" +
      -                "Notification of Changes\n" +
      -                "The Company reserves the right to change these conditions from time to time as it sees fit and your continued use of the site will signify your acceptance of any adjustment to these terms. If there are any changes to our privacy policy, we will announce that these changes have been made on our home page and on other key pages on our site. If there are any changes in how we use our site customers’ Personally Identifiable Information, notification by e-mail or postal mail will be made to those affected by this change. Any changes to our privacy policy will be posted on our web site 30 days prior to these changes taking place. You are therefore advised to re-read this statement on a regular basis\n" +
      -                "\n" +
      -                "\n" +
      -                "These terms and conditions form part of the Agreement between the Client and ourselves. Your accessing of this website and/or undertaking of a booking or Agreement indicates your understanding, agreement to and acceptance, of the Disclaimer Notice and the full Terms and Conditions contained herein. Your statutory Consumer Rights are unaffected.    \n" +
      -                "© Company Name 2021 All Rights Reserved\n" +
      -                "\n" +
      -                "\n" +
      -                "\n" +
      -                "\n" +
      -                "\n" +
      -                "\n" +
      -                "\n" +
      -                "\n" +
      -                "\n";
      +        String termsAndConditions = """
      +                Terms and Conditions
      +                In using this website you are deemed to have read and agreed to the following terms and conditions:
      +                Privacy Statement
      +                We are committed to protecting your privacy. Authorized employees within the company on a need to know basis only use any information collected from individual customers. We constantly review our systems and data to ensure the best possible service to our customers. Parliament has created specific offences for unauthorised actions against computer systems and data. We will investigate any such actions with a view to prosecuting and/or taking civil proceedings to recover damages against those responsible
      +                These terms and conditions form part of the Agreement between the Client and ourselves. Your accessing of this website and/or undertaking of a booking or Agreement indicates your understanding, agreement to and acceptance, of the Disclaimer Notice and the full Terms and Conditions contained herein. Your statutory Consumer Rights are unaffected.   s
      +                © Company Name 2021 All Rights Reserved
      +                """;
       
      -        printAgreement();
      -        Scanner scan = new Scanner(System.in);
      -        String choice = scan.nextLine().toLowerCase();
      +        printAgreement();
      +        Scanner scan = new Scanner(System.in);
      +        String choice = scan.nextLine().toLowerCase();
       
      -        while (!choice.equals("y")) {
      -            switch (choice.charAt(0)) {
      -                case 'n' -> System.exit(0);
      -                case 'r' -> {
      -                    System.out.println(termsAndConditions);
      -                    printAgreement();
      -                    choice = scan.nextLine().toLowerCase();
      +        while (!choice.equals("y")) {
      +            switch (choice.charAt(0)) {
      +                case 'n' -> System.exit(0);
      +                case 'r' -> {
      +                    System.out.println(termsAndConditions);
      +                    printAgreement();
      +                    choice = scan.nextLine().toLowerCase();
                       }
      -                default -> {
      -                    printAgreement();
      -                    choice = scan.nextLine().toLowerCase();
      +                default -> {
      +                    printAgreement();
      +                    choice = scan.nextLine().toLowerCase();
                       }
                   }
               }
      -    }
      +        try {
      +            LogHandler.write("Terms accepted by the user.", "INFO");
      +        } catch (IOException e) {
      +            e.printStackTrace();
      +        }
      +    }
       
      +    /**
      +     * Method printing the commands the user can use.
      +     *
      +     * @author Anthony BOULANT
      +     */
           private static void printAgreement() {
      -        System.out.println("By using our app, do you accept our Terms and Conditions ?");
      -        System.out.println("[YES : y    NO :  n    READ : r]");
      -    }
      +        System.out.println("By using our app, do you accept our Terms and Conditions ?");
      +        System.out.println("[YES : y    NO :  n    READ : r]");
      +    }
       }
       
      \ No newline at end of file diff --git a/target/site/jacoco/musichub.util/index.html b/target/site/jacoco/musichub.util/index.html index 936c84a..59a15e9 100644 --- a/target/site/jacoco/musichub.util/index.html +++ b/target/site/jacoco/musichub.util/index.html @@ -1 +1 @@ -musichub.util

      musichub.util

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
      Total59 of 21071 %5 of 944 %617246631214
      Policy530 %50 %6620203311
      XMLHandler66691 %n/a044250401
      LogHandler46100 %n/a030110301
      PathValidation39100 %4100 %040100201
      \ No newline at end of file +musichub.util

      musichub.util

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
      Total66 of 21769 %5 of 944 %617287031214
      Policy600 %50 %6624243311
      XMLHandler66691 %n/a044250401
      LogHandler46100 %n/a030110301
      PathValidation39100 %4100 %040100201
      \ No newline at end of file diff --git a/target/site/jacoco/musichub.util/index.source.html b/target/site/jacoco/musichub.util/index.source.html index b7009ee..f534830 100644 --- a/target/site/jacoco/musichub.util/index.source.html +++ b/target/site/jacoco/musichub.util/index.source.html @@ -1 +1 @@ -musichub.util

      musichub.util

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
      Total59 of 21071 %5 of 944 %617246631214
      Policy.java530 %50 %6620203311
      XMLHandler.java66691 %n/a044250401
      LogHandler.java46100 %n/a030110301
      PathValidation.java39100 %4100 %040100201
      \ No newline at end of file +musichub.util

      musichub.util

      ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
      Total66 of 21769 %5 of 944 %617287031214
      Policy.java600 %50 %6624243311
      XMLHandler.java66691 %n/a044250401
      LogHandler.java46100 %n/a030110301
      PathValidation.java39100 %4100 %040100201
      \ No newline at end of file diff --git a/target/spoteezer-0.1.0-shaded.jar b/target/spoteezer-0.1.0-shaded.jar index 4c8e6af..424434b 100644 Binary files a/target/spoteezer-0.1.0-shaded.jar 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 index 4c8e6af..424434b 100644 Binary files a/target/spoteezer-0.1.0.jar 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 index bb2ca30..e925716 100644 --- a/target/surefire-reports/TEST-musichub.business.CategoryTest.xml +++ b/target/surefire-reports/TEST-musichub.business.CategoryTest.xml @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + diff --git a/target/surefire-reports/TEST-musichub.business.LanguageTest.xml b/target/surefire-reports/TEST-musichub.business.LanguageTest.xml index 5ebb15c..62f74fc 100644 --- a/target/surefire-reports/TEST-musichub.business.LanguageTest.xml +++ b/target/surefire-reports/TEST-musichub.business.LanguageTest.xml @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + diff --git a/target/surefire-reports/TEST-musichub.business.PlayListTest.xml b/target/surefire-reports/TEST-musichub.business.PlayListTest.xml index dde9373..5c92f89 100644 --- a/target/surefire-reports/TEST-musichub.business.PlayListTest.xml +++ b/target/surefire-reports/TEST-musichub.business.PlayListTest.xml @@ -1,5 +1,5 @@ - + @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + @@ -56,7 +56,7 @@ - + diff --git a/target/surefire-reports/TEST-musichub.business.SongTest.xml b/target/surefire-reports/TEST-musichub.business.SongTest.xml index 2bfbc93..4623ab2 100644 --- a/target/surefire-reports/TEST-musichub.business.SongTest.xml +++ b/target/surefire-reports/TEST-musichub.business.SongTest.xml @@ -1,5 +1,5 @@ - + @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + @@ -55,9 +55,9 @@ - + - + diff --git a/target/surefire-reports/TEST-musichub.util.LogHandlerTest.xml b/target/surefire-reports/TEST-musichub.util.LogHandlerTest.xml index b5707c9..303888b 100644 --- a/target/surefire-reports/TEST-musichub.util.LogHandlerTest.xml +++ b/target/surefire-reports/TEST-musichub.util.LogHandlerTest.xml @@ -1,5 +1,5 @@ - + @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + @@ -55,7 +55,7 @@ - - - + + + \ 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 index 10ec3d9..2ed37c9 100644 --- a/target/surefire-reports/TEST-musichub.util.PathValidationTest.xml +++ b/target/surefire-reports/TEST-musichub.util.PathValidationTest.xml @@ -1,5 +1,5 @@ - + @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + diff --git a/target/surefire-reports/TEST-musichub.util.XMLHandlerTest.xml b/target/surefire-reports/TEST-musichub.util.XMLHandlerTest.xml index 3022713..6ee5744 100644 --- a/target/surefire-reports/TEST-musichub.util.XMLHandlerTest.xml +++ b/target/surefire-reports/TEST-musichub.util.XMLHandlerTest.xml @@ -1,5 +1,5 @@ - + @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + @@ -55,6 +55,6 @@ - + \ No newline at end of file diff --git a/target/surefire-reports/musichub.business.PlayListTest.txt b/target/surefire-reports/musichub.business.PlayListTest.txt index c738c60..7109820 100644 --- a/target/surefire-reports/musichub.business.PlayListTest.txt +++ b/target/surefire-reports/musichub.business.PlayListTest.txt @@ -1,4 +1,4 @@ ------------------------------------------------------------------------------- Test set: musichub.business.PlayListTest ------------------------------------------------------------------------------- -Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 s - in 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 index 4e87759..b940dd9 100644 --- a/target/surefire-reports/musichub.business.SongTest.txt +++ b/target/surefire-reports/musichub.business.SongTest.txt @@ -1,4 +1,4 @@ ------------------------------------------------------------------------------- Test set: musichub.business.SongTest ------------------------------------------------------------------------------- -Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 s - in musichub.business.SongTest +Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 s - in musichub.business.SongTest diff --git a/target/surefire-reports/musichub.util.LogHandlerTest.txt b/target/surefire-reports/musichub.util.LogHandlerTest.txt index 14d9938..520c865 100644 --- a/target/surefire-reports/musichub.util.LogHandlerTest.txt +++ b/target/surefire-reports/musichub.util.LogHandlerTest.txt @@ -1,4 +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 +Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.075 s - in musichub.util.LogHandlerTest diff --git a/target/surefire-reports/musichub.util.PathValidationTest.txt b/target/surefire-reports/musichub.util.PathValidationTest.txt index 39ffd40..73b70d5 100644 --- a/target/surefire-reports/musichub.util.PathValidationTest.txt +++ b/target/surefire-reports/musichub.util.PathValidationTest.txt @@ -1,4 +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 +Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in musichub.util.PathValidationTest diff --git a/target/surefire-reports/musichub.util.XMLHandlerTest.txt b/target/surefire-reports/musichub.util.XMLHandlerTest.txt index 8938cdc..975dc3e 100644 --- a/target/surefire-reports/musichub.util.XMLHandlerTest.txt +++ b/target/surefire-reports/musichub.util.XMLHandlerTest.txt @@ -1,4 +1,4 @@ ------------------------------------------------------------------------------- Test set: musichub.util.XMLHandlerTest ------------------------------------------------------------------------------- -Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.119 s - in musichub.util.XMLHandlerTest +Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 s - in musichub.util.XMLHandlerTest -- cgit v1.2.3