Skip to content

remove duplicate

remove duplicate #10

GitHub Actions / Java Architecture Tests succeeded Sep 29, 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✅ 160ms
build/test-results/test/TEST-de.tum.cit.aet.artemis.core.authorization.AuthorizationArchitectureTest.xml 8✅ 180ms
build/test-results/test/TEST-de.tum.cit.aet.artemis.shared.architecture.ArchitectureTest.xml 19✅ 1⚪ 4s
build/test-results/test/TEST-de.tum.cit.aet.artemis.shared.architecture.EnforceRoleInResourceArchitectureTest.xml 2✅ 264ms
build/test-results/test/TEST-de.tum.cit.aet.artemis.shared.architecture.FeedbackArchitectureTest.xml 2✅ 433ms
build/test-results/test/TEST-de.tum.cit.aet.artemis.shared.architecture.RepositoryArchitectureTest.xml 15✅ 604ms
build/test-results/test/TEST-de.tum.cit.aet.artemis.shared.architecture.ResourceArchitectureTest.xml 4✅ 82ms
build/test-results/test/TEST-de.tum.cit.aet.artemis.shared.architecture.ServiceArchitectureTest.xml 5✅ 241ms

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

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

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

✅ 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 180ms with 8 passed, 0 failed and 0 skipped.

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

✅ 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 4s with 19 passed, 0 failed and 1 skipped.

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

✅ 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 264ms with 2 passed, 0 failed and 0 skipped.

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

✅ 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 433ms with 2 passed, 0 failed and 0 skipped.

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

✅ 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 604ms with 15 passed, 0 failed and 0 skipped.

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

✅ 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 82ms with 4 passed, 0 failed and 0 skipped.

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

✅ 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 241ms with 5 passed, 0 failed and 0 skipped.

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

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

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