Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
356 0 0 0 100% 58.97 s

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
api.controllers 79 0 0 0 100% 27.85 s
api.services.storage 114 0 0 0 100% 0.870 s
api.controllers.users 163 0 0 0 100% 30.25 s

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

api.controllers

- Class Tests Errors Failures Skipped Success Rate Time
AuthorityControllerTest$GetAuthority 3 0 0 0 100% 0.215 s
AuthorityControllerTest$GetAuthorities 2 0 0 0 100% 0.207 s
TorrentControllerTest$UpdateTorrentFile 3 0 0 0 100% 1.642 s
TorrentControllerTest$UploadTorrent 4 0 0 0 100% 0.904 s
TorrentControllerTest$GetTorrentFile 4 0 0 0 100% 0.678 s
TorrentControllerTest$DeleteTorrent 2 0 0 0 100% 0.239 s
TorrentControllerTest$UpdateTorrent 4 0 0 0 100% 0.694 s
TorrentControllerTest$GetTorrentByRepoId 4 0 0 0 100% 0.263 s
TorrentControllerTest$GetTorrent 2 0 0 0 100% 0.190 s
TorrentControllerTest$GetAllTorrents 3 0 0 0 100% 19.68 s
HeartbeatControllerTest 1 0 0 0 100% 0.036 s
AuthenticationControllerTest$Logout 4 0 0 0 100% 0.421 s
AuthenticationControllerTest$Refresh 4 0 0 0 100% 0.382 s
AuthenticationControllerTest$Register 8 0 0 0 100% 0.300 s
AuthenticationControllerTest$Login 4 0 0 0 100% 0.373 s
RoleControllerTest$DeleteRole 6 0 0 0 100% 0.470 s
RoleControllerTest$UpdateRole 10 0 0 0 100% 0.446 s
RoleControllerTest$CreateRole 5 0 0 0 100% 0.263 s
RoleControllerTest$GetRole 4 0 0 0 100% 0.236 s
RoleControllerTest$GetRoles 2 0 0 0 100% 0.214 s

api.services.storage

- Class Tests Errors Failures Skipped Success Rate Time
SimpleStorageServiceTest 113 0 0 0 100% 0.843 s
S3ObjectServiceTest 1 0 0 0 100% 0.027 s

api.controllers.users

- Class Tests Errors Failures Skipped Success Rate Time
UserAvatarControllerTest$DeleteUserAvatar 8 0 0 0 100% 1.792 s
UserAvatarControllerTest$UpdateUserAvatar 26 0 0 0 100% 5.318 s
UserAvatarControllerTest$GetUserAvatar 8 0 0 0 100% 1.660 s
UserAvatarControllerTest$UpdateMyAvatar 19 0 0 0 100% 3.590 s
UserAvatarControllerTest$DeleteMyAvatar 7 0 0 0 100% 1.561 s
UserAvatarControllerTest$GetMyAvatar 11 0 0 0 100% 2.363 s
UserControllerTest$DeleteUser 4 0 0 0 100% 0.638 s
UserControllerTest$DeleteMe 8 0 0 0 100% 1.528 s
UserControllerTest$UpdateUser 8 0 0 0 100% 1.773 s
UserControllerTest$GetUserTorrents 5 0 0 0 100% 0.964 s
UserControllerTest$GetUser 3 0 0 0 100% 0.560 s
UserControllerTest$GetUsers 4 0 0 0 100% 0.269 s
UserControllerTest$UpdateMe 7 0 0 0 100% 1.526 s
UserControllerTest$GetMyTorrents 7 0 0 0 100% 1.313 s
UserControllerTest$GetMe 7 0 0 0 100% 1.311 s
UserControllerTest$UpdateMyPassword 2 0 0 0 100% 0.758 s
UserControllerTest$GetMyAuthorities 9 0 0 0 100% 1.507 s
UserRoleControllerTest$RemoveUserRoles 6 0 0 0 100% 0.597 s
UserRoleControllerTest$SetUserRoles 6 0 0 0 100% 0.465 s
UserRoleControllerTest$AddUserRoles 5 0 0 0 100% 0.471 s
UserRoleControllerTest$GetUserRoles 3 0 0 0 100% 0.286 s

Test Cases

[Summary] [Package List] [Test Cases]

SimpleStorageServiceTest

shouldMatchCaseSensitive 0.025 s
shouldMatchEdgeCases(String, byte[], long)[1] 0.023 s
shouldMatchEdgeCases(String, byte[], long)[2] 0.017 s
shouldMatchEdgeCases(String, byte[], long)[3] 0.017 s
shouldMatchEdgeCases(String, byte[], long)[4] 0.022 s
shouldMatchEdgeCases(String, byte[], long)[5] 0.018 s
shouldMatchEdgeCases(String, byte[], long)[6] 0.022 s
shouldMatchEdgeCases(String, byte[], long)[7] 0.017 s
shouldMatchEdgeCases(String, byte[], long)[8] 0.021 s
shouldMatchEdgeCases(String, byte[], long)[9] 0.016 s
shouldMatchEdgeCases(String, byte[], long)[10] 0.016 s
shouldMatchEdgeCases(String, byte[], long)[11] 0.020 s
shouldMatchEdgeCases(String, byte[], long)[12] 0.021 s
shouldMatchEdgeCases(String, byte[], long)[13] 0.018 s
shouldMatchEdgeCases(String, byte[], long)[14] 0.020 s
shouldMatchEdgeCases(String, byte[], long)[15] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[16] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[17] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[18] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[19] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[20] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[21] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[22] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[23] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[24] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[25] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[26] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[27] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[28] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[29] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[30] 0.005 s
shouldMatchEdgeCases(String, byte[], long)[31] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[32] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[33] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[34] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[35] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[36] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[37] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[38] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[39] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[40] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[41] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[42] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[43] 0.005 s
shouldMatchEdgeCases(String, byte[], long)[44] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[45] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[46] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[47] 0.009 s
shouldMatchEdgeCases(String, byte[], long)[48] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[49] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[50] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[51] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[52] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[53] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[54] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[55] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[56] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[57] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[58] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[59] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[60] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[61] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[62] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[63] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[64] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[65] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[66] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[67] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[68] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[69] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[70] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[71] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[72] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[73] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[74] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[75] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[76] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[77] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[78] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[79] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[80] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[81] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[82] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[83] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[84] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[85] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[86] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[87] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[88] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[89] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[90] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[91] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[92] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[93] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[94] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[95] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[96] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[97] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[98] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[99] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[100] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[101] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[102] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[103] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[104] 0.004 s
shouldMatchEdgeCases(String, byte[], long)[105] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[106] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[107] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[108] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[109] 0.003 s
shouldMatchEdgeCases(String, byte[], long)[110] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[111] 0.002 s
shouldMatchEdgeCases(String, byte[], long)[112] 0.003 s

S3ObjectServiceTest

saveShouldFail_whenSizeTooLarge 0.008 s

UserAvatarControllerTest$DeleteUserAvatar

should404_whenUserNonexistent 0.196 s
shouldDeleteUserAvatar(String)[1] 0.286 s
shouldDeleteUserAvatar(String)[2] 0.241 s
shouldDeleteUserAvatar(String)[3] 0.234 s
shouldDeleteUserAvatar(String)[4] 0.232 s
shouldDeleteUserAvatar(String)[5] 0.227 s
should403_whenUnauthorized 0.187 s
should404_whenAvatarNonexistent 0.189 s

UserAvatarControllerTest$UpdateUserAvatar

should404_whenUserNonexistent 0.191 s
should403_whenUnauthorized 0.188 s
should400_whenMediaTypeInvalid(String)[1] 0.196 s
should400_whenMediaTypeInvalid(String)[2] 0.197 s
should400_whenMediaTypeInvalid(String)[3] 0.197 s
should400_whenMediaTypeInvalid(String)[4] 0.194 s
should400_whenTooLarge(String)[1] 0.191 s
should400_whenTooLarge(String)[2] 0.204 s
should400_whenTooLarge(String)[3] 0.199 s
should400_whenTooLarge(String)[4] 0.195 s
should400_whenTooLarge(String)[5] 0.202 s
should400_whenFileNull(String)[1] 0.188 s
should400_whenFileNull(String)[2] 0.182 s
should400_whenFileNull(String)[3] 0.190 s
should400_whenFileNull(String)[4] 0.188 s
should400_whenFileNull(String)[5] 0.191 s
shouldReplaceOldAvatar(String)[1] 0.240 s
shouldReplaceOldAvatar(String)[2] 0.237 s
shouldReplaceOldAvatar(String)[3] 0.229 s
shouldReplaceOldAvatar(String)[4] 0.241 s
shouldReplaceOldAvatar(String)[5] 0.242 s
shouldUpdateUserAvatar(String)[1] 0.212 s
shouldUpdateUserAvatar(String)[2] 0.202 s
shouldUpdateUserAvatar(String)[3] 0.212 s
shouldUpdateUserAvatar(String)[4] 0.204 s
shouldUpdateUserAvatar(String)[5] 0.206 s

UserAvatarControllerTest$GetUserAvatar

should404_whenUserNonexistent 0.192 s
should403_whenUnauthorized 0.190 s
should404_whenAvatarNonexistent 0.192 s
shouldGetUserAvatar(String, String)[1] 0.221 s
shouldGetUserAvatar(String, String)[2] 0.222 s
shouldGetUserAvatar(String, String)[3] 0.225 s
shouldGetUserAvatar(String, String)[4] 0.209 s
shouldGetUserAvatar(String, String)[5] 0.209 s

UserAvatarControllerTest$UpdateMyAvatar

should400_whenMediaTypeInvalid(String)[1] 0.188 s
should400_whenMediaTypeInvalid(String)[2] 0.183 s
should400_whenMediaTypeInvalid(String)[3] 0.183 s
should400_whenMediaTypeInvalid(String)[4] 0.183 s
should400_whenTooLarge(String)[1] 0.193 s
should400_whenTooLarge(String)[2] 0.183 s
should400_whenTooLarge(String)[3] 0.183 s
should400_whenTooLarge(String)[4] 0.182 s
should400_whenTooLarge(String)[5] 0.182 s
should400_whenFileNull(String)[1] 0.193 s
should400_whenFileNull(String)[2] 0.179 s
should400_whenFileNull(String)[3] 0.186 s
should400_whenFileNull(String)[4] 0.185 s
should400_whenFileNull(String)[5] 0.182 s
shouldUpdateMyAvatar(String)[1] 0.206 s
shouldUpdateMyAvatar(String)[2] 0.203 s
shouldUpdateMyAvatar(String)[3] 0.198 s
shouldUpdateMyAvatar(String)[4] 0.202 s
shouldUpdateMyAvatar(String)[5] 0.196 s

UserAvatarControllerTest$DeleteMyAvatar

shouldDeleteMyAvatar(String)[1] 0.266 s
shouldDeleteMyAvatar(String)[2] 0.229 s
shouldDeleteMyAvatar(String)[3] 0.227 s
shouldDeleteMyAvatar(String)[4] 0.222 s
shouldDeleteMyAvatar(String)[5] 0.221 s
shouldDeleteAvatar_whenUserDeleted 0.214 s
should404_whenNonexistent 0.182 s

UserAvatarControllerTest$GetMyAvatar

should404_whenNonexistent 0.181 s
shouldGetMyAvatar(String, String)[1] 0.221 s
shouldGetMyAvatar(String, String)[2] 0.204 s
shouldGetMyAvatar(String, String)[3] 0.201 s
shouldGetMyAvatar(String, String)[4] 0.201 s
shouldGetMyAvatar(String, String)[5] 0.201 s
shouldGetMyAvatar_whenAvatarChanged(String, String)[1] 0.233 s
shouldGetMyAvatar_whenAvatarChanged(String, String)[2] 0.229 s
shouldGetMyAvatar_whenAvatarChanged(String, String)[3] 0.231 s
shouldGetMyAvatar_whenAvatarChanged(String, String)[4] 0.230 s
shouldGetMyAvatar_whenAvatarChanged(String, String)[5] 0.231 s

AuthorityControllerTest$GetAuthority

shouldGetAuthority 0.021 s
should403_whenUnauthorized 0.180 s
should404_whenNonexistent 0.014 s

AuthorityControllerTest$GetAuthorities

should403_whenUnauthorized 0.190 s
shouldGetAuthorities 0.017 s

TorrentControllerTest$UpdateTorrentFile

shouldUpdateTorrentFile 1.302 s
should400_whenFileEmpty 0.291 s
should404_whenNonexistent 0.049 s

TorrentControllerTest$UploadTorrent

should400_whenFileEmpty 0.212 s
shouldUploadTorrent 0.302 s
should400_whenNameEmpty 0.195 s
should400_whenMetadataNull 0.195 s

TorrentControllerTest$GetTorrentFile

should404_whenNonexistent 0.030 s
shouldGetTorrentFile 0.271 s
shouldGetTorrentFile_withCorrectMediaType 0.200 s
shouldGetTorrentFile_withContentDisposition 0.177 s

TorrentControllerTest$DeleteTorrent

should404_whenNonexistent 0.028 s
shouldDeleteTorrent 0.211 s

TorrentControllerTest$UpdateTorrent

should404_whenNonexistent 0.027 s
shouldUpdateTorrent_whenDescriptionChanged 0.201 s
shouldUpdateTorrent_whenBothChanged 0.224 s
shouldUpdateTorrent_whenNameChanged 0.242 s

TorrentControllerTest$GetTorrentByRepoId

should404_whenNonexistent 0.027 s
should400_whenRepoIdInvalid 0.050 s
shouldGetTorrentByRepoId 0.166 s
should400_whenRepoIdLengthInvalid 0.020 s

TorrentControllerTest$GetTorrent

should404_whenNonexistent 0.025 s
shouldGetTorrent 0.165 s

TorrentControllerTest$GetAllTorrents

shouldGetAllTorrents_whenQueryParametersExceedLimit 17.44 s
shouldGetAllTorrents_whenQueryParameters 1.638 s
shouldGetAllTorrents 0.601 s

UserControllerTest$DeleteUser

should409_whenLastAdminUser 0.076 s
shouldDeleteUser 0.199 s
should403_whenUnauthorized 0.180 s
should404_whenNonexistent 0.183 s

UserControllerTest$DeleteMe

should409_whenLastAdminUser 0.016 s
shouldDeleteMe_whenBasicAuthentication 0.266 s
shouldDeleteMe_whenJwtAuthentication 0.185 s
should401_whenNoAuthentication 0.187 s
should401_whenJwtAuthenticationInvalid 0.176 s
should401_whenBasicAuthenticationIncorrectUsername 0.257 s
should401_whenJwtAuthenticationExpires 0.188 s
should401_whenBasicAuthenticationIncorrectPassword 0.253 s

UserControllerTest$UpdateUser

should403_whenUnauthorized 0.197 s
should404_whenNonexistent 0.192 s
shouldUpdateUser_whenUsernameChanged 0.223 s
shouldUpdateUser_whenUsernameNotChanged 0.197 s
should409_whenDuplicateUsername 0.369 s
shouldUpdateUser_whenSomeNullValues 0.199 s
should400_whenUsernameEmpty 0.199 s
shouldUpdateUser_whenBodyIdIncorrect 0.197 s

UserControllerTest$GetUserTorrents

should403_whenUnauthorized 0.188 s
should404_whenNonexistent 0.194 s
shouldGetUserTorrents 0.192 s
shouldGetUserTorrents_whenUserHasTorrents 0.204 s
shouldGetEmptyList_whenUserHasNoTorrents 0.186 s

UserControllerTest$GetUser

should403_whenUnauthorized 0.182 s
should404_whenNonexistent 0.188 s
shouldGetUser 0.190 s

UserControllerTest$GetUsers

should403_whenUnauthorized 0.181 s
shouldGetUsers_whenQueryParametersExceedLimit 0.050 s
shouldGetUsers_whenNoQueryParameters 0.020 s
shouldGetUsers_whenQueryParameters 0.018 s

UserControllerTest$UpdateMe

should409_whenDuplicateUsername 0.356 s
should400_whenUsernameEmpty 0.191 s
shouldUpdateMe_whenUsernameChanged 0.195 s
shouldUpdateMe_whenUsernameNotChanged 0.193 s
shouldUpdateMe_whenSomeNullValues 0.197 s
shouldUpdateMe_whenIdIncorrect 0.205 s
should400_whenUsernameInvalid 0.189 s

UserControllerTest$GetMyTorrents

should401_whenNoAuthentication 0.008 s
should401_whenJwtAuthenticationInvalid 0.179 s
should401_whenBasicAuthenticationIncorrectUsername 0.255 s
should401_whenJwtAuthenticationExpires 0.184 s
should401_whenBasicAuthenticationIncorrectPassword 0.251 s
shouldGetMyTorrents_whenJwtAuthentication 0.180 s
shouldGetMyTorrents_whenBasicAuthentication 0.256 s

UserControllerTest$GetMe

should401_whenNoAuthentication 0.008 s
should401_whenJwtAuthenticationInvalid 0.178 s
should401_whenBasicAuthenticationIncorrectUsername 0.263 s
should401_whenJwtAuthenticationExpires 0.174 s
should401_whenBasicAuthenticationIncorrectPassword 0.253 s
shouldGetMe_whenJwtAuthentication 0.180 s
shouldGetMe_whenBasicAuthentication 0.255 s

UserControllerTest$UpdateMyPassword

should400_whenPasswordUnchanged 0.253 s
shouldUpdateMyPassword 0.505 s

UserControllerTest$GetMyAuthorities

should401WhenBasicAuthenticationIncorrectPassword 0.256 s
shouldReturnPopulatedAuthoritiesWhenUserHasAdminRole 0.016 s
should401WhenJwtAuthenticationInvalid 0.181 s
shouldGetMyAuthoritiesWhenJwtAuthentication 0.177 s
should401WhenNoAuthentication 0.009 s
should401WhenJwtAuthenticationExpires 0.182 s
shouldReturnEmptyAuthoritiesWhenUserHasDefaultUserRole 0.187 s
shouldGetMyAuthoritiesWhenBasicAuthentication 0.248 s
should401WhenBasicAuthenticationIncorrectUsername 0.251 s

UserRoleControllerTest$RemoveUserRoles

shouldNotRemoveUserRoles_whenRolesNotFound 0.154 s
should409_whenRemovingOnlyAdminRole 0.037 s
should403_whenUnauthorized 0.208 s
shouldRemoveUserRoles 0.080 s
should404_whenNonexistentUser 0.052 s
should400_whenRemoveUserRole 0.066 s

UserRoleControllerTest$SetUserRoles

should409_whenRemovingOnlyAdminRole 0.027 s
should403_whenUnauthorized 0.194 s
should404_whenNonexistentUser 0.041 s
shouldSetUserRoles 0.073 s
shouldSetUserRoles_withoutUserRole 0.060 s
shouldSetUserRoles_whenRolesNotFound 0.070 s

UserRoleControllerTest$AddUserRoles

should403_whenUnauthorized 0.194 s
should404_whenNonexistentUser 0.050 s
shouldAddUserRoles_whenRolesNotFound 0.087 s
shouldNotAddUserRoles_whenRolesAlreadyAdded 0.071 s
shouldAddUserRoles 0.069 s

UserRoleControllerTest$GetUserRoles

should403_whenUnauthorized 0.195 s
should404_whenNonexistentUser 0.038 s
shouldGetUserRoles 0.053 s

HeartbeatControllerTest

shouldReturnTrue_whenHeartbeat 0.024 s

AuthenticationControllerTest$Logout

shouldLogout_whenInvalidToken 0.038 s
shouldLogout_whenLoggedIn 0.189 s
should401_whenNoRefreshToken 0.008 s
shouldLogout_whenExpiredToken 0.186 s

AuthenticationControllerTest$Refresh

should401_whenNoRefreshToken 0.007 s
should401_whenInvalidToken 0.011 s
should401_whenExpiredToken 0.176 s
shouldRefresh_whenLoggedIn 0.188 s

AuthenticationControllerTest$Register

shouldRegister_whenNewUser 0.186 s
should400_whenInvalidUsername 0.015 s
should400_whenEmptyPassword 0.011 s
should400_whenInvalidEmail 0.018 s
should409_whenDuplicateEmail 0.016 s
should409_whenDuplicateUsername 0.018 s
should400_whenEmptyEmail 0.020 s
should400_whenEmptyUsername 0.016 s

AuthenticationControllerTest$Login

should401_whenIncorrectUsername 0.095 s
should401_whenIncorrectPassword 0.093 s
shouldLogin_whenAdminEmail 0.093 s
shouldLogin_whenAdminUsername 0.092 s

RoleControllerTest$DeleteRole

shouldDeleteRole_whenUsed 0.210 s
shouldDeleteRole 0.024 s
should400_whenDeleteAdminRole 0.018 s
should403_whenUnauthorized 0.187 s
should404_whenNonexistent 0.015 s
should400_whenDeleteUserRole 0.016 s

RoleControllerTest$UpdateRole

should403_whenUnauthorized 0.188 s
shouldUpdateRole_whenUpdateName 0.053 s
should400_whenNameEmpty 0.023 s
shouldUpdateRole_whenNameNotChanged 0.028 s
shouldUpdateRole_whenUpdateAuthorities 0.031 s
should409_whenDuplicateName 0.028 s
should404_whenRoleNonexistent 0.021 s
should400_whenAdminRole 0.016 s
shouldUpdateRole_whenBodyIdIncorrect 0.023 s
shouldUpdateWithoutAuthority_whenAuthorityNonexistent 0.035 s

RoleControllerTest$CreateRole

should403_whenUnauthorized 0.183 s
should400_whenNameEmpty 0.013 s
shouldCreateRole 0.018 s
should409_whenDuplicateRoleName 0.015 s
shouldCreateWithoutAuthority_whenAuthorityNonexistent 0.034 s

RoleControllerTest$GetRole

should403_whenUnauthorized 0.185 s
should404_whenNonexistent 0.015 s
shouldContainAllAuthorities_whenGetAdminRole 0.018 s
shouldGetRole 0.018 s

RoleControllerTest$GetRoles

should403_whenUnauthorized 0.184 s
shouldGetRoles 0.030 s