#882 Create a shared project #145
GitHub Actions / Media-Service-Unit-Test-Results
succeeded
Sep 26, 2024 in 0s
30 passed, 0 failed and 0 skipped
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
media/target/failsafe-reports/TEST-com.yas.media.controller.MediaControllerIT.xml | 14✅ | 60s | ||
media/target/surefire-reports/TEST-com.yas.media.FileSystemRepositoryTest.xml | 4✅ | 2s | ||
media/target/surefire-reports/TEST-com.yas.media.MediaServiceUnitTest.xml | 12✅ | 496ms |
✅ media/target/failsafe-reports/TEST-com.yas.media.controller.MediaControllerIT.xml
14 tests were completed in 60s with 14 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.media.controller.MediaControllerIT | 14✅ | 60s |
✅ com.yas.media.controller.MediaControllerIT
✅ test_deleteMedia_shouldThrows403_ifProvideInvalidAccessToken
✅ test_createMediaFileNameNull_shouldSuccess_ifProvideValidAccessTokenAndValidData
✅ test_createMediaPNG_shouldSuccess_ifProvideValidAccessTokenAndValidData
✅ test_deleteMedia_shouldReturn404_ifProvideValidAccessTokenAndInvalidId
✅ test_createMediaFileNameBlank_shouldSuccess_ifProvideValidAccessTokenAndValidData
✅ test_createMedia_shouldReturn403_ifProvideInvalidAccessToken
✅ test_createMediaFileNameEmpty_shouldSuccess_ifProvideValidAccessTokenAndValidData
✅ test_getMedia_shouldReturnData_ifProvideValidId
✅ test_createMediaGIF_shouldSuccess_ifProvideValidAccessTokenAndValidData
✅ test_getFile_shouldSuccess_ifProvideValidIdAndValidFileName
✅ test_getMedia_shouldThrows404_ifProvideInvalidId
✅ test_createWrongTypeMedia_shouldFail_ifProvideValidAccessTokenAndInvalidData
✅ test_createMediaJPEG_shouldSuccess_ifProvideValidAccessTokenAndValidData
✅ test_deleteMedia_shouldDelete_ifProvideValidAccessTokenAndValidId
✅ media/target/surefire-reports/TEST-com.yas.media.FileSystemRepositoryTest.xml
4 tests were completed in 2s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.media.FileSystemRepositoryTest | 4✅ | 2s |
✅ com.yas.media.FileSystemRepositoryTest
✅ testPersistFile_whenDirectoryNotExist_thenThrowsException
✅ testGetFile_whenDirectIsExist_thenReturnFile
✅ testPersistFile_filePathNotContainsDirectory
✅ testGetFileDirectoryDoesNotExist_thenThrowsException
✅ media/target/surefire-reports/TEST-com.yas.media.MediaServiceUnitTest.xml
12 tests were completed in 496ms with 12 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.media.MediaServiceUnitTest | 12✅ | 496ms |
✅ com.yas.media.MediaServiceUnitTest
✅ getFile_whenMediaNameNotMatch_thenReturnMediaDto
✅ getMedia_whenValidId_thenReturnData
✅ removeMedia_whenMediaNotFound_thenThrowsNotFoundException
✅ removeMedia_whenValidId_thenRemoveSuccess
✅ getMedia_whenMediaNotFound_thenReturnNull
✅ saveMedia_whenTypeGIF_thenSaveSuccess
✅ saveMedia_whenFileNameIsBlank_thenOk
✅ saveMedia_whenFileNameIsEmpty_thenOk
✅ getFile_whenMediaNotFound_thenReturnMediaDto
✅ saveMedia_whenFileNameIsNull_thenOk
✅ saveMedia_whenTypePNG_thenSaveSuccess
✅ saveMedia_whenTypeJPEG_thenSaveSuccess
Loading