Skip to content

Development: Merge test classes for same service #59249

Development: Merge test classes for same service

Development: Merge test classes for same service #59249

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✅ 301ms
build/test-results/test/TEST-de.tum.cit.aet.artemis.architecture.FeedbackArchitectureTest.xml 2✅ 409ms
build/test-results/test/TEST-de.tum.cit.aet.artemis.architecture.RepositoryArchitectureTest.xml 11✅ 351ms
build/test-results/test/TEST-de.tum.cit.aet.artemis.architecture.ResourceArchitectureTest.xml 4✅ 86ms
build/test-results/test/TEST-de.tum.cit.aet.artemis.architecture.ServiceArchitectureTest.xml 5✅ 183ms
build/test-results/test/TEST-de.tum.cit.aet.artemis.authorization.AuthorizationArchitectureTest.xml 6✅ 2⚪ 54ms
build/test-results/test/TEST-de.tum.cit.aet.artemis.domain.notification.NotificationPlaceholderArchitectureTest.xml 2✅ 29ms

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

✅ testNotificationPlaceholderCreatorStringArrayCreation()
✅ testPlaceholderCreatorMethodSignature()