fix actions
All checks were successful
Gradle CI with Jacoco and Problems Report / build (push) Successful in 22m7s

This commit is contained in:
Jan-Philipp Luithardt
2025-12-07 14:43:12 +01:00
parent 8b022fa5b1
commit 6c5dfa3170
25 changed files with 522 additions and 104 deletions

View File

@@ -1,12 +1,75 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="project.GoodCaseTaskTest" tests="6" skipped="0" failures="0" errors="0" timestamp="2025-12-06T19:04:50.090Z" hostname="MacBook-Pro-von-Jan.local" time="0.06">
<testsuite name="project.GoodCaseTaskTest" tests="6" skipped="0" failures="6" errors="0" timestamp="2025-12-07T13:39:48.657Z" hostname="Mac.fritz.box" time="24.852">
<properties/>
<testcase name="Create a new TaskManager and test Connecton" classname="project.GoodCaseTaskTest" time="0.009"/>
<testcase name="Edit Task" classname="project.GoodCaseTaskTest" time="0.01"/>
<testcase name="Create a new Task" classname="project.GoodCaseTaskTest" time="0.008"/>
<testcase name="Check TaskList if Task there" classname="project.GoodCaseTaskTest" time="0.01"/>
<testcase name="Delete Task" classname="project.GoodCaseTaskTest" time="0.011"/>
<testcase name="Set Author of a Task" classname="project.GoodCaseTaskTest" time="0.009"/>
<testcase name="Create a new TaskManager and test Connecton" classname="project.GoodCaseTaskTest" time="4.345">
<failure message="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.)" type="org.opentest4j.AssertionFailedError">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.&lt;init&gt;(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
</failure>
</testcase>
<testcase name="Edit Task" classname="project.GoodCaseTaskTest" time="4.092">
<failure message="hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)" type="hhn.temp.project.expections.SQLNoConectionException">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.&lt;init&gt;(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)
</failure>
</testcase>
<testcase name="Create a new Task" classname="project.GoodCaseTaskTest" time="4.096">
<failure message="hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)" type="hhn.temp.project.expections.SQLNoConectionException">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.&lt;init&gt;(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)
</failure>
</testcase>
<testcase name="Check TaskList if Task there" classname="project.GoodCaseTaskTest" time="4.108">
<failure message="hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)" type="hhn.temp.project.expections.SQLNoConectionException">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.&lt;init&gt;(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)
</failure>
</testcase>
<testcase name="Delete Task" classname="project.GoodCaseTaskTest" time="4.094">
<failure message="hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)" type="hhn.temp.project.expections.SQLNoConectionException">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.&lt;init&gt;(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)
</failure>
</testcase>
<testcase name="Set Author of a Task" classname="project.GoodCaseTaskTest" time="4.112">
<failure message="hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)" type="hhn.temp.project.expections.SQLNoConectionException">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.&lt;init&gt;(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)
</failure>
</testcase>
<system-out><![CDATA[]]></system-out>
<system-err><![CDATA[]]></system-err>
</testsuite>