Development
: Migrate admin metrics Angular code to new best practices
#59349
GitHub Actions / Java Architecture Tests
succeeded
Sep 27, 2024 in 0s
51 passed, 0 failed and 3 skipped
✅ 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 231ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.architecture.EnforceRoleInResourceArchitectureTest | 2✅ | 231ms |
✅ 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 415ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.architecture.FeedbackArchitectureTest | 2✅ | 415ms |
✅ 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 310ms with 11 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.architecture.RepositoryArchitectureTest | 11✅ | 310ms |
✅ 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 93ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.architecture.ResourceArchitectureTest | 4✅ | 93ms |
✅ 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 167ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.architecture.ServiceArchitectureTest | 5✅ | 167ms |
✅ 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 49ms with 6 passed, 0 failed and 2 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.authorization.AuthorizationArchitectureTest | 6✅ | 2⚪ | 49ms |
✅ 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 25ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.domain.notification.NotificationPlaceholderArchitectureTest | 2✅ | 25ms |
✅ de.tum.cit.aet.artemis.domain.notification.NotificationPlaceholderArchitectureTest
✅ testNotificationPlaceholderCreatorStringArrayCreation()
✅ testPlaceholderCreatorMethodSignature()
Loading