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. --- .../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 +- 4 files changed, 2 insertions(+), 42 deletions(-) delete mode 100644 target/site/jacoco/musichub.business/PathValidation.html delete mode 100644 target/site/jacoco/musichub.business/PathValidation.java.html (limited to 'target/site/jacoco/musichub.business') 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 -- cgit v1.2.3