GoodCaseTaskTest

6

tests

6

failures

0

ignored

24.847s

duration

0%

successful

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

Test Method name Duration Result
Check TaskList if Task there assertCheckTaskListForTask() 4.108s failed
Create a new Task assertCreateNewTask() 4.096s failed
Create a new TaskManager and test Connecton assertCreateNewTaskManager() 4.345s failed
Delete Task assertDeleteTask() 4.094s failed
Edit Task assertEditATask() 4.092s failed
Set Author of a Task assertSetAuthorOfATask() 4.112s failed