This commit is contained in:
@@ -1,67 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<testsuite name="project.BadCaseTaskTest" tests="7" skipped="0" failures="6" errors="0" timestamp="2025-12-07T13:39:17.658Z" hostname="Mac.fritz.box" time="30.995">
|
||||
<testsuite name="project.BadCaseTaskTest" tests="32" skipped="0" failures="0" errors="0" timestamp="2025-12-18T08:08:40.169Z" hostname="JAN-PC" time="11.09">
|
||||
<properties/>
|
||||
<testcase name="Assert an IllegalArgumentException when you edit a exits Task" classname="project.BadCaseTaskTest" time="5.676">
|
||||
<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.<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)
|
||||
</failure>
|
||||
</testcase>
|
||||
<testcase name="Create a new TaskManager and test Connecton" classname="project.BadCaseTaskTest" time="4.103"/>
|
||||
<testcase name="Assert an IllegalArgumentException when you create a new Task with no or wrong Name, Description" classname="project.BadCaseTaskTest" time="4.102">
|
||||
<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.<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)
|
||||
</failure>
|
||||
</testcase>
|
||||
<testcase name="Assert an IllegalArgumentException when you create a new Task with the same Name of a exits Task" classname="project.BadCaseTaskTest" time="4.368">
|
||||
<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.<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)
|
||||
</failure>
|
||||
</testcase>
|
||||
<testcase name="Assert an IllegalArgumentException when delete a existing Task with wrong arguments" classname="project.BadCaseTaskTest" time="4.204">
|
||||
<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.<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)
|
||||
</failure>
|
||||
</testcase>
|
||||
<testcase name="Get a Exeption by setWorker and getWorker" classname="project.BadCaseTaskTest" time="4.155">
|
||||
<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.<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)
|
||||
</failure>
|
||||
</testcase>
|
||||
<testcase name="Assert an IllegalArgumentException when calling a non-Existing Task" classname="project.BadCaseTaskTest" time="4.381">
|
||||
<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.<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)
|
||||
</failure>
|
||||
</testcase>
|
||||
<testcase name="Assert NullPointerException when existTask(id) without connect" classname="project.BadCaseTaskTest" time="0.038"/>
|
||||
<testcase name="Assert NullPointerException when createTask without connect" classname="project.BadCaseTaskTest" time="0.001"/>
|
||||
<testcase name="Assert SQLStatmentException when updateDescription causes SQLException" classname="project.BadCaseTaskTest" time="0.37"/>
|
||||
<testcase name="Assert an IllegalArgumentException when you edit a exits Task" classname="project.BadCaseTaskTest" time="0.513"/>
|
||||
<testcase name="Assert NullPointerException when deleteTask without connect" classname="project.BadCaseTaskTest" time="0.001"/>
|
||||
<testcase name="Assert SQLStatmentException when reset causes SQLException" classname="project.BadCaseTaskTest" time="0.013"/>
|
||||
<testcase name="Create a new TaskManager and test Connecton" classname="project.BadCaseTaskTest" time="4.06"/>
|
||||
<testcase name="Assert NullPointerException when reset without connect" classname="project.BadCaseTaskTest" time="0.001"/>
|
||||
<testcase name="Assert NullPointerException when existTask(name) without connect" classname="project.BadCaseTaskTest" time="0.0"/>
|
||||
<testcase name="Assert SQLStatmentException when getTask(name) causes SQLException" classname="project.BadCaseTaskTest" time="0.012"/>
|
||||
<testcase name="Assert SQLStatmentException when getTask(id) causes SQLException" classname="project.BadCaseTaskTest" time="0.012"/>
|
||||
<testcase name="Assert SQLStatmentException when getTaskList causes SQLException" classname="project.BadCaseTaskTest" time="0.012"/>
|
||||
<testcase name="Assert SQLStatmentException when existTask causes SQLException" classname="project.BadCaseTaskTest" time="0.012"/>
|
||||
<testcase name="Assert NullPointerException when getTask(name) without connect" classname="project.BadCaseTaskTest" time="0.0"/>
|
||||
<testcase name="Assert NullPointerException when updateDescription without connect" classname="project.BadCaseTaskTest" time="0.001"/>
|
||||
<testcase name="Assert an IllegalArgumentException when you create a new Task with no or wrong Name, Description" classname="project.BadCaseTaskTest" time="0.287"/>
|
||||
<testcase name="Assert an IllegalArgumentException when you create a new Task with the same Name of a exits Task" classname="project.BadCaseTaskTest" time="0.261"/>
|
||||
<testcase name="Assert SQLStatmentException when updateStatus causes SQLException" classname="project.BadCaseTaskTest" time="0.011"/>
|
||||
<testcase name="Assert SQLStatmentException when updateWorker causes SQLException" classname="project.BadCaseTaskTest" time="0.012"/>
|
||||
<testcase name="Assert NullPointerException when updateStatus without connect" classname="project.BadCaseTaskTest" time="0.0"/>
|
||||
<testcase name="Assert NullPointerException when updateWorker without connect" classname="project.BadCaseTaskTest" time="0.0"/>
|
||||
<testcase name="Assert SQLStatmentException when existTask causes SQLException" classname="project.BadCaseTaskTest" time="0.012"/>
|
||||
<testcase name="Assert an IllegalArgumentException when delete a existing Task with wrong arguments" classname="project.BadCaseTaskTest" time="0.325"/>
|
||||
<testcase name="Assert SQLStatmentException when createTask causes SQLException" classname="project.BadCaseTaskTest" time="0.013"/>
|
||||
<testcase name="Get a Exeption by setWorker and getWorker" classname="project.BadCaseTaskTest" time="0.227"/>
|
||||
<testcase name="Assert TaskNotExistsException when getTask(id) finds no task" classname="project.BadCaseTaskTest" time="0.287"/>
|
||||
<testcase name="Assert SQLStatmentException when deleteTask causes SQLException" classname="project.BadCaseTaskTest" time="0.012"/>
|
||||
<testcase name="Assert NullPointerException when getTask(id) without connect" classname="project.BadCaseTaskTest" time="0.001"/>
|
||||
<testcase name="Assert NullPointerException when getTaskList without connect" classname="project.BadCaseTaskTest" time="0.001"/>
|
||||
<testcase name="Assert SQLNoConectionException when connect fails" classname="project.BadCaseTaskTest" time="4.038"/>
|
||||
<testcase name="Assert an IllegalArgumentException when calling a non-Existing Task" classname="project.BadCaseTaskTest" time="0.285"/>
|
||||
<testcase name="Assert TaskNotExistsException when getTask(name) finds no task" classname="project.BadCaseTaskTest" time="0.251"/>
|
||||
<system-out><![CDATA[]]></system-out>
|
||||
<system-err><![CDATA[]]></system-err>
|
||||
</testsuite>
|
||||
|
||||
@@ -1,75 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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">
|
||||
<testsuite name="project.GoodCaseTaskTest" tests="6" skipped="0" failures="0" errors="0" timestamp="2025-12-18T08:08:51.262Z" hostname="JAN-PC" time="4.416">
|
||||
<properties/>
|
||||
<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.<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
|
||||
</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.<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)
|
||||
</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.<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)
|
||||
</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.<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)
|
||||
</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.<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)
|
||||
</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.<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)
|
||||
</failure>
|
||||
</testcase>
|
||||
<testcase name="Create a new TaskManager and test Connecton" classname="project.GoodCaseTaskTest" time="0.649"/>
|
||||
<testcase name="Edit Task" classname="project.GoodCaseTaskTest" time="0.612"/>
|
||||
<testcase name="Create a new Task" classname="project.GoodCaseTaskTest" time="0.543"/>
|
||||
<testcase name="Check TaskList if Task there" classname="project.GoodCaseTaskTest" time="0.505"/>
|
||||
<testcase name="Delete Task" classname="project.GoodCaseTaskTest" time="1.351"/>
|
||||
<testcase name="Set Author of a Task" classname="project.GoodCaseTaskTest" time="0.753"/>
|
||||
<system-out><![CDATA[]]></system-out>
|
||||
<system-err><![CDATA[]]></system-err>
|
||||
</testsuite>
|
||||
|
||||
BIN
build/test-results/test/binary/results.bin
Normal file
BIN
build/test-results/test/binary/results.bin
Normal file
Binary file not shown.
Reference in New Issue
Block a user