diff --git a/.gradle/8.14/executionHistory/executionHistory.bin b/.gradle/8.14/executionHistory/executionHistory.bin index 44f2109..37497f3 100644 Binary files a/.gradle/8.14/executionHistory/executionHistory.bin and b/.gradle/8.14/executionHistory/executionHistory.bin differ diff --git a/.gradle/8.14/executionHistory/executionHistory.lock b/.gradle/8.14/executionHistory/executionHistory.lock index b190eb5..0d16312 100644 Binary files a/.gradle/8.14/executionHistory/executionHistory.lock and b/.gradle/8.14/executionHistory/executionHistory.lock differ diff --git a/.gradle/8.14/fileHashes/fileHashes.bin b/.gradle/8.14/fileHashes/fileHashes.bin index b2380bf..e66abd9 100644 Binary files a/.gradle/8.14/fileHashes/fileHashes.bin and b/.gradle/8.14/fileHashes/fileHashes.bin differ diff --git a/.gradle/8.14/fileHashes/fileHashes.lock b/.gradle/8.14/fileHashes/fileHashes.lock index 66a32fb..55d99a4 100644 Binary files a/.gradle/8.14/fileHashes/fileHashes.lock and b/.gradle/8.14/fileHashes/fileHashes.lock differ diff --git a/.gradle/8.14/fileHashes/resourceHashesCache.bin b/.gradle/8.14/fileHashes/resourceHashesCache.bin index c3afadc..ad45f31 100644 Binary files a/.gradle/8.14/fileHashes/resourceHashesCache.bin and b/.gradle/8.14/fileHashes/resourceHashesCache.bin differ diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock index 16202b5..1e0818a 100644 Binary files a/.gradle/buildOutputCleanup/buildOutputCleanup.lock and b/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/.gradle/file-system.probe b/.gradle/file-system.probe index 6da4660..15f9cd7 100644 Binary files a/.gradle/file-system.probe and b/.gradle/file-system.probe differ diff --git a/build/classes/java/main/hhn/temp/project/expections/SQLNoConectionException.class b/build/classes/java/main/hhn/temp/project/expections/SQLNoConectionException.class index 98daa49..c1e915e 100644 Binary files a/build/classes/java/main/hhn/temp/project/expections/SQLNoConectionException.class and b/build/classes/java/main/hhn/temp/project/expections/SQLNoConectionException.class differ diff --git a/build/classes/java/main/hhn/temp/project/provider/MySql.class b/build/classes/java/main/hhn/temp/project/provider/MySql.class index 7dc4f8d..56f2079 100644 Binary files a/build/classes/java/main/hhn/temp/project/provider/MySql.class and b/build/classes/java/main/hhn/temp/project/provider/MySql.class differ diff --git a/build/classes/java/test/project/BadCaseTaskTest.class b/build/classes/java/test/project/BadCaseTaskTest.class index 4558ef1..84c9b92 100644 Binary files a/build/classes/java/test/project/BadCaseTaskTest.class and b/build/classes/java/test/project/BadCaseTaskTest.class differ diff --git a/build/classes/java/test/project/GoodCaseTaskTest.class b/build/classes/java/test/project/GoodCaseTaskTest.class index bf84e0e..754adcb 100644 Binary files a/build/classes/java/test/project/GoodCaseTaskTest.class and b/build/classes/java/test/project/GoodCaseTaskTest.class differ diff --git a/build/jacoco/test.exec b/build/jacoco/test.exec index 73c8257..aca9eaa 100644 Binary files a/build/jacoco/test.exec and b/build/jacoco/test.exec differ diff --git a/build/reports/tests/test/classes/project.BadCaseTaskTest.html b/build/reports/tests/test/classes/project.BadCaseTaskTest.html index be41eaa..5f06838 100644 --- a/build/reports/tests/test/classes/project.BadCaseTaskTest.html +++ b/build/reports/tests/test/classes/project.BadCaseTaskTest.html @@ -29,7 +29,7 @@
-
0
+
6

failures

@@ -41,7 +41,7 @@
-
4.240s
+
30.989s

duration

@@ -50,8 +50,8 @@ -
-
100%
+
+
14%

successful

@@ -61,10 +61,100 @@
+

Failed tests

+
+ +

Assert an IllegalArgumentException when calling a non-Existing Task

+ +
hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
+	at app//hhn.temp.project.provider.MySql.connect(MySql.java:35)
+	at app//hhn.temp.project.TaskManager.<init>(TaskManager.java:19)
+	at app//project.BadCaseTaskTest.assertExceptionOnCallingANonextistingTask(BadCaseTaskTest.java:85)
+	at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569)
+	at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
+	at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
+
+
+
+
+ +

Assert an IllegalArgumentException when you create a new Task with no or wrong Name, Description

+ +
hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
+	at app//hhn.temp.project.provider.MySql.connect(MySql.java:35)
+	at app//hhn.temp.project.TaskManager.<init>(TaskManager.java:19)
+	at app//project.BadCaseTaskTest.assertExceptionOnCreateNewTask(BadCaseTaskTest.java:41)
+	at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569)
+	at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
+	at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
+
+
+
+
+ +

Assert an IllegalArgumentException when you create a new Task with the same Name of a exits Task

+ +
hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
+	at app//hhn.temp.project.provider.MySql.connect(MySql.java:35)
+	at app//hhn.temp.project.TaskManager.<init>(TaskManager.java:19)
+	at app//project.BadCaseTaskTest.assertExceptionOnCreateNewTaskWithExitsName(BadCaseTaskTest.java:56)
+	at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569)
+	at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
+	at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
+
+
+
+
+ +

Assert an IllegalArgumentException when delete a existing Task with wrong arguments

+ +
hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
+	at app//hhn.temp.project.provider.MySql.connect(MySql.java:35)
+	at app//hhn.temp.project.TaskManager.<init>(TaskManager.java:19)
+	at app//project.BadCaseTaskTest.assertExceptionOnDeletingTask(BadCaseTaskTest.java:101)
+	at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569)
+	at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
+	at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
+
+
+
+
+ +

Assert an IllegalArgumentException when you edit a exits Task

+ +
hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
+	at app//hhn.temp.project.provider.MySql.connect(MySql.java:35)
+	at app//hhn.temp.project.TaskManager.<init>(TaskManager.java:19)
+	at app//project.BadCaseTaskTest.assertExceptionOnEditATask(BadCaseTaskTest.java:69)
+	at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569)
+	at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
+	at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
+
+
+
+
+ +

Get a Exeption by setWorker and getWorker

+ +
hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
+	at app//hhn.temp.project.provider.MySql.connect(MySql.java:35)
+	at app//hhn.temp.project.TaskManager.<init>(TaskManager.java:19)
+	at app//project.BadCaseTaskTest.assertExeptionBySetAndGetAuthorOfATask(BadCaseTaskTest.java:118)
+	at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569)
+	at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
+	at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
+
+
+
+
+

Tests

@@ -78,44 +168,44 @@ - + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + +
Create a new TaskManager and test Connecton assertCreateNewTaskManager()4.028s4.103s passed
Assert an IllegalArgumentException when calling a non-Existing TaskassertExceptionOnCallingANonextistingTask()0.011spassedAssert an IllegalArgumentException when calling a non-Existing TaskassertExceptionOnCallingANonextistingTask()4.381sfailed
Assert an IllegalArgumentException when you create a new Task with no or wrong Name, DescriptionassertExceptionOnCreateNewTask()0.011spassedAssert an IllegalArgumentException when you create a new Task with no or wrong Name, DescriptionassertExceptionOnCreateNewTask()4.102sfailed
Assert an IllegalArgumentException when you create a new Task with the same Name of a exits TaskassertExceptionOnCreateNewTaskWithExitsName()0.019spassedAssert an IllegalArgumentException when you create a new Task with the same Name of a exits TaskassertExceptionOnCreateNewTaskWithExitsName()4.368sfailed
Assert an IllegalArgumentException when delete a existing Task with wrong argumentsassertExceptionOnDeletingTask()0.012spassedAssert an IllegalArgumentException when delete a existing Task with wrong argumentsassertExceptionOnDeletingTask()4.204sfailed
Assert an IllegalArgumentException when you edit a exits TaskassertExceptionOnEditATask()0.150spassedAssert an IllegalArgumentException when you edit a exits TaskassertExceptionOnEditATask()5.676sfailed
Get a Exeption by setWorker and getWorkerassertExeptionBySetAndGetAuthorOfATask()0.009spassedGet a Exeption by setWorker and getWorkerassertExeptionBySetAndGetAuthorOfATask()4.155sfailed
@@ -127,7 +217,7 @@
Generated by -Gradle 8.14 at 06.12.2025, 20:04:50

+Gradle 8.14 at 07.12.2025, 14:40:13

diff --git a/build/reports/tests/test/classes/project.GoodCaseTaskTest.html b/build/reports/tests/test/classes/project.GoodCaseTaskTest.html index aa1bf31..af1da0c 100644 --- a/build/reports/tests/test/classes/project.GoodCaseTaskTest.html +++ b/build/reports/tests/test/classes/project.GoodCaseTaskTest.html @@ -29,7 +29,7 @@
-
0
+
6

failures

@@ -41,7 +41,7 @@
-
0.057s
+
24.847s

duration

@@ -50,8 +50,8 @@ -
-
100%
+
+
0%

successful

@@ -61,10 +61,109 @@
+

Failed tests

+
+ +

Check TaskList if Task there

+ +
hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
+	at app//hhn.temp.project.provider.MySql.connect(MySql.java:35)
+	at app//hhn.temp.project.TaskManager.<init>(TaskManager.java:19)
+	at app//project.GoodCaseTaskTest.assertCheckTaskListForTask(GoodCaseTaskTest.java:89)
+	at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569)
+	at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
+	at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
+
+
+
+
+ +

Create a new Task

+ +
hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
+	at app//hhn.temp.project.provider.MySql.connect(MySql.java:35)
+	at app//hhn.temp.project.TaskManager.<init>(TaskManager.java:19)
+	at app//project.GoodCaseTaskTest.assertCreateNewTask(GoodCaseTaskTest.java:47)
+	at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569)
+	at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
+	at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
+
+
+
+
+ +

Create a new TaskManager and test Connecton

+ +
org.opentest4j.AssertionFailedError: Unexpected exception thrown: hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
+	at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152)
+	at app//org.junit.jupiter.api.AssertDoesNotThrow.createAssertionFailedError(AssertDoesNotThrow.java:84)
+	at app//org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:75)
+	at app//org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:58)
+	at app//org.junit.jupiter.api.Assertions.assertDoesNotThrow(Assertions.java:3224)
+	at app//project.GoodCaseTaskTest.assertCreateNewTaskManager(GoodCaseTaskTest.java:33)
+	at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569)
+	at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
+	at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
+Caused by: hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
+	at app//hhn.temp.project.provider.MySql.connect(MySql.java:35)
+	at app//hhn.temp.project.TaskManager.<init>(TaskManager.java:19)
+	at app//project.GoodCaseTaskTest.lambda$assertCreateNewTaskManager$0(GoodCaseTaskTest.java:33)
+	at app//org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:71)
+	... 6 more
+
+
+
+
+ +

Delete Task

+ +
hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
+	at app//hhn.temp.project.provider.MySql.connect(MySql.java:35)
+	at app//hhn.temp.project.TaskManager.<init>(TaskManager.java:19)
+	at app//project.GoodCaseTaskTest.assertDeleteTask(GoodCaseTaskTest.java:63)
+	at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569)
+	at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
+	at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
+
+
+
+
+ +

Edit Task

+ +
hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
+	at app//hhn.temp.project.provider.MySql.connect(MySql.java:35)
+	at app//hhn.temp.project.TaskManager.<init>(TaskManager.java:19)
+	at app//project.GoodCaseTaskTest.assertEditATask(GoodCaseTaskTest.java:120)
+	at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569)
+	at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
+	at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
+
+
+
+
+ +

Set Author of a Task

+ +
hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
+	at app//hhn.temp.project.provider.MySql.connect(MySql.java:35)
+	at app//hhn.temp.project.TaskManager.<init>(TaskManager.java:19)
+	at app//project.GoodCaseTaskTest.assertSetAuthorOfATask(GoodCaseTaskTest.java:145)
+	at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569)
+	at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
+	at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
+
+
+
+
+

Tests

@@ -76,40 +175,40 @@ - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + +
Check TaskList if Task thereassertCheckTaskListForTask()0.010spassedCheck TaskList if Task thereassertCheckTaskListForTask()4.108sfailed
Create a new TaskassertCreateNewTask()0.008spassedCreate a new TaskassertCreateNewTask()4.096sfailed
Create a new TaskManager and test ConnectonassertCreateNewTaskManager()0.009spassedCreate a new TaskManager and test ConnectonassertCreateNewTaskManager()4.345sfailed
Delete TaskassertDeleteTask()0.011spassedDelete TaskassertDeleteTask()4.094sfailed
Edit TaskassertEditATask()0.010spassedEdit TaskassertEditATask()4.092sfailed
Set Author of a TaskassertSetAuthorOfATask()0.009spassedSet Author of a TaskassertSetAuthorOfATask()4.112sfailed
@@ -121,7 +220,7 @@
Generated by -Gradle 8.14 at 06.12.2025, 20:04:50

+Gradle 8.14 at 07.12.2025, 14:40:13

diff --git a/build/reports/tests/test/index.html b/build/reports/tests/test/index.html index 20ea8b5..24e67f9 100644 --- a/build/reports/tests/test/index.html +++ b/build/reports/tests/test/index.html @@ -26,7 +26,7 @@
-
0
+
12

failures

@@ -38,7 +38,7 @@
-
4.297s
+
55.836s

duration

@@ -47,8 +47,8 @@ -
-
100%
+
+
7%

successful

@@ -58,6 +58,9 @@
+

Packages

@@ -79,14 +135,14 @@ - + - - - + +
+ project 1312 004.297s100%55.836s7%
@@ -106,24 +162,24 @@ - + project.BadCaseTaskTest 7 +6 0 -0 -4.240s -100% +30.989s +14% - + project.GoodCaseTaskTest 6 +6 0 -0 -0.057s -100% +24.847s +0% @@ -136,7 +192,7 @@
Generated by -Gradle 8.14 at 06.12.2025, 20:04:50

+Gradle 8.14 at 07.12.2025, 14:40:13

diff --git a/build/reports/tests/test/packages/project.html b/build/reports/tests/test/packages/project.html index 6764331..07a3b5c 100644 --- a/build/reports/tests/test/packages/project.html +++ b/build/reports/tests/test/packages/project.html @@ -28,7 +28,7 @@
-
0
+
12

failures

@@ -40,7 +40,7 @@
-
4.297s
+
55.836s

duration

@@ -49,8 +49,8 @@ -
-
100%
+
+
7%

successful

@@ -60,10 +60,66 @@
+

Classes

@@ -77,24 +133,24 @@ - + - - - + + - + - - - + +
+ BadCaseTaskTest 76 004.240s100%30.989s14%
+ GoodCaseTaskTest 66 000.057s100%24.847s0%
@@ -106,7 +162,7 @@
Generated by -Gradle 8.14 at 06.12.2025, 20:04:50

+Gradle 8.14 at 07.12.2025, 14:40:13

diff --git a/build/test-results/test/TEST-project.BadCaseTaskTest.xml b/build/test-results/test/TEST-project.BadCaseTaskTest.xml index a736836..1da5ab5 100644 --- a/build/test-results/test/TEST-project.BadCaseTaskTest.xml +++ b/build/test-results/test/TEST-project.BadCaseTaskTest.xml @@ -1,13 +1,67 @@ - + - - - - - - - + + hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.) + at app//hhn.temp.project.provider.MySql.connect(MySql.java:35) + at app//hhn.temp.project.TaskManager.<init>(TaskManager.java:19) + at app//project.BadCaseTaskTest.assertExceptionOnEditATask(BadCaseTaskTest.java:69) + at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569) + at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511) + at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511) + + + + + hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.) + at app//hhn.temp.project.provider.MySql.connect(MySql.java:35) + at app//hhn.temp.project.TaskManager.<init>(TaskManager.java:19) + at app//project.BadCaseTaskTest.assertExceptionOnCreateNewTask(BadCaseTaskTest.java:41) + at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569) + at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511) + at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511) + + + + hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.) + at app//hhn.temp.project.provider.MySql.connect(MySql.java:35) + at app//hhn.temp.project.TaskManager.<init>(TaskManager.java:19) + at app//project.BadCaseTaskTest.assertExceptionOnCreateNewTaskWithExitsName(BadCaseTaskTest.java:56) + at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569) + at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511) + at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511) + + + + hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.) + at app//hhn.temp.project.provider.MySql.connect(MySql.java:35) + at app//hhn.temp.project.TaskManager.<init>(TaskManager.java:19) + at app//project.BadCaseTaskTest.assertExceptionOnDeletingTask(BadCaseTaskTest.java:101) + at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569) + at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511) + at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511) + + + + hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.) + at app//hhn.temp.project.provider.MySql.connect(MySql.java:35) + at app//hhn.temp.project.TaskManager.<init>(TaskManager.java:19) + at app//project.BadCaseTaskTest.assertExeptionBySetAndGetAuthorOfATask(BadCaseTaskTest.java:118) + at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569) + at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511) + at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511) + + + + hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.) + at app//hhn.temp.project.provider.MySql.connect(MySql.java:35) + at app//hhn.temp.project.TaskManager.<init>(TaskManager.java:19) + at app//project.BadCaseTaskTest.assertExceptionOnCallingANonextistingTask(BadCaseTaskTest.java:85) + at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569) + at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511) + at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511) + + diff --git a/build/test-results/test/TEST-project.GoodCaseTaskTest.xml b/build/test-results/test/TEST-project.GoodCaseTaskTest.xml index fdbe520..952a454 100644 --- a/build/test-results/test/TEST-project.GoodCaseTaskTest.xml +++ b/build/test-results/test/TEST-project.GoodCaseTaskTest.xml @@ -1,12 +1,75 @@ - + - - - - - - + + org.opentest4j.AssertionFailedError: Unexpected exception thrown: hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.) + at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152) + at app//org.junit.jupiter.api.AssertDoesNotThrow.createAssertionFailedError(AssertDoesNotThrow.java:84) + at app//org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:75) + at app//org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:58) + at app//org.junit.jupiter.api.Assertions.assertDoesNotThrow(Assertions.java:3224) + at app//project.GoodCaseTaskTest.assertCreateNewTaskManager(GoodCaseTaskTest.java:33) + at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569) + at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511) + at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511) +Caused by: hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.) + at app//hhn.temp.project.provider.MySql.connect(MySql.java:35) + at app//hhn.temp.project.TaskManager.<init>(TaskManager.java:19) + at app//project.GoodCaseTaskTest.lambda$assertCreateNewTaskManager$0(GoodCaseTaskTest.java:33) + at app//org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:71) + ... 6 more + + + + hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.) + at app//hhn.temp.project.provider.MySql.connect(MySql.java:35) + at app//hhn.temp.project.TaskManager.<init>(TaskManager.java:19) + at app//project.GoodCaseTaskTest.assertEditATask(GoodCaseTaskTest.java:120) + at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569) + at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511) + at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511) + + + + hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.) + at app//hhn.temp.project.provider.MySql.connect(MySql.java:35) + at app//hhn.temp.project.TaskManager.<init>(TaskManager.java:19) + at app//project.GoodCaseTaskTest.assertCreateNewTask(GoodCaseTaskTest.java:47) + at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569) + at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511) + at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511) + + + + hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.) + at app//hhn.temp.project.provider.MySql.connect(MySql.java:35) + at app//hhn.temp.project.TaskManager.<init>(TaskManager.java:19) + at app//project.GoodCaseTaskTest.assertCheckTaskListForTask(GoodCaseTaskTest.java:89) + at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569) + at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511) + at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511) + + + + hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.) + at app//hhn.temp.project.provider.MySql.connect(MySql.java:35) + at app//hhn.temp.project.TaskManager.<init>(TaskManager.java:19) + at app//project.GoodCaseTaskTest.assertDeleteTask(GoodCaseTaskTest.java:63) + at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569) + at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511) + at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511) + + + + hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.) + at app//hhn.temp.project.provider.MySql.connect(MySql.java:35) + at app//hhn.temp.project.TaskManager.<init>(TaskManager.java:19) + at app//project.GoodCaseTaskTest.assertSetAuthorOfATask(GoodCaseTaskTest.java:145) + at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569) + at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511) + at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511) + + diff --git a/build/test-results/test/binary/results.bin b/build/test-results/test/binary/results.bin deleted file mode 100644 index 721dcbf..0000000 Binary files a/build/test-results/test/binary/results.bin and /dev/null differ diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/MySql.class.uniqueId2 b/build/tmp/compileJava/compileTransaction/stash-dir/MySql.class.uniqueId2 index cbcdbab..7dc4f8d 100644 Binary files a/build/tmp/compileJava/compileTransaction/stash-dir/MySql.class.uniqueId2 and b/build/tmp/compileJava/compileTransaction/stash-dir/MySql.class.uniqueId2 differ diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/SQLNoConectionException.class.uniqueId3 b/build/tmp/compileJava/compileTransaction/stash-dir/SQLNoConectionException.class.uniqueId3 new file mode 100644 index 0000000..98daa49 Binary files /dev/null and b/build/tmp/compileJava/compileTransaction/stash-dir/SQLNoConectionException.class.uniqueId3 differ diff --git a/build/tmp/compileJava/previous-compilation-data.bin b/build/tmp/compileJava/previous-compilation-data.bin index 3c2cf7a..f8dcceb 100644 Binary files a/build/tmp/compileJava/previous-compilation-data.bin and b/build/tmp/compileJava/previous-compilation-data.bin differ diff --git a/build/tmp/compileTestJava/compileTransaction/stash-dir/BadCaseTaskTest.class.uniqueId0 b/build/tmp/compileTestJava/compileTransaction/stash-dir/BadCaseTaskTest.class.uniqueId0 index 00623e4..4558ef1 100644 Binary files a/build/tmp/compileTestJava/compileTransaction/stash-dir/BadCaseTaskTest.class.uniqueId0 and b/build/tmp/compileTestJava/compileTransaction/stash-dir/BadCaseTaskTest.class.uniqueId0 differ diff --git a/build/tmp/compileTestJava/compileTransaction/stash-dir/GoodCaseTaskTest.class.uniqueId1 b/build/tmp/compileTestJava/compileTransaction/stash-dir/GoodCaseTaskTest.class.uniqueId1 new file mode 100644 index 0000000..bf84e0e Binary files /dev/null and b/build/tmp/compileTestJava/compileTransaction/stash-dir/GoodCaseTaskTest.class.uniqueId1 differ diff --git a/build/tmp/compileTestJava/previous-compilation-data.bin b/build/tmp/compileTestJava/previous-compilation-data.bin index d51b652..6add8fa 100644 Binary files a/build/tmp/compileTestJava/previous-compilation-data.bin and b/build/tmp/compileTestJava/previous-compilation-data.bin differ