GoodCasesTest

13

tests

2

failures

0

ignored

0.029s

duration

84%

successful

Failed tests

Check that editing is possible through UI

org.opentest4j.AssertionFailedError: expected: <Walk> but was: <Run>
	at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
	at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
	at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
	at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1141)
	at app//hhn.temp.project.GoodCasesTest.assertEditingTasksIsPossibleThroughUi(GoodCasesTest.java:133)
	at java.base@17.0.2/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base@17.0.2/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base@17.0.2/java.util.ArrayList.forEach(ArrayList.java:1511)

Assert that removing a worker removes the worker from the worker list

org.opentest4j.AssertionFailedError: Expected java.lang.IllegalArgumentException to be thrown, but nothing was thrown.
	at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152)
	at app//org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:73)
	at app//org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:35)
	at app//org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3111)
	at app//hhn.temp.project.GoodCasesTest.assertRemoveWorkerActuallyRemoves(GoodCasesTest.java:153)
	at java.base@17.0.2/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base@17.0.2/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base@17.0.2/java.util.ArrayList.forEach(ArrayList.java:1511)

Tests

Test Method name Duration Result
Check that every required surface command actually works assertCommandsAreRecognized() 0.003s passed
Assert deleted Tasks no longer show up in the List assertDeletedTasksDisappear() 0.002s passed
Check that editing is possible through UI assertEditingTasksIsPossibleThroughUi() 0.005s failed
Assert existing Tasks can be edited assertExistingTasksCanBeEdited() 0.001s passed
Check that every task command works assertFinishingTasksIsPossibleThroughUi() 0.004s passed
Check Getters assertGettersWorkCorrectly() 0.003s passed
Assert that removing a worker removes the worker from the worker list assertRemoveWorkerActuallyRemoves() 0.004s failed
Assert that removing Workers is possible through the UI assertRemovingWorkersIsPossibleThroughUI() 0.002s passed
Assert that the Scanner is actually started when AM calls start assertScannerExists() 0.001s passed
Assert that Task State is actually changed when submitted as finished assertTaskStateChanges() 0.002s passed
Assert that added Tasks are added to the List assertTasksShowInList() 0.001s passed
Assert that a Worker can add a Task assertWorkerCanAddTask() 0.001s passed
Assert that Worker can remove Task assertWorkerCanRemoveOwnTask() 0s passed