Skip to content

Merge branch 'develop' into feature/competencies/refactor-instructor-… #621

Merge branch 'develop' into feature/competencies/refactor-instructor-…

Merge branch 'develop' into feature/competencies/refactor-instructor-… #621

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

51 passed, 0 failed and 3 skipped

Tests passed successfully

Report Passed Failed Skipped Time
build/test-results/test/TEST-de.tum.cit.aet.artemis.architecture.ArchitectureTest.xml 19✅ 1⚪ 5s
build/test-results/test/TEST-de.tum.cit.aet.artemis.architecture.EnforceRoleInResourceArchitectureTest.xml 2✅ 200ms
build/test-results/test/TEST-de.tum.cit.aet.artemis.architecture.FeedbackArchitectureTest.xml 2✅ 368ms
build/test-results/test/TEST-de.tum.cit.aet.artemis.architecture.RepositoryArchitectureTest.xml 11✅ 462ms
build/test-results/test/TEST-de.tum.cit.aet.artemis.architecture.ResourceArchitectureTest.xml 4✅ 73ms
build/test-results/test/TEST-de.tum.cit.aet.artemis.architecture.ServiceArchitectureTest.xml 5✅ 194ms
build/test-results/test/TEST-de.tum.cit.aet.artemis.authorization.AuthorizationArchitectureTest.xml 6✅ 2⚪ 52ms
build/test-results/test/TEST-de.tum.cit.aet.artemis.domain.notification.NotificationPlaceholderArchitectureTest.xml 2✅ 30ms

✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.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.architecture.ArchitectureTest 19✅ 1⚪ 5s

✅ de.tum.cit.aet.artemis.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.architecture.EnforceRoleInResourceArchitectureTest.xml

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

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

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

✅ testEnforceRoleInExerciseEndpointHasExerciseIdParameter()
✅ testEnforceRoleInCourseEndpointHasCourseIdParameter()

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

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

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

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

✅ testSetLongFeedbackTextNotUsed()
✅ testGetLongFeedbackTextNotUsed()

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

11 tests were completed in 462ms with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.tum.cit.aet.artemis.architecture.RepositoryArchitectureTest 11✅ 462ms

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

✅ testNoEntityGraphsOnQueries()
✅ testNoUnusedRepositoryMethods()
✅ testTransactional()
✅ shouldBeInRepositoryPackage()
✅ testRepositoryParamAnnotation()
✅ orElseThrowShouldNotBeCalled()
✅ repositoriesImplementArtemisJpaRepository()
✅ persistenceShouldNotAccessServices()
✅ testJPQLStyle()
✅ shouldBeNamedRepository()
✅ testOnlySpringTransactionalAnnotation()

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

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

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

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

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

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

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

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

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

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

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

8 tests were completed in 52ms with 6 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
de.tum.cit.aet.artemis.authorization.AuthorizationArchitectureTest 6✅ 2⚪ 52ms

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

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

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

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

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

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

✅ testNotificationPlaceholderCreatorStringArrayCreation()
✅ testPlaceholderCreatorMethodSignature()