Skip to content

Development: Add module/Java API for text exercises #6440

Development: Add module/Java API for text exercises

Development: Add module/Java API for text exercises #6440

GitHub Actions / Junit Results failed Dec 17, 2024 in 0s

Junit Results

Junit Results ran 8545 in 1291.7080000000003 seconds 0 Errored, 4 Failed, 1 Skipped

Annotations

Check failure on line 0 in test

See this annotation in the file changed.

@github-actions github-actions / Junit Results

test#L0

Junit Results ran 8545 in 1291.7080000000003 seconds 0 Errored, 4 Failed, 1 Skipped

Check failure on line 414 in /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/assessment/ExampleSubmissionIntegrationTest.java

See this annotation in the file changed.

@github-actions github-actions / Junit Results

importExampleSubmissionWithTextSubmission_exerciseIdNotMatched()

Junit test importExampleSubmissionWithTextSubmission_exerciseIdNotMatched() failed java.lang.AssertionError: Response status expected:<400> but was:<500>
Raw output
java.lang.AssertionError: Response status expected:<400> but was:<500>
	at org.springframework.test.util.AssertionErrors.fail(AssertionErrors.java:61)
	at org.springframework.test.util.AssertionErrors.assertEquals(AssertionErrors.java:128)
	at org.springframework.test.web.servlet.result.StatusResultMatchers.lambda$is$1(StatusResultMatchers.java:65)
	at org.springframework.test.web.servlet.MockMvc$1.andExpect(MockMvc.java:214)
	at de.tum.cit.aet.artemis.core.util.RequestUtilService.postWithResponseBodyString(RequestUtilService.java:351)
	at de.tum.cit.aet.artemis.core.util.RequestUtilService.postWithResponseBodyString(RequestUtilService.java:318)
	at de.tum.cit.aet.artemis.core.util.RequestUtilService.postWithResponseBody(RequestUtilService.java:290)
	at de.tum.cit.aet.artemis.core.util.RequestUtilService.postWithResponseBody(RequestUtilService.java:363)
	at de.tum.cit.aet.artemis.core.util.RequestUtilService.postWithResponseBody(RequestUtilService.java:375)
	at de.tum.cit.aet.artemis.assessment.ExampleSubmissionIntegrationTest.importExampleSubmission(ExampleSubmissionIntegrationTest.java:319)
	at de.tum.cit.aet.artemis.assessment.ExampleSubmissionIntegrationTest.importExampleSubmissionWithTextSubmission_exerciseIdNotMatched(ExampleSubmissionIntegrationTest.java:422)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

Check failure on line 695 in /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/communication/MessageIntegrationTest.java

See this annotation in the file changed.

@github-actions github-actions / Junit Results

testDecreaseUnreadMessageCountWhenDeletingMessage()

Junit test testDecreaseUnreadMessageCountWhenDeletingMessage() failed org.opentest4j.AssertionFailedError: 
expected: 0L
 but was: 1L
Raw output
org.opentest4j.AssertionFailedError: 
expected: 0L
 but was: 1L
	at app//de.tum.cit.aet.artemis.communication.MessageIntegrationTest.lambda$testDecreaseUnreadMessageCountWhenDeletingMessage$28(MessageIntegrationTest.java:725)
	at app//org.awaitility.core.AssertionCondition.lambda$new$0(AssertionCondition.java:53)
	at app//org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:248)
	at app//org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:235)
	at [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at [email protected]/java.lang.Thread.run(Thread.java:1583)

Check failure on line 0 in de/tum/cit/aet/artemis/exam/StudentExamIntegrationTest$ChangedAndUnchangedSubmissionsIntegrationTest

See this annotation in the file changed.

@github-actions github-actions / Junit Results

testChangedAndNotSubmittedTextSubmission()

Junit test testChangedAndNotSubmittedTextSubmission() failed org.opentest4j.AssertionFailedError: 
expected: "This is a changed answer"
 but was: null
Raw output
org.opentest4j.AssertionFailedError: 
expected: "This is a changed answer"
 but was: null
	at app//de.tum.cit.aet.artemis.exam.StudentExamIntegrationTest$ChangedAndUnchangedSubmissionsIntegrationTest.testChangedAndNotSubmittedTextSubmission(StudentExamIntegrationTest.java:2979)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
	at [email protected]/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at [email protected]/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at [email protected]/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

Check failure on line 932 in /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/exam/StudentExamIntegrationTest.java

See this annotation in the file changed.

@github-actions github-actions / Junit Results

testSubmitStudentExam_alreadySubmitted()

Junit test testSubmitStudentExam_alreadySubmitted() failed org.opentest4j.AssertionFailedError: 
expected: "Test2"
 but was: "Test1"
Raw output
org.opentest4j.AssertionFailedError: 
expected: "Test2"
 but was: "Test1"
	at app//de.tum.cit.aet.artemis.exam.StudentExamIntegrationTest.assertStudentExam1HasSingleTextSubmissionWithTextAndIsSubmitted(StudentExamIntegrationTest.java:978)
	at app//de.tum.cit.aet.artemis.exam.StudentExamIntegrationTest.testSubmitStudentExam_alreadySubmitted(StudentExamIntegrationTest.java:961)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
	at [email protected]/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at [email protected]/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at [email protected]/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)