Skip to content

Merge 'develop' into feature/course/attachment-pdf-editing #646

Merge 'develop' into feature/course/attachment-pdf-editing

Merge 'develop' into feature/course/attachment-pdf-editing #646

GitHub Actions / Java Architecture Tests succeeded Sep 30, 2024 in 0s

57 passed, 0 failed and 1 skipped

Tests passed successfully

Report Passed Failed Skipped Time
build/test-results/test/TEST-de.tum.cit.aet.artemis.communication.notification.NotificationPlaceholderArchitectureTest.xml 2✅ 132ms
build/test-results/test/TEST-de.tum.cit.aet.artemis.core.authorization.AuthorizationArchitectureTest.xml 8✅ 210ms
build/test-results/test/TEST-de.tum.cit.aet.artemis.shared.architecture.ArchitectureTest.xml 19✅ 1⚪ 5s
build/test-results/test/TEST-de.tum.cit.aet.artemis.shared.architecture.EnforceRoleInResourceArchitectureTest.xml 2✅ 267ms
build/test-results/test/TEST-de.tum.cit.aet.artemis.shared.architecture.FeedbackArchitectureTest.xml 2✅ 400ms
build/test-results/test/TEST-de.tum.cit.aet.artemis.shared.architecture.RepositoryArchitectureTest.xml 15✅ 549ms
build/test-results/test/TEST-de.tum.cit.aet.artemis.shared.architecture.ResourceArchitectureTest.xml 4✅ 83ms
build/test-results/test/TEST-de.tum.cit.aet.artemis.shared.architecture.ServiceArchitectureTest.xml 5✅ 228ms

✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.communication.notification.NotificationPlaceholderArchitectureTest.xml

2 tests were completed in 132ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.tum.cit.aet.artemis.communication.notification.NotificationPlaceholderArchitectureTest 2✅ 132ms

✅ de.tum.cit.aet.artemis.communication.notification.NotificationPlaceholderArchitectureTest

✅ testNotificationPlaceholderCreatorStringArrayCreation()
✅ testPlaceholderCreatorMethodSignature()

✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.core.authorization.AuthorizationArchitectureTest.xml

8 tests were completed in 210ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.tum.cit.aet.artemis.core.authorization.AuthorizationArchitectureTest 8✅ 210ms

✅ de.tum.cit.aet.artemis.core.authorization.AuthorizationArchitectureTest

✅ testEnforceAdminAnnotations()
✅ testEnforceAtLeastEditorAnnotations()
✅ testNoPreAuthorizeOnRestEndpoints()
✅ testEnforceAtLeastTutorAnnotations()
✅ testEnforceAtLeastInstructorAnnotations()
✅ testEnforceAtLeastStudentAnnotations()
✅ testEnforceNothingAnnotations()
✅ testNoPreAuthorizeOnRestControllers()

✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.shared.architecture.ArchitectureTest.xml

20 tests were completed in 5s with 19 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
de.tum.cit.aet.artemis.shared.architecture.ArchitectureTest 19✅ 1⚪ 5s

✅ de.tum.cit.aet.artemis.shared.architecture.ArchitectureTest

✅ ensureSpringComponentsAreProfileAnnotated()
✅ testNoJunitJupiterAssertions()
✅ hasMatchingAuthorizationTestClassBeCorrectlyImplemented()
✅ testFileWriteUsage()
✅ testCorrectStringUtils()
✅ testValidSimpMessageSendingOperationsUsage()
✅ testLogging()
✅ testNoHazelcastUsageInConstructors()
✅ testJSONImplementations()
✅ testNoRestControllersImported()
✅ testNoDirectGitCommitCalls()
✅ testNoCollectorsToList()
✅ testClassNameAndVisibility()
✅ testGsonExclusion()
✅ testNoJUnit4()
⚪ testDTOImplementations()
✅ shouldNotUserAutowiredAnnotation()
✅ testCorrectLoggerFields()
✅ testJsonIncludeNonEmpty()
✅ testNullnessAnnotations()

✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.shared.architecture.EnforceRoleInResourceArchitectureTest.xml

2 tests were completed in 267ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.tum.cit.aet.artemis.shared.architecture.EnforceRoleInResourceArchitectureTest 2✅ 267ms

✅ de.tum.cit.aet.artemis.shared.architecture.EnforceRoleInResourceArchitectureTest

✅ testEnforceRoleInExerciseEndpointHasExerciseIdParameter()
✅ testEnforceRoleInCourseEndpointHasCourseIdParameter()

✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.shared.architecture.FeedbackArchitectureTest.xml

2 tests were completed in 400ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.tum.cit.aet.artemis.shared.architecture.FeedbackArchitectureTest 2✅ 400ms

✅ de.tum.cit.aet.artemis.shared.architecture.FeedbackArchitectureTest

✅ testSetLongFeedbackTextNotUsed()
✅ testGetLongFeedbackTextNotUsed()

✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.shared.architecture.RepositoryArchitectureTest.xml

15 tests were completed in 549ms with 15 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.tum.cit.aet.artemis.shared.architecture.RepositoryArchitectureTest 15✅ 549ms

✅ de.tum.cit.aet.artemis.shared.architecture.RepositoryArchitectureTest

✅ testNoEntityGraphsOnQueries()
✅ testNoUnusedRepositoryMethods()
✅ testTransactional()
✅ shouldBeInRepositoryPackage()
✅ testRepositoryParamAnnotation()
✅ orElseThrowShouldNotBeCalled()
✅ repositoriesImplementArtemisJpaRepository()
✅ persistenceShouldNotAccessServices()
✅ usedInProductionCode()
✅ enforceUsageOfTestRepository()
✅ testJPQLStyle()
✅ shouldBeNamedRepository()
✅ enforceStructureOfTestRepositories()
✅ testOnlySpringTransactionalAnnotation()
✅ enforcePrimaryBeanAnnotationOnTestRepositories()

✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.shared.architecture.ResourceArchitectureTest.xml

4 tests were completed in 83ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.tum.cit.aet.artemis.shared.architecture.ResourceArchitectureTest 4✅ 83ms

✅ de.tum.cit.aet.artemis.shared.architecture.ResourceArchitectureTest

✅ allPublicMethodsShouldReturnResponseEntity()
✅ shouldBeNamedResource()
✅ shouldBeInResourcePackage()
✅ shouldCorrectlyUseRequestMappingAnnotations()

✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.shared.architecture.ServiceArchitectureTest.xml

5 tests were completed in 228ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.tum.cit.aet.artemis.shared.architecture.ServiceArchitectureTest 5✅ 228ms

✅ de.tum.cit.aet.artemis.shared.architecture.ServiceArchitectureTest

✅ testCorrectAsyncCalls()
✅ shouldBeNamedService()
✅ testCorrectServiceAnnotation()
✅ shouldBeInServicePackage()
✅ testNoWrongServiceImports()