Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
900 0 0 125 86.1% 60.34 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
org.diabetestechnology.drh.service.http.pg.service.email 18 0 0 0 100% 0.156 s
org.diabetestechnology.drh.service.http.hub.prime.service 136 0 0 125 8.1% 0.019 s
org.diabetestechnology.drh.service.http.hub.prime.service.interaction 9 0 0 0 100% 2.013 s
lib.aide.tabular 9 0 0 0 100% 0.188 s
org.diabetestechnology.drh.service.http.hub.prime.service.VannaAI 5 0 0 0 100% 0.452 s
lib.aide.vfs 1 0 0 0 100% 0.126 s
org.diabetestechnology.drh.service.http.pg.service 629 0 0 0 100% 17.88 s
org.diabetestechnology.drh.service.http 4 0 0 0 100% 21.57 s
org.diabetestechnology.drh.service.http.hub.prime.service.orcid 15 0 0 0 100% 0.354 s
org.diabetestechnology.drh.service.http.pg 65 0 0 0 100% 10.19 s
org.diabetestechnology.drh.service.http.hub.prime.service.cohortFilter 9 0 0 0 100% 7.385 s

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

org.diabetestechnology.drh.service.http.pg.service.email

- Class Tests Errors Failures Skipped Success Rate Time
OtpServiceTest 11 0 0 0 100% 0.020 s
EmailNotificationServiceTest 7 0 0 0 100% 0.136 s

org.diabetestechnology.drh.service.http.hub.prime.service

- Class Tests Errors Failures Skipped Success Rate Time
UserNameServiceTest 11 0 0 0 100% 0.017 s
DataAccessServiceTest 119 0 0 119 0% 0.001 s
CombineDataAccessServiceTest 6 0 0 6 0% 0.001 s

org.diabetestechnology.drh.service.http.hub.prime.service.interaction

- Class Tests Errors Failures Skipped Success Rate Time
ActivityLogServiceTest 9 0 0 0 100% 2.013 s

lib.aide.tabular

- Class Tests Errors Failures Skipped Success Rate Time
JooqRowsSupplierTest 8 0 0 0 100% 0.158 s
TabularRowsRequestTest 1 0 0 0 100% 0.030 s

org.diabetestechnology.drh.service.http.hub.prime.service.VannaAI

- Class Tests Errors Failures Skipped Success Rate Time
AIServiceTest 5 0 0 0 100% 0.452 s

lib.aide.vfs

- Class Tests Errors Failures Skipped Success Rate Time
VfsIngressConsumerTest 1 0 0 0 100% 0.126 s

org.diabetestechnology.drh.service.http.pg.service

- Class Tests Errors Failures Skipped Success Rate Time
S3FileUploadServiceTest 55 0 0 0 100% 2.595 s
StudyDashboardServiceTest 7 0 0 0 100% 0.419 s
VannaAiServiceTest 6 0 0 0 100% 0.028 s
PopulationPercentageServiceTest 4 0 0 0 100% 0.071 s
OrganizationServiceTest 6 0 0 0 100% 0.100 s
UserRoleServiceTest 37 0 0 0 100% 0.418 s
ResearchStudyParticipantFileServiceTest 7 0 0 0 100% 0.881 s
ParticipantRowFileServiceTest 37 0 0 0 100% 0.699 s
ParticipantMetricsServiceTest 13 0 0 0 100% 0.090 s
EmailServiceTest 4 0 0 0 100% 0.655 s
SessionReportServiceTest 6 0 0 0 100% 0.149 s
MealsAndFitnessServiceTest 8 0 0 0 100% 1.898 s
PractitionerServiceTest 50 0 0 0 100% 0.548 s
MasterServiceTest 68 0 0 0 100% 0.249 s
PubMedServiceTest 48 0 0 0 100% 2.505 s
AuthUserDetailsServiceTest 18 0 0 0 100% 0.970 s
InvestigatorServiceTest 25 0 0 0 100% 0.340 s
DbActivityServiceTest 5 0 0 0 100% 1.174 s
AIConversationServiceTest 9 0 0 0 100% 0.100 s
InteractionServiceTest 86 0 0 0 100% 0.759 s
CgmMasterServiceTest 9 0 0 0 100% 0.031 s
ParticipantServiceTest 11 0 0 0 100% 0.675 s
ChunkDatabaseMigrationServiceTest 16 0 0 0 100% 0.367 s
PartyServiceTest 17 0 0 0 100% 0.065 s
SuperAdminServiceTest 26 0 0 0 100% 1.176 s
DatabaseMigrationServiceTest 35 0 0 0 100% 0.378 s
FileServiceTest 8 0 0 0 100% 0.371 s
RolePermissionServiceTest 8 0 0 0 100% 0.171 s

org.diabetestechnology.drh.service.http

- Class Tests Errors Failures Skipped Success Rate Time
ApplicationTests 1 0 0 0 100% 21.56 s
UxReportableObservabilityTest 3 0 0 0 100% 0.013 s

org.diabetestechnology.drh.service.http.hub.prime.service.orcid

- Class Tests Errors Failures Skipped Success Rate Time
OrcidUserDetailServiceTest 15 0 0 0 100% 0.354 s

org.diabetestechnology.drh.service.http.pg

- Class Tests Errors Failures Skipped Success Rate Time
ResearchStudyServiceTest 65 0 0 0 100% 10.19 s

org.diabetestechnology.drh.service.http.hub.prime.service.cohortFilter

- Class Tests Errors Failures Skipped Success Rate Time
CohortFilterServiceTest 9 0 0 0 100% 7.385 s

Test Cases

[Summary] [Package List] [Test Cases]

S3FileUploadServiceTest

testUploadCgmFile_SandboxMode 0.867 s
testValidateParticipantFileJson_Missing_Age 0.005 s
testCountDelimitersOutsideQuotes_NoQuotes 0.005 s
testUploadFile_GeneralException 0.065 s
testCountDelimitersOutsideQuotes_NoDelimiters 0.004 s
testParseLineWithQuotes_WithEmptyFields 0.004 s
testUploadDBFileToS3_SandboxMode_ReturnsDummyUrl 0.004 s
testParseLineWithQuotes_SimpleCommaDelimited 0.003 s
testParseLineWithQuotes_TabDelimited 0.004 s
testUploadFile_InvalidContentType 0.004 s
testUploadDatabaseFileToS3Bucket_GeneralException 0.008 s
testProcessCsvFile_Success 0.030 s
testParseTextToJSONArray_EmptyContent 0.004 s
testProcessExcelFile_Success 1.338 s
testCountDelimitersOutsideQuotes_WithQuotes 0.004 s
testUploadCgmFile_GenericException 0.008 s
testValidateParticipantFileJson_MissingParticipantId 0.004 s
testUploadFile_Success 0.009 s
testParseTextToJSONArray_MixedValidInvalidLines 0.004 s
testParseTextToJSONArray_WithWhitespace 0.004 s
testCountDelimitersOutsideQuotes_TabDelimiter 0.003 s
testSaveFileToTempLocation_Success 0.004 s
testUploadParticipantFileToS3Bucket_S3Exception 0.009 s
testGenerateCsvTemplate_ExceptionHandling 0.005 s
testUploadDatabaseFileToS3Bucket_Success 0.005 s
testUploadDBFileToS3_InvalidSQLiteFile_ThrowsException 0.005 s
testCountDelimitersOutsideQuotes_MultipleQuotePairs 0.004 s
testConvertCsvToJson_NoValidDelimiter_ThrowsException 0.004 s
testUploadCgmFile_Success 0.005 s
testGenerateCsvTemplate_Success 0.007 s
testParseTextToJSONArray_ValidKeyValueFormat 0.004 s
testUploadFile_InvalidFileType 0.003 s
testUploadParticipantFileToS3Bucket_Success 0.004 s
testConvertToByteArray_Success 0.004 s
testConvertToByteArray_FileNotFound 0.005 s
testUploadCgmFile_S3Exception 0.024 s
testProcessContent_UnsupportedFileType 0.022 s
testUploadParticipantFileToS3Bucket_GenericException 0.006 s
testValidateParticipantFileJson_AllValid 0.006 s
testUploadDBFileToS3_Success 0.005 s
testDeleteTempFile_FileNotExists 0.005 s
testCountDelimitersOutsideQuotes_EmptyString 0.004 s
testUploadDBFileToS3_GeneralExceptionHandling 0.005 s
testParseLineWithQuotes_EmptyLine 0.003 s
testUploadParticipantFileToS3Bucket_SandboxMode 0.004 s
testConvertCsvToJson_ValidCsv_ReturnsJson 0.004 s
testParseLineWithQuotes_WithQuotedValues 0.003 s
testCountDelimitersOutsideQuotes_OnlyQuotedContent 0.003 s
testUploadFile_EmptyFile 0.003 s
testParseLineWithQuotes_SingleValue 0.003 s
testValidateParticipantFileJson_InvalidAge 0.003 s
testUploadFile_S3Exception 0.005 s
testParseTextToJSONArray_InvalidFormat 0.004 s
testDeleteTempFile_Success 0.003 s
testValidateParticipantFileJson_MissingGender 0.003 s

StudyDashboardServiceTest

testGetTotalParticipants_ExceptionHandling 0.006 s
testGetAverageAgeForDashboard_ExceptionHandling 0.012 s
testGetAverageAgeForDashboard_NormalCase 0.344 s
testGetTotalParticipants 0.004 s
testGetAverageAgeForDashboard_NoData 0.004 s
testGetFemalePercentage_ExceptionHandling 0.037 s
testGetFemalePercentage 0.004 s

VannaAiServiceTest

testSaveVannaRequestAndResponse_WithCompleteRequest 0.007 s
testSaveVannaRequestAndResponse_DatabaseException 0.004 s
testSaveVannaRequestAndResponse_Success 0.004 s
testSaveVannaRequestAndResponse_EmptyQuestion 0.003 s
testSaveVannaRequestAndResponse_UserServiceException 0.003 s
testSaveVannaRequestAndResponse_WithNullResult 0.004 s

PopulationPercentageServiceTest

testGetTotalDataPoints 0.051 s
testGetTotalCgmFileCount 0.005 s
test_WhenExceptionOccurs 0.006 s
testGetTotalParticipantsWithData 0.005 s

OtpServiceTest

testVerifyOtp_WithInvalidOtp_ShouldReturnFailure 0.002 s
testVerifyOtp_ShouldRemoveOtpAfterExpiry 0.002 s
testVerifyOtp_WithMaxAttemptsExceeded_ShouldReturnMaxAttemptsExceeded 0.002 s
testGenerateAndSendOtp_ShouldGenerateValidOtp 0.001 s
testVerifyOtp_ShouldRemoveOtpAfterMaxAttempts 0.001 s
testVerifyOtp_WithNonExistentEmail_ShouldReturnNotFound 0.002 s
testMultipleOtpGeneration_ShouldOverwritePreviousOtp 0.001 s
testVerifyOtp_WithValidOtp_ShouldReturnSuccess 0.002 s
testGenerateAndSendOtp_ShouldStoreOtpInStore 0.001 s
testVerifyOtp_WithExpiredOtp_ShouldReturnExpired 0.001 s
testVerifyOtp_ShouldRemoveOtpAfterSuccessfulVerification 0.001 s

OrganizationServiceTest

testSaveOrganization 0.058 s
testSearchOrganization 0.008 s
testSaveOrganization_AlreadyExists 0.010 s
testSearchOrganization_NoResult 0.005 s
testSearchOrganization_ExceptionHandling 0.004 s
testSaveOrganization_ExceptionHandling 0.008 s

UserRoleServiceTest

testGetUserList_GeneralException 0.108 s
testGetUserRolesAndPermissions_Success 0.004 s
testCheckPermissionListByRolesAndMenuName_Success 0.142 s
testGetPermissionsOfGuestRole_Exception 0.005 s
testGetUserRoles_Exception 0.004 s
testGetPermissions_Exception 0.006 s
testGetUserRoles_SuccessWithData 0.005 s
testGetUserRolesByPartyId_GuestUser 0.005 s
testGetPermissionsByRoles_GuestUser 0.005 s
testUpdateUserRole_Exception 0.006 s
testGetUserRoles_NoRolesFound 0.004 s
testGetUserList_SuccessWithData 0.003 s
testGetPermissionsByRoles_SuperAdmin 0.004 s
testGetPermissionsByRoles_NoRolesFound 0.005 s
testGetUserList_Success 0.004 s
testGetUserRolesAndPermissions_Exception 0.004 s
testGetFlatPermissionListByRoles_Exception 0.006 s
testUpdateUserRole_Success 0.006 s
testUpdateUserRole_SuperAdminAccess 0.006 s
testGetUserRolesByPartyId_AuthenticatedUserCallsPresentation 0.005 s
testGetPermissions_SuperAdmin 0.005 s
testCheckPermissionListByRolesAndMenuName_NoPermission 0.003 s
testGetPermissionsByRoles_NullUserPartyId 0.004 s
testGetUserRolesByPartyId_NullPartyId 0.003 s
testGetPermissions_NullUserPartyId 0.004 s
testGetPermissions_GuestUser 0.004 s
testUpdateUserRole_PermissionDenied 0.004 s
testGetUserRolesByPartyId_SuperAdmin 0.004 s
testGetUserRoles_Success 0.004 s
testGetUserRolesByPartyId_Exception 0.004 s
testGetFlatPermissionListByRoles_Success 0.005 s
testGetUserRolesByPartyId_EmptyPartyId 0.003 s
testCheckPermissionListByRolesAndResource_Success 0.004 s
testUpdateUserRole_ServiceNotNull 0.003 s
testGetUserList_DataAccessException 0.004 s
testCheckPermissionListByRolesAndResource_NoPermission 0.004 s
testConstructor 0.002 s

ResearchStudyParticipantFileServiceTest

testUploadAndSaveParticipantFile_ValidAndUnknownRace 0.762 s
testUploadAndSaveParticipantFile_Empty_Json_Array 0.017 s
testUploadAndSaveParticipantFile_validate_Header 0.015 s
testUploadAndSaveParticipantFile_Success 0.019 s
testUploadAndSaveParticipantFile_ValidAndUnknownRace_exception 0.026 s
testUploadAndSaveParticipantFile_jsonValidateResponse_error 0.022 s
testUploadAndSaveParticipantFile_Failure_S3Upload 0.016 s

UserNameServiceTest

getUserProvider_EmptyFallback 0.002 s
getUserProvider_DefaultOAuth2User 0.002 s
getUserEmail_EmptyFallback 0.001 s
getUserName_Anonymous 0.001 s
getUserInstitution_EmptyFallback 0.001 s
getUserName_DefaultOAuth2User 0.001 s
getUserName_StringPrincipal 0.001 s
getUserInstitution_DefaultOAuth2User 0.001 s
getUserEmail_DefaultOAuth2User 0.001 s
getUserId_Anonymous 0.001 s
getUserId_FromHttpRequest 0.001 s

ParticipantRowFileServiceTest

testReadXmlContent_FileNotFound 0.190 s
testSaveCgmRowFile_EmptyFileName 0.008 s
testConstructor_Success 0.005 s
testSaveCgmRowFile_EmptyOrgPartyId 0.008 s
testSaveCgmRowFile_NullOrgPartyId 0.007 s
testSaveCgmRowFile_ValidZipFile 0.009 s
testSaveCgmRowData_DataStructure 0.004 s
testSaveCgmRowData_ExceptionHandling 0.006 s
testSaveCgmRowFile_NullFileName 0.005 s
testSaveCgmRowFile_ValidCSVFile 0.015 s
testSaveCgmRowData_ValidationFailure_MissingDateField 0.005 s
testPrepareCgmRequestJson_MethodAccessibility 0.010 s
testSaveCgmRowData_MethodAccessibility 0.005 s
testSaveCgmRowFile_InvalidFileType 0.007 s
testSaveCgmRowData_WithInvalidJsonStructure 0.005 s
testReadXmlContent_Success 0.005 s
testSaveCgmRowFile_ValidJSONFile 0.008 s
testSaveCgmRowFile_NullParticipantId 0.008 s
testSaveCgmRowData_RequestValidation 0.004 s
testSaveCgmRowFile_ValidTextFile 0.007 s
testSaveCgmRowFile_ValidXMLFile 0.007 s
testSaveCgmRowFile_EmptyParticipantId 0.007 s
testSaveCgmRowFile_ValidExcelFile 0.265 s
testSaveCgmRowData_TransactionalAnnotation 0.004 s
testSaveCgmRowFile_EmptyFile 0.006 s
testSaveCgmRowData_WithEmptyJsonData 0.005 s
testPrepareMetadata_MethodAccessibility 0.004 s
testSaveCgmRowData_MethodSignature 0.004 s
testSaveCgmRowData_ParameterValidation 0.003 s
testSaveCgmRowData_ValidationFailure_MissingValueField 0.004 s
testSaveCgmRowData_WithEmptyMetadata_ThrowsException 0.004 s
testSaveCgmRowFile_EmptyStudyId 0.007 s
testConvertJsonNodeToList_MethodAccessibility 0.006 s
testSaveCgmRowData_WithNullRequest_ThrowsException 0.006 s
testSaveCgmRowData_WithValidData_ThrowsException 0.005 s
testConvertToMap_MethodAccessibility 0.010 s
testSaveCgmRowFile_NullStudyId 0.008 s

ParticipantMetricsServiceTest

testGetTimeRangeStackedData_Success 0.014 s
testGetAmbulatoryGlucoseProfile 0.003 s
testGetDailyGlucoseProfile_Success 0.004 s
testGetParticipantDateTimeRange 0.004 s
testGetGlycemicRiskIndicator_DateParseError 0.004 s
testGetDailyGlucoseProfile_DateParseError 0.004 s
testGetParticipantMetrics 0.004 s
testGetParticipantMetrics_DateParseError 0.004 s
testGetGlycemicRiskIndicator_Success 0.005 s
testGetAdvancedMetrics_Success 0.005 s
testGetAdvancedMetrics_DateParseError 0.024 s
testGetTimeRangeStackedData_DateParseError 0.004 s
testGetAmbulatoryGlucoseProfile_DateParseError 0.004 s

EmailServiceTest

testSendEmail_Success 0.621 s
testSendEmail_MailException 0.011 s
testSendEmail_EdgeCases 0.010 s
testSendEmail_TemplateEngineException 0.010 s

JooqRowsSupplierTest

testSimpleQuery 0.087 s
testSimpleQueryWithSchema 0.017 s
testQueryWithAggregation 0.007 s
testQueryWithGroupBy 0.003 s
testQueryWithDateFilter 0.005 s
testQueryWithMultipleAggregations 0.010 s
testQueryWithFilterAndSort 0.011 s
testCustomQuery 0.011 s

ApplicationTests

contextLoads 1.386 s

UxReportableObservabilityTest

testAfterCompletion_NonSandboxProfile_WithSecureFlags 0.009 s
testAfterCompletion_SandboxProfile_NoSecureFlags 0.002 s
testPreHandle_SetsStartTime 0.001 s

VfsIngressConsumerTest

testVfsIngressConsumer 0.125 s

AIServiceTest

testGetAIInteraction_ErrorHandling 0.439 s
testGetAIInteraction 0.002 s
testGetAllAIInteraction_ErrorHandling 0.003 s
testSaveAIInteraction 0.003 s
testGetAllAIInteraction 0.003 s

SessionReportServiceTest

testGetSessionDetails_SuperAdmin_Success 0.120 s
testGetSessionDetails_InvalidUser_ReturnsEmptyMap 0.004 s
testGetSessionDetails_NormalUser_Success 0.004 s
testGetOrganizationSessionReport_Success 0.003 s
testGetSessionDetails_Exception_ReturnsErrorResponse 0.007 s
testGetApplicationSessionReport_Success 0.007 s

MealsAndFitnessServiceTest

testSaveMealsAndFitnessFile_S3UploadFailures_LogsInteraction 0.103 s
testSaveMealsAndFitnessFile_FailsWhenS3UploadReturnsNull 0.007 s
testSaveMealsAndFitnessFile_FailsWhenTempFilePathIsNull 0.010 s
testSaveMealsAndFitnessFile_ExceptionHandling 0.007 s
testSaveMealsAndFitness_FailureResponse 0.008 s
testSaveMealsAndFitnessFile_InvalidFileUpload_ThrowsException 0.003 s
testSaveMealsAndFitnessFile_Success 1.749 s
testSaveMealsAndFitnessFile_S3UploadFailure 0.006 s

TabularRowsRequestTest

testDeserialization 0.030 s

ResearchStudyServiceTest

testGetAllResearchStudyPrincipalInvestigator 8.472 s
testGetMyResearchStudies_jsonProcessingError 0.649 s
testUpdateStudyCitation_nullResult 0.022 s
testEditResearchStudy_whenExceptionThrown 0.043 s
testGetNominatedPrincipalInvestigator 0.007 s
testGetStudyTeamMembers 0.007 s
testGetStudyDisplayId 0.012 s
testDeleteResearchStudy_success 0.017 s
testSaveResearchStudySettings_invalidNctNumber 0.127 s
testGetResearchStudyArchieveStatus 0.013 s
testGetStudyOwner_found 0.011 s
testGetResearchStudies_jsonProcessingError 0.045 s
testGetResearchStudies_validResult 0.011 s
testGetStudyCitations_exceptionHandling 0.012 s
testSaveStudyCitation_success 0.072 s
testSaveResearchStudySettings_exceptionDuringSave 0.021 s
testGetAllResearchStudyCoAuthor 0.007 s
testCheckStudyDisplayIdExists_whenExists 0.015 s
testGetAllResearchStudies_noDataFound 0.006 s
testGetStudyCitations_success 0.008 s
testEditResearchStudyArchiveStatus_Success 0.199 s
testUpdatePublicationInlineExceptionHandling 0.027 s
testSaveAuthors_nullResult 0.009 s
testIsDuplicatePubMedOrDOI_withNeitherDoiNorPubmedId_returnsFalse 0.013 s
testUpdateVisibility 0.009 s
testGetStudyCitations_emptyData 0.006 s
testEditResearchStudyArchiveStatus_whenException_thenSaveFailedInteractionAndReturnNull 0.008 s
testEditResearchStudy 0.009 s
testSaveResearchStudySettings_emptyNctNumber 0.004 s
testUpdateStudyCitation_exceptionHandling 0.005 s
testUpdateStudyCitation_success 0.008 s
testSaveAuthors_success 0.007 s
testGetMyResearchStudies_successful 0.007 s
testGetAllResearchStudyTeam_successful 0.009 s
testGetAllResearchStudies_successful 0.006 s
testSaveResearchStudy 0.014 s
testGetInvestigatorOrAuthor_jsonProcessingError 0.009 s
testGetStudyOwner_notFound 0.006 s
testGetInvestigatorOrAuthor_noDataFound 0.005 s
testGetAllResearchStudies_jsonProcessingError 0.006 s
testDeleteResearchStudy_exceptionDuringDelete 0.010 s
testGetInvestigatorOrAuthor_successful 0.006 s
testIsDuplicatePubMedOrDOI_withOnlyDoi_duplicateFound 0.008 s
testGetMyResearchStudies_noDataFound 0.007 s
testSaveAuthors_exceptionHandling 0.007 s
testSaveResearchStudySettings_validNctNumber 0.010 s
testUpdatePublicationInline 0.009 s
testSaveStudyCitation_exceptionHandling 0.006 s
testDeleteResearchStudy_permissionDenied 0.008 s
testGetAllResearchStudyCoInvestigator 0.006 s
testUpdateVisibility_whenExceptionThrown_thenSaveFailedInteractionAndThrow 0.011 s
testCheckStudyDisplayIdExists_whenNotExists 0.006 s
testSaveStudyCitation_nullResult 0.005 s
testGetAllResearchStudyPrincipalAuthor 0.005 s
testGetResearchStudyfArchieveStatus 0.006 s
testGetAllResearchStudyTeam_jsonProcessingError 0.006 s
testSaveResearchStudy_missingStudyIdKey 0.030 s
testIsDuplicatePubMedOrDOI_withOnlyPubmedId_noDuplicate 0.008 s
testIsDuplicatePubMedOrDOI_withBothDoiAndPubmedId_duplicateFound 0.011 s
testGetAllResearchStudyTeam_noDataFound 0.005 s
testGetParticipantDisplayId 0.005 s
testSaveResearchStudySettings_nullResultFromDb 0.006 s
testGetResearchStudies_noDataFound 0.004 s
testGetStudyCitations_noDataFound 0.005 s
testIsDuplicatePubMedOrDOI_withEmptyStrings_returnsFalse 0.006 s

DataAccessServiceTest

testCalculateTimeBelowRangeLow_RetryLogic 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetMeanGlucose 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCheckDatabaseAttachment_WhenNotFound 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetAmbulatoryGlucoseProfile_DatabaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateTimeBelowRangeLow_DatabaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetStudyDetails_DatabaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateTimeAboveRangeVeryHigh 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetSortModel_AscendingSort 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testRefreshDatabase_WhenAlreadyAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateJIndex 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetSortModel_DescendingSort 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateMValue 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetMeanGlucose_DatabaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateTimeAboveRangeHigh_DatabaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateMeanOfDailyDifferences_DatabaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetStudyDetails 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCreateCondition_DateFilter 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateLBGIandHBGI 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetGlucoseManagementIndicator 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCommonResponseBuilder_Success 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetMeanGlucose_DataAccessException 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateTimeAboveRangeHigh_DataAccessException 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetCoefficientOfVariation_DatabaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCreateCondition_NumberFilter 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testResponseBuilder_SuccessWithData 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetNumberOfDaysCGMWorn_DatabaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateMeanOfDailyDifferences_DataAccessException 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCreateCondition_ContainsFilter 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetAmbulatoryGlucoseProfile_DataAccessExceptions 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetParticipantCGMDates_NoDataFound 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateGRADE_DatabaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCreateCondition_InvalidFilterType 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateTimeInRange_succcess 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetCoefficientOfVariation_DataAccessException 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testAttachDatabase_WhenFails 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetNumberOfDaysCGMWorn_DataAccessException 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testComputeAllMetrics_InvalidDatabaseAlias 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateMeanOfDailyDifferences 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testComputeAllMetrics_Success 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testLiabilityIndex 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetDailyGlucoseProfile_Success 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateGRADE_DataAccessException 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetParticipantMetrics_DatabaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateCONGA_DatabaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetPercentageTimeCGMActive_DatabaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateTimeInTightRange_EmptyResult 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateAverageDailyRisk_NullResult 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetParticipantCGMDates_DataAccessException 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGlycemicRiskIndicator 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetParticipantMetrics 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetTimeRangeStackedData 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCreateCondition_NullFilterModel 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetParticipantCGMDates_DBNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateTimeBelowRangeLow_Success 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateTimeInTightRange_DatabaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetParticipantMetrics_DataAccessException 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateCONGA_DataAccessException 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateTimeBelowRangeVeryLow_MaxRetriesExceeded 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetPercentageTimeCGMActive_DataAccessException 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testResponseBuilder_Error 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testReplacePlaceholders 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGlycemicRiskIndicator_DatabaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetDailyGlucoseProfile_NoData 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateTimeInRange_queryFailureWithRetries 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetCoefficientOfVariation_Success 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateTimeBelowRangeVeryLow_NoData 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetIndividualStudyDetails 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateTimeAboveRangeVeryHigh_EmptyResult 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testResponse 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateMValue_DatabaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateTimeInTightRange_DataAccessException 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateTimeInRange_databaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testComputeAllMetrics_NoRecordsFound 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetPercentageTimeCGMActive 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testComputeAllMetrics_DataAccessException_MaxRetriesExceeded 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testAttachDatabase_Success 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGlycemicRiskIndicator_DataAccessException 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetNumberOfDaysCGMWorn 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetStudyParticipantDashboard 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testLiabilityIndex_DatabaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateTimeAboveRangeHigh_EmptyResult 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateMValue_DataAccessException 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateTimeInRange_noDataFound 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetMeanAmplitude 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateTimeAboveRangeHigh 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetMeanAmplitude_EmptyResult 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCreateCondition_EqualsFilter 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testLiabilityIndex_DataAccessException 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetStudyParticipantDashboard_DatabaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetParticipantCGMDates 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetMeanAmplitude_DatabaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateLBGIandHBGI_DatabaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateTimeAboveRangeVeryHigh_DatabaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetTimeRangeStackedData_DatabaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testRefreshDatabase_WhenNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetStudyTotalCgmFiles 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCreateCondition_LikeFilter 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetFieldName_Success 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateMValue_EmptyResult 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetParticipantInfos 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateTimeBelowRangeVeryLow_Success 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetGlucoseManagementIndicator_DatabaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testResponseBuilder_SuccessNoData 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetDailyGlucoseProfile_InvalidStudyId 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateJIndex_DatabaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateTimeInTightRange 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetMeanAmplitude_DataAccessException 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateLBGIandHBGI_DataAccessException 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateTimeAboveRangeVeryHigh_DataAccessException 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetTimeRangeStackedData_DataAccessException 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateAverageDailyRisk_DatabaseNotAttached 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testAttachDatabase 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateTimeBelowRangeLow_NoData 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateAverageDailyRisk 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testGetGlucoseManagementIndicator_DataAccessException 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateCONGA 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateGRADE 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateJIndex_DataAccessException 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -
testCalculateAverageDailyRisk_DataAccessException 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled -

OrcidUserDetailServiceTest

testGetUserDetails_WithOrcidProvider 0.291 s
testExtractEmail_WithEmptyEmailArray 0.004 s
testGetUserDetails_AnonymousProvider 0.004 s
testExtractEmail_WithValidEmail 0.003 s
testGetUserDetails_WithoutOrcidProvider 0.004 s
testExtractInstitution_WithMalformedJson_ShouldCatchException 0.005 s
testGetUserId_WithOrcidProvider 0.004 s
testExtractFullName_WithNullFamilyName 0.003 s
testExtractFullName_WithGivenAndFamilyName 0.003 s
testGetOrcidUserInfo_WhenRestTemplateThrowsException_ShouldReturnErrorResponse 0.016 s
testExtractInstitution_WithValidInstitution 0.003 s
testExtractFullName_WithOnlyGivenName 0.002 s
testGetOrcidUserInfo_ValidOrcidId_ShouldReturnApiResponse 0.003 s
testGetUserId_WithNonOrcidProvider 0.003 s
testGetOrcidUserInfo_InvalidOrcidId_ShouldReturnBadRequest 0.002 s

PractitionerServiceTest

testGetLoggedInUserDetails_anonymousUser_returnsEmptyJson 0.216 s
testIsUserExists_ValidUser 0.004 s
testIsUserExists_null 0.003 s
testIsUserVerified_Exception 0.003 s
test_GetUserOrganization 0.005 s
testCreatePractitionerProfile_GitHub 0.114 s
testGetLoggedInUserDetails_success 0.007 s
testGetUserDetails_ExceptionHandling 0.005 s
testGetExistingProvider_Exception 0.005 s
testGetEmailByUserId_Exception 0.005 s
testGetUserOrganization_NullUserId 0.004 s
testUpdateProfileDetails_Exception 0.005 s
testLinkExternalAuthProvider_Success 0.004 s
testGetProfileDetails_NullResult 0.005 s
testCreatePractitionerProfile_InvalidProvider 0.005 s
testIsUniqueEmail_Exception 0.004 s
testIsUserExists_ExceptionHandling 0.004 s
testGetUserDetails_AnonymousUser 0.003 s
testGetAvatarUrl_DefaultOAuth2User_NullAvatar 0.003 s
testGetUserNameByEmail_Exception 0.004 s
testCheckEmailUnique_EmailNotUnique 0.005 s
testGetUserOrganization_EmptyUserId 0.004 s
testGetProfileDetails_Success 0.004 s
testIsUniqueEmail_True 0.004 s
testCheckEmailUnique_NullResult 0.004 s
testGetUserDetails_NoUserFound 0.004 s
testIsUserExists_IsEmpty 0.002 s
testLinkExternalAuthProvider_Exception 0.004 s
testIsUserEmailExists_Exception 0.004 s
testIsUserEmailExists_False 0.004 s
testCheckEmailUnique_Exception 0.003 s
testGetAvatarUrl_DefaultOAuth2User 0.004 s
testGetLoggedInUserDetails_whenExceptionThrown_returnsEmptyJson 0.004 s
testCreatePractitionerProfile_Orcid 0.006 s
testGetUserOrganization_AnonymousUser 0.003 s
testUpdateProfileDetails_Success 0.004 s
testIsUserEmailExists_True 0.004 s
testIsUniqueEmail_EmptyResult 0.004 s
testIsUserVerified_True 0.005 s
testGetExistingProvider_Success 0.004 s
testIsUserExists_Anonymous 0.003 s
testGetUserDetails_UserFound 0.005 s
testGetEmailByUserId_Success 0.003 s
testIsUniqueEmail_FailureStatus 0.003 s
testGetUserNameByEmail_Success 0.003 s
testGetAvatarUrl_NotDefaultOAuth2User 0.002 s
testCheckEmailUnique_Success 0.005 s
testIsUniqueEmail_False 0.004 s
testGetUserOrganization_ExceptionThrown 0.003 s
testIsUserVerified_False 0.004 s

CombineDataAccessServiceTest

testGetAllStudyVanityMetrics 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.CombineDataAccessServiceTest is @Disabled -
testGetAllStudyTotalDataPoints 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.CombineDataAccessServiceTest is @Disabled -
testGetAllStudyTotalCgmWear 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.CombineDataAccessServiceTest is @Disabled -
testGetAllStudyTotalCgmFiles 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.CombineDataAccessServiceTest is @Disabled -
testGetCohortReport 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.CombineDataAccessServiceTest is @Disabled -
testGetAllStudyAvgGlucose 0 s
- class org.diabetestechnology.drh.service.http.hub.prime.service.CombineDataAccessServiceTest is @Disabled -

MasterServiceTest

testGetResearchSubjectStatus_ReturnsFormattedJson 0.006 s
testGetLoincCodes_ReturnsEmptyJson_WhenJsonProcessingFails 0.004 s
testGetContactPointUseView_ReturnsEmptyJson_WhenJsonProcessingFails 0.005 s
testGetGenderType_ReturnsFormattedJson 0.007 s
testGetMetricActivityTypebyTitle_ReturnsId 0.003 s
testGetEthnicityType_ReturnsEmptyJson_WhenJsonProcessingFails 0.005 s
testGetGenderType_ReturnsEmptyJson_WhenJsonProcessingFails 0.005 s
testReadEthnicityType_ReturnsNull_WhenNoDataFound 0.003 s
testGetStudyStatus_ReturnsEmptyJson_WhenResultIsNull 0.003 s
testGetContactPointSystem_ThrowsException_WhenJsonProcessingFails 0.003 s
testGetRaceIdByName_ReturnsNull_WhenRaceNotFound 0.002 s
testGetEthnicityIdByName_ReturnsEthnicityId 0.003 s
testGetCollaboratorStudyRole 0.003 s
testGetResearchStudyPartyRole_ReturnsEmptyJson_WhenJsonProcessingFails 0.003 s
testReadGenderType_ReturnsNull_WhenNoDataFound 0.002 s
testGetCitationStatus_ThrowsException_WhenJsonProcessingFails 0.003 s
testGetMetricDefinitions_ReturnsJson_WhenDataIsValid 0.003 s
testGetRaceType_ReturnsFormattedJson 0.004 s
testGetMetricActivityLevel_ReturnsNull_WhenNoDataFound 0.003 s
testGetFileContentTypeId_ReturnsNull_WhenNoDataFound 0.002 s
testGetStudyVisibilityById_ReturnsVisibilityName 0.002 s
testGetMetricActivityTypebyTitle_ReturnsNull_WhenNoDataFound 0.003 s
testGetRaceIdByName_ReturnsRaceId 0.002 s
testGetInteractionStatus_ReturnsStatusId 0.002 s
testGetContactPointUseView_ReturnsFormattedJson 0.004 s
testGetStudyStatus_ReturnsFormattedJson 0.003 s
testGetMetricDefinitions_ThrowsException_WhenJsonProcessingFails 0.003 s
testGetStudyVisibility_ReturnsEmptyJson_WhenJsonProcessingFails 0.003 s
testGetLoincCodes_ReturnsJson_WhenDataIsValid 0.004 s
testReadRaceType_ReturnsNull_WhenNoDataFound 0.003 s
testGetCitationStatus_ReturnsJson_WhenQuerySucceeds 0.003 s
testGetActiontype_ReturnsActionTypeId 0.002 s
testGetMetricDefinitions_WithMetricId_ReturnsFormattedJson 0.003 s
testGetResearchSubjectStatus_ReturnsEmptyJson_WhenJsonProcessingFails 0.004 s
testGetEthnicityIdByName_ReturnsNull_WhenEthnicityNotFound 0.003 s
testGetContactPointUse_ReturnsEmptyJson_WhenResultIsNull 0.003 s
testGetMetricActivityLevel_ReturnsLevelId 0.002 s
testReadEthnicityType_ReturnsValidJson 0.002 s
testGetInvestigatorStudyRole_ReturnsEmptyJson_WhenJsonProcessingFails 0.005 s
testGetActiontype_ThrowsNullPointerException_WhenNoDataFound 0.003 s
testGetContactPointAddressuse_ReturnsEmptyJson_WhenJsonProcessingFails 0.003 s
testGetUserVerificationStatusId_ReturnsId 0.002 s
testGetResearchStudyFocus_ReturnsEmptyJson_WhenJsonProcessingFails 0.003 s
testGetResearchStudyFocus_ReturnsFormattedJson 0.004 s
testGetFileContentTypeId_ReturnsId 0.003 s
testGetStudyVisibility_ReturnsFormattedJson 0.004 s
testReadGenderType_ReturnsValidJson 0.003 s
testReadRaceType_ReturnsValidJson 0.002 s
testReadFileContentType_ReturnsValidJson 0.002 s
testGetInteractionStatus_ThrowsNullPointerException_WhenNoDataFound 0.003 s
testGetUserVerificationStatusId_ReturnsNull_WhenNoDataFound 0.002 s
testGetMetricDefinitions_WithMetricId_ReturnsEmptyJson_WhenNoDataFound 0.002 s
testGetOrganizationType_ReturnsFormattedJson 0.004 s
testGetContactpointuse_ReturnsFormattedJson 0.004 s
testGetResearchStudyPartyRole_ReturnsFormattedJson 0.004 s
testGetResearchStudyCondition_ReturnsFormattedJson 0.004 s
testGetContactPointSystem_ReturnsJson_WhenDataIsValid 0.003 s
testGetEthnicityType_ReturnsFormattedJson 0.004 s
testGetProfileStatusType_ReturnsFormattedJson 0.004 s
testGetRaceType_ReturnsEmptyJson_WhenExceptionOccursDuringJsonProcessing 0.003 s
testGetProfileStatusType_ReturnsEmptyJson_WhenJsonProcessingFailss 0.004 s
testGetInvestigatorStudyRole_ReturnsJson_WhenDataIsValid 0.004 s
testGetOrganizationType_ThrowsException_WhenJsonProcessingFails 0.004 s
testGetProfileStatusType_ReturnsEmptyJson_WhenJsonProcessingFails 0.004 s
testReadFileContentType_ReturnsNull_WhenNoDataFound 0.003 s
testGetResearchStudyCondition_ReturnsEmptyJson_WhenJsonProcessingFails 0.003 s
testGetContactPointAddressuse_ReturnsFormattedJson 0.004 s
testGetStudyVisibilityById_ReturnsNull_WhenNoDataFound 0.002 s

PubMedServiceTest

testExtractPubmedId_Success 0.003 s
testExtractPubmedId_BlankInput 0.002 s
testExtractMetadata_NCBI_EmptyResponse 0.003 s
testGetArticleId_Success 0.003 s
testExtractMetadata_Crossref_WithOnlineDate 0.005 s
testGetCrossrefMetadata_UrlConstruction 0.001 s
testConvertDateFormat_EdgeCases 0.014 s
testGetMetadata_NullInput 0.204 s
testExtractMetadata_NCBI_InvalidJson 0.004 s
testConvertDateFormat_DifferentMonth 0.002 s
testExtractPubmedId_EdgeCases 0.002 s
testGetCrossrefMetadata_InvalidDoi 0.098 s
testGetArticleId_NotFound 0.002 s
testConvertDateFormat_InvalidDate 0.003 s
testGetCrossrefMetadata_EmptyDoi 1.651 s
testGetArticleId_EmptyArticleIds 0.001 s
testExtractPubMedDetails_EmptyXml 0.035 s
testGetMetadata_ExceptionHandling 0.022 s
testConvertDateFormat_FullMonthName 0.004 s
testExtractAuthors_NoAuthors 0.003 s
testExtractPubmedId_NullInput 0.002 s
testGetMetadata_ValidPubmedId 0.076 s
testExtractAuthors_MultipleAuthors 0.001 s
testConvertDateFormat_Success 0.001 s
testGetPubmedId_UrlConstruction 0.001 s
testGetMetadata_UrlConstruction 0.001 s
testExtractMetadata_Crossref_Success 0.001 s
testExtractPubmedId_MultipleMatches 0.001 s
testExtractAuthors_MissingAuthorField 0.001 s
testGetMetadata_NullResponse 0.056 s
testGetPubmedId_ExceptionHandling 0.095 s
testExtractPubMedDetails_OnlyPmid 0.002 s
testExtractPubMedDetails_InvalidXml 0.013 s
testGetMetadata_InvalidPubmedIdFormat 0.020 s
testGetCrossrefMetadata_NullInput 0.015 s
testGetCrossrefMetadata_ValidDoi 0.042 s
testExtractMetadata_NCBI_Success 0.003 s
testExtractPubMedDetails_ValidXml 0.003 s
testExtractMetadata_Crossref_InvalidJson 0.002 s
testGetCrossrefMetadata_NonExistentDoi 0.048 s
testExtractPublicationDate_PrintDate 0.004 s
testExtractPublicationDate_OnlineDate 0.001 s
testExtractPubmedId_DifferentFormat 0.002 s
testExtractPubmedId_EmptyInput 0.002 s
testExtractPubmedId_NoMatch 0.001 s
testExtractAuthors_SingleAuthor 0.002 s
testExtractPublicationDate_NoDate 0.001 s
testGetCrossrefMetadata_ExceptionHandling 0.016 s

EmailNotificationServiceTest

testUpsertEmailDetails_WithNullInputs 0.113 s
testUpsertEmailDetails_ExceptionFromDependencies 0.003 s
testIsEmailExist_DatabaseException_ReturnsFalse 0.004 s
testUpsertEmailDetails_WithValidInputs 0.004 s
testIsEmailExist_EmptyEmail_ReturnsFalse 0.003 s
testIsEmailExist_NullEmail_ReturnsFalse 0.002 s
testIsEmailExist_WithValidEmail 0.002 s

AuthUserDetailsServiceTest

testGetLoginUserFullName_OAuth2User_NotInDatabase 0.909 s
testIsSuperAdmin_True 0.007 s
testGetLoginUserFullName_OAuth2User_ExistsInDatabase 0.005 s
testGetEmailLoginUserFullName_NotUserDetails 0.003 s
testGetLoginUserFullName_UnknownPrincipalType 0.002 s
testGetLoginUserFullName_OAuth2User_NoNameAttribute 0.003 s
testGetRoles_EmailProvider_NullResult 0.003 s
testGetLoginUserFullName_UserDetails 0.003 s
testGetEmailLoginUserFullName_NullUsername 0.003 s
testIsSuperAdmin_NullUsername 0.003 s
testGetRoles_EmailProvider_EmptyResult 0.003 s
testGetEmailLoginUserFullName_Success 0.003 s
testGetRoles_OAuthProvider_Success 0.002 s
testIsSuperAdmin_False 0.003 s
testIsSuperAdmin_NotUserDetails 0.002 s
testGetRoles_EmailProvider_Success 0.003 s
testGetRoles_OAuthProvider_NullResult 0.002 s
testGetRoles_OAuthProvider_EmptyResult 0.002 s

InvestigatorServiceTest

testSaveCollaborationTeam_Successss 0.106 s
testPrapareCollabRequest_WithEmptyArrays 0.015 s
testGetInvestigator_ReturnsEmptyJsonWhenResultIsNull 0.004 s
testCollabTeamTypeEnum_FromValueInvalid 0.003 s
testSaveCollaborationTeam_Exception 0.004 s
testSaveCollaborationTeam_FailureResponse 0.005 s
testCollabTeamTypeEnum_GetValue 0.002 s
testGetInvestigator_ReturnsFormattedJson 0.003 s
testSaveInvestigator_WithNullPractitionerNames 0.008 s
testPrapareCollabRequest_SuccessWithMinimalFields 0.012 s
testCollabTeamTypeEnum_ToString 0.003 s
testSaveInvestigator_ReturnsNull_WhenQueryFails 0.006 s
testSaveInvestigator_WithDifferentCollabTeamTypes 0.010 s
testGetAuthors_ReturnsEmptyJsonWhenResultIsNull 0.005 s
testCollabTeamTypeEnum_FromValueCaseInsensitive 0.003 s
testCollabTeamTypeEnum_FromValue 0.003 s
testPrapareCollabRequest_HandlesNullRequest 0.003 s
testSaveInvestigator_ReturnsJsonResult 0.004 s
testPrapareCollabRequest_SuccessWithAllFields 0.010 s
testPrapareCollabRequest_FailureOnException 0.005 s
testSaveInvestigator_WithEmptyPractitionerNames 0.004 s
testGetInvestigator_ReturnsEmptyJson_WhenJsonProcessingFails 0.099 s
testGetAuthors_Success 0.003 s
testPrapareCollabRequest_WithNullFields 0.003 s
testSaveCollaborationTeam_JsonProcessingException 0.006 s

DbActivityServiceTest

testPrepareActivityLogMetadata_WithoutLogDetails 1.150 s
testPrepareActivityLogMetadata_WithoutHierarchyData 0.006 s
testPrepareActivityLogMetadata_WithNullHierarchyPath 0.005 s
testPrepareActivityLogMetadata_WithHierarchyData 0.005 s
testPrepareActivityLogMetadata_JsonProcessingException 0.004 s

AIConversationServiceTest

testSaveAIConversation_WithMinimalRequest 0.019 s
testSaveAIConversation_WithComplexMessage 0.005 s
testSaveAIConversation_Success 0.006 s
testSaveAIConversation_WithNullMessage 0.006 s
testSaveAIConversation_Exception 0.015 s
testGetAIConversation_Success 0.005 s
testGetAIConversation_NoResults 0.003 s
testGetAIConversation_DatabaseException 0.003 s
testGetAIConversation_WithEmptyStrings 0.003 s

InteractionServiceTest

testGetAndSetInteractionHierarchyofStudyInteraction_WhitespaceStudyId 0.226 s
testGetAndSetInteractionHierarchyofStudyParticipantInteraction_EmptyParticipantId 0.003 s
testGetLastInteractionId_Exception 0.003 s
testGetHubIntercationIdOfStudyParticipant_NullParticipantId 0.003 s
testSaveHubInteraction_EmptyStudyId 0.005 s
testGetDbFileIdOfCompletedCgmRowData_Success 0.006 s
testGetSuccessDbFileInteractionIdOfActionType_NullStudyId 0.005 s
testGetAndSetInteractionHierarchyofStudyParticipantInteraction_Success 0.004 s
testGetLastInteractionHierarchy_NullResponse 0.003 s
testGetHubIntercationIdOfStudyParticipant_EmptyParticipantId 0.003 s
testGetLastInteractionIdAndHierarchy_DatabaseException 0.003 s
testGetAndSetInteractionHierarchyofStudyInteraction_SpecialCharacters 0.003 s
testIsMealsOrFitnessInteractionExist_True 0.058 s
testGetHubIntercationIdOfStudy_NullStudyId 0.003 s
testGetHubIntercationIdOfStudyParticipant_SpecialCharacters 0.003 s
testGetInteractionHierarchy_WithNullHierarchy 0.003 s
testIsDbFileInteractionExistsForStudy_False 0.003 s
testGetAndSetInteractionHierarchyofStudyParticipantInteraction_MultipleParticipants 0.007 s
testGetLastInteractionId_Success 0.003 s
testGetLastInteractionIdAndHierarchy_NullFirstInteractionId 0.003 s
testGetAndSetInteractionHierarchyofStudyParticipantInteraction_DatabaseException 0.003 s
testGetHubIntercationIdOfStudyParticipant_MultipleParticipants 0.005 s
testGetSuccessDbFileInteractionIdOfActionType_EmptyStudyId 0.004 s
testSaveHubInteraction_NoHubInteractionId 0.004 s
testGetDbFileIdOfCompletedCgmRowData_NotFound 0.005 s
testSaveStudyParticipantInteraction_WithErrorResponse 0.100 s
testSaveHubInteraction_NullStudyId 0.003 s
testIsMealsOrFitnessInteractionExist_False 0.004 s
testGetHubIntercationIdOfStudy_NotFound 0.003 s
testGetAndSetInteractionHierarchyofStudyInteraction_NullStudyId 0.003 s
testSaveStudyInteraction_WithNullResponse 0.007 s
testGetLastInteractionLog_Success 0.003 s
testGetDbFileIdOfCompletedCgmRowData_EmptyStudyId 0.005 s
testGetHubIntercationIdOfStudyParticipant_LongParticipantId 0.003 s
testGetHubIntercationIdOfStudy_MultipleStudies 0.004 s
testGetHubIntercationIdOfStudyParticipant_Success 0.003 s
testIsCompletedCgmRowData_False 0.004 s
testGetAndSetInteractionHierarchyofStudyParticipantInteraction_EmptyStudyId 0.003 s
testGetLastInteractionIdAndHierarchy_Success 0.002 s
testGetSuccessDbFileInteractionIdOfActionType_DifferentActionTypes 0.013 s
testGetSuccessDbFileInteractionIdOfActionType_NotFound 0.004 s
testGetAndSetInteractionHierarchyofStudyInteraction_EmptyStudyId 0.003 s
testGetLastInteractionLog_Exception 0.002 s
testSaveFileInteraction_Exception 0.003 s
testGetAndSetInteractionHierarchyofStudyInteraction_MultipleStudies 0.006 s
testGetLastInteractionIdAndHierarchy_SpecialCharacters 0.002 s
testIsDbFileInteractionExistsForStudy_True 0.003 s
testGetAndSetInteractionHierarchyofStudyParticipantInteraction_NullParticipantId 0.002 s
testGetDbFileIdOfCompletedCgmRowData_NullStudyId 0.004 s
testGetAndSetInteractionHierarchyofStudyParticipantInteraction_LongIds 0.002 s
testGetAndSetInteractionHierarchyofStudyInteraction_LongStudyId 0.003 s
testSaveStudyInteraction_WithException 0.003 s
testSaveStudyInteraction_Success 0.005 s
testGetSuccessDbFileInteractionIdOfActionType_DatabaseException 0.003 s
testGetAndSetInteractionHierarchyofStudyParticipantInteraction_WhitespaceIds 0.002 s
testGetInteractionHierarchy_Exception 0.002 s
testGetInteractionHierarchy_Success 0.002 s
testGetDbFileIdOfCompletedCgmRowData_MasterServiceException 0.003 s
testGetHubIntercationIdOfStudy_EmptyStudyId 0.003 s
testGetSuccessDbFileInteractionIdOfActionType_MasterServiceException 0.003 s
testGetLastInteractionIdAndHierarchy_LongInteractionId 0.003 s
testGetAndSetInteractionHierarchyofStudyInteraction_DatabaseException 0.002 s
testGetHubIntercationIdOfStudy_Success 0.002 s
testIsDbFileInteractionFinishedForAction_False 0.004 s
testGetAndSetInteractionHierarchyFromInteractionLog_InvalidJson 0.004 s
testGetHubIntercationIdOfStudyParticipant_DatabaseException 0.004 s
testGetLastInteractionHierarchy_InvalidJson 0.007 s
testGetLastInteractionIdAndHierarchy_EmptyFirstInteractionId 0.004 s
testSaveHubInteraction_JsonProcessingException 0.005 s
testGetAndSetInteractionHierarchyofStudyParticipantInteraction_SpecialCharacters 0.004 s
testSaveHubInteraction_Success 0.005 s
testGetAndSetInteractionHierarchyofStudyParticipantInteraction_NullStudyId 0.004 s
testGetSuccessDbFileInteractionIdOfActionType_Success 0.005 s
testGetHubIntercationIdOfStudy_DatabaseException 0.004 s
testSaveStudyParticipantInteraction_Success 0.006 s
testGetHubIntercationIdOfStudyParticipant_NotFound 0.003 s
testGetAndSetInteractionHierarchyFromInteractionLog_Success 0.005 s
testIsCompletedCgmRowData_True 0.006 s
testGetDbFileIdOfCompletedCgmRowData_DatabaseException 0.005 s
testSaveFileInteraction_Success 0.010 s
testGetLastInteractionIdAndHierarchy_WhitespaceInteractionId 0.004 s
testGetLastInteractionIdAndHierarchy_MultipleInteractionIds 0.009 s
testGetAndSetInteractionHierarchyofStudyInteraction_Success 0.005 s
testIsDbFileInteractionFinishedForAction_Success 0.006 s
testSaveStudyInteraction_WithNullRequest 0.007 s
testGetLastInteractionHierarchy_Success 0.004 s

CgmMasterServiceTest

testGetCgmDevicesName_CaseInsensitiveSearch 0.004 s
testGetCgmDevicesName_Success 0.002 s
testGetCgmDevicesName_EmptyDeviceId 0.003 s
testGetCgmDevicesName_NotFound 0.003 s
testGetSourcePlatformList_ReturnsFormattedJson 0.003 s
testGetCgmDevicesList_ReturnsFormattedJson 0.004 s
testGetSourcePlatformList_ReturnsEmptyJson_WhenJsonProcessingFails 0.003 s
testGetCgmDevicesName_NullDeviceId 0.002 s
testGetCgmDevicesList_ReturnsEmptyJson_WhenNoDataFound 0.003 s

ParticipantServiceTest

testUpdateParticipantDataInline_Success 0.008 s
testSaveParticipantsDataFromFile_Failure 0.487 s
testUpdateParticipantData_Success 0.127 s
testGetParticipantDetails_NoData 0.003 s
testSaveParticipantData_Success 0.012 s
testGetParticipantDetails_Success 0.005 s
testUpdateParticipantData_Failure 0.007 s
test_CheckIfParticipantDisplayIdExists 0.003 s
testSaveParticipantData_Failure 0.008 s
testGetParticipantDetails_ExceptionHandling 0.003 s
testSaveParticipantsDataFromFile_Success 0.004 s

ActivityLogServiceTest

testGetAuditDataFromRequestAndResponse 0.941 s
testGetAuditDataWithDatabaseError 0.509 s
testGetAuditDataFromUrlRequestAndResponse_Success 0.009 s
testSaveActivityLog_Success 0.015 s
testExtractSessionContent_ExistingSession_WithAttributes 0.007 s
testGetAuditDataWithLogDetails 0.513 s
testExtractSessionContent_NullSession 0.005 s
testExtractSessionContent_NoSession 0.005 s
testSaveActivityLog_WhenJsonProcessingExceptionOccurs 0.008 s

ChunkDatabaseMigrationServiceTest

testSetHierarchyArray_Success 0.006 s
testPrepareJson_Success 0.009 s
testCleanUpDatabase_MethodAccessibility 0.008 s
testCleanUpDatabase_MethodAccessibilityAndExecution 0.006 s
testAttachSqliteDatabase_MethodAccessibility 0.005 s
testIsCompletedDataExtraction_AllCompleted 0.007 s
testMealsAndFitnessDataExists_IndirectTest 0.004 s
testStartExtraction_Success 0.015 s
testSetHierarchyArray_ImmutableList 0.003 s
testExtractAndSaveInteraction_Success 0.005 s
testCleanUpDatabase_ParameterValidation 0.003 s
testCopyTablesFromSqLiteToPostgres_MethodAccessibility 0.006 s
testStartExtraction_Exception_ReturnsFailure 0.006 s
testCreateSQLiteDSL_Success 0.266 s
testIsCompletedDataExtraction_PartiallyCompleted 0.003 s
testCreateSQLiteDSL_ThrowsException 0.003 s

PartyServiceTest

testGetActiveUserPartyId_ReturnsValidJson 0.005 s
testGetSuperUserOrganizationTenantId_Success 0.005 s
testGetPartyIdByUserId_ReturnsValidPartyId 0.004 s
testGetUserOrganizationPartyId_Exception 0.003 s
testGetPartyIdByOrganization_ReturnsValidPartyId 0.003 s
testGetActiveUserPartyId_ReturnsEmptyJson_WhenJsonProcessingFails 0.006 s
testGetOrganizationPartyIdByUser_ReturnsValidId 0.003 s
testGetTenantIdByUserId_AsUser 0.004 s
testGetSuperUserOrganizationTenantId_Exception 0.003 s
testGetActiveUserPartyId_ReturnsEmptyJson_WhenNoResult 0.002 s
testGetRolesByUserId_ReturnsEmptyList 0.002 s
testGetUserOrganizationPartyId_AsUser 0.003 s
testGetPartyIdByUserId_ReturnsNull_WhenNoResult 0.003 s
testGetRolesByUserId_ReturnsRoles 0.003 s
testGetPartyIdByUserId_AsUser 0.002 s
testGetOrganizationPartyIdByUser_ReturnsNull 0.002 s
testGetPartyIdByOrganization_ReturnsNull_WhenNoResult 0.003 s

SuperAdminServiceTest

testAuthenticateSuperAdmin_NullOrganizationPartyId 0.929 s
testAuthenticateSuperAdmin_NullEmail 0.005 s
testAuthenticateSuperAdmin_CaseInsensitiveEmail 0.104 s
testAuthenticateSuperAdmin_UserNotFound 0.005 s
testAuthenticateSuperAdmin_EmptyPasswordFromDatabase 0.007 s
testAuthenticateSuperAdmin_SecurityContextException 0.008 s
testAuthenticateSuperAdmin_PasswordMismatch 0.005 s
testAuthenticateSuperAdmin_NullPassword 0.004 s
testAuthenticateSuperAdmin_InvalidEmailFormat 0.004 s
testAuthenticateSuperAdmin_NullPasswordFromDatabase 0.005 s
testAuthenticateSuperAdmin_WhitespaceInInputs 0.004 s
testAuthenticateSuperAdmin_EmptyOrganizationPartyId 0.003 s
testAuthenticateSuperAdmin_GeneralException 0.005 s
testAuthenticateSuperAdmin_EmptyEmail 0.004 s
testAddSuperAdmin_NullParameters 0.006 s
testAddSuperAdmin_Exception 0.007 s
testAuthenticateSuperAdmin_PasswordEncoderException 0.008 s
testAuthenticateSuperAdmin_Success 0.006 s
testAuthenticateSuperAdmin_EmptyPassword 0.004 s
testAddSuperAdmin_EmptyParameters 0.006 s
testAuthenticateSuperAdmin_LongPassword 0.005 s
testAuthenticateSuperAdmin_SpecialCharactersInPassword 0.004 s
testAddSuperAdmin_Success 0.005 s
testAuthenticateSuperAdmin_ValidEmailDifferentOrganization 0.006 s
testAuthenticateSuperAdmin_LongEmail 0.005 s
testAuthenticateSuperAdmin_DatabaseException 0.005 s

DatabaseMigrationServiceTest

testUploadAndSaveDBFile_DatabaseAlreadyExists 0.011 s
testCopyTablesFromSqLiteToPostgres_ValidateRequiredColumnsFails 0.119 s
testAttachSqliteDatabase_Success 0.006 s
testConstructor_Success 0.002 s
testAttachPostgresDatabase_Success 0.003 s
testValidateParticipantData_Exception 0.057 s
testPrepareJson_Success 0.003 s
testUploadAndSaveDBFile_DuckDslException 0.005 s
testUploadAndSaveDBFile_SaveFileToTempLocationFails 0.005 s
testValidateRequiredColumns_AllColumnsPresent 0.009 s
testMigrateDdatabase_Exception 0.004 s
testCopyTablesFromSqLiteToPostgres_DatabaseException 0.006 s
testValidateRequiredColumns_MissingColumns 0.006 s
testDetachSqliteDatabase_EmptyDatabaseList 0.005 s
testCopyTablesFromSqLiteToPostgres_StudyDisplayIdMismatch 0.005 s
testUploadAndSaveDBFile_ExceptionHandling 0.005 s
testIsDatabaseAttached_ReturnsFalse 0.004 s
testIsDatabaseAttached_ReturnsTrue 0.003 s
testMigrateDdatabase_AsyncBehavior 0.004 s
testCopyTablesFromSqLiteToPostgres_Exception 0.004 s
testDetachSqliteDatabase_DatabaseNotAttached 0.003 s
testDetachSqliteDatabase_Success 0.002 s
testMigrateDdatabase_DuckDbException 0.004 s
testDetachPostgresDatabase_Success 0.038 s
testCreateSQLiteDSL_Exception 0.004 s
testValidateRequiredColumns_Exception 0.004 s
testCopyTablesFromSqLiteToPostgres_ValidateParticipantDataFails 0.005 s
testExists_ReturnsTrue 0.002 s
testInit_Success 0.004 s
testUploadAndSaveDBFile_FileUploadFails 0.005 s
testDetachSqliteDatabase_DatabaseAttached 0.003 s
testMigrateDdatabase_MethodAccessible 0.003 s
testUploadAndSaveDBFile_UserServiceException 0.005 s
testExists_ReturnsFalse 0.002 s
testCopyTablesFromSqLiteToPostgres_Success 0.005 s

FileServiceTest

testExtractXmlHeaders_NoHeaderRow 0.068 s
testExtractExcelHeaders 0.049 s
testExtractXmlHeaders 0.187 s
testExtractJsonHeaders 0.020 s
testExtractTextHeaders 0.002 s
testUnsupportedFileType 0.002 s
testExtractCsvHeaders 0.002 s
testExtractExcelHeaders_NoHeaderRow 0.037 s

CohortFilterServiceTest

testSaveCohortFilter_Exception 2.335 s
testGetCohortFilter_Success 0.004 s
testUpdateCohortFilter_SuccessfulUpdate 0.007 s
testUpdateCohortFilter_InsertNewRow 1.008 s
testUpdateCohortFilter_Exception 2.006 s
testSaveCohortFilter_DuplicateFilter 2.007 s
testGetCohortFilter_InterruptedDuringRetry 0.006 s
testSaveCohortFilter_Success 0.003 s
testConvertToJson_ValidInput 0.004 s

RolePermissionServiceTest

testCheckPermissionByMenuName_HasPermission_ReturnsTrue 0.147 s
testCheckPermissionByMenuName_Exception_PropagatesThrowable 0.003 s
testCheckPermissionByResource_NoPermission_ReturnsFalse 0.003 s
testCheckPermissionByResource_Exception_PropagatesThrowable 0.003 s
testGetPermissionsForUser_Success 0.003 s
testCheckPermissionByMenuName_NoPermission_ReturnsFalse 0.003 s
testGetPermissionsForUser_Exception_ReturnsEmptyList 0.003 s
testCheckPermissionByResource_HasPermission_ReturnsTrue 0.003 s

Failure Details

[Summary] [Package List] [Test Cases]


testCalculateTimeBelowRangeLow_RetryLogic
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetMeanGlucose
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCheckDatabaseAttachment_WhenNotFound
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetAmbulatoryGlucoseProfile_DatabaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateTimeBelowRangeLow_DatabaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetStudyDetails_DatabaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateTimeAboveRangeVeryHigh
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetSortModel_AscendingSort
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testRefreshDatabase_WhenAlreadyAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateJIndex
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetSortModel_DescendingSort
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateMValue
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetMeanGlucose_DatabaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateTimeAboveRangeHigh_DatabaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateMeanOfDailyDifferences_DatabaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetStudyDetails
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCreateCondition_DateFilter
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateLBGIandHBGI
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetGlucoseManagementIndicator
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCommonResponseBuilder_Success
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetMeanGlucose_DataAccessException
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateTimeAboveRangeHigh_DataAccessException
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetCoefficientOfVariation_DatabaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCreateCondition_NumberFilter
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testResponseBuilder_SuccessWithData
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetNumberOfDaysCGMWorn_DatabaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateMeanOfDailyDifferences_DataAccessException
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCreateCondition_ContainsFilter
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetAmbulatoryGlucoseProfile_DataAccessExceptions
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetParticipantCGMDates_NoDataFound
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateGRADE_DatabaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCreateCondition_InvalidFilterType
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateTimeInRange_succcess
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetCoefficientOfVariation_DataAccessException
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testAttachDatabase_WhenFails
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetNumberOfDaysCGMWorn_DataAccessException
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testComputeAllMetrics_InvalidDatabaseAlias
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateMeanOfDailyDifferences
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testComputeAllMetrics_Success
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testLiabilityIndex
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetDailyGlucoseProfile_Success
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateGRADE_DataAccessException
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetParticipantMetrics_DatabaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateCONGA_DatabaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetPercentageTimeCGMActive_DatabaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateTimeInTightRange_EmptyResult
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateAverageDailyRisk_NullResult
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetParticipantCGMDates_DataAccessException
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGlycemicRiskIndicator
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetParticipantMetrics
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetTimeRangeStackedData
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCreateCondition_NullFilterModel
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetParticipantCGMDates_DBNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateTimeBelowRangeLow_Success
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateTimeInTightRange_DatabaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetParticipantMetrics_DataAccessException
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateCONGA_DataAccessException
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateTimeBelowRangeVeryLow_MaxRetriesExceeded
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetPercentageTimeCGMActive_DataAccessException
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testResponseBuilder_Error
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testReplacePlaceholders
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGlycemicRiskIndicator_DatabaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetDailyGlucoseProfile_NoData
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateTimeInRange_queryFailureWithRetries
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetCoefficientOfVariation_Success
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateTimeBelowRangeVeryLow_NoData
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetIndividualStudyDetails
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateTimeAboveRangeVeryHigh_EmptyResult
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testResponse
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateMValue_DatabaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateTimeInTightRange_DataAccessException
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateTimeInRange_databaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testComputeAllMetrics_NoRecordsFound
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetPercentageTimeCGMActive
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testComputeAllMetrics_DataAccessException_MaxRetriesExceeded
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testAttachDatabase_Success
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGlycemicRiskIndicator_DataAccessException
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetNumberOfDaysCGMWorn
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetStudyParticipantDashboard
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testLiabilityIndex_DatabaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateTimeAboveRangeHigh_EmptyResult
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateMValue_DataAccessException
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateTimeInRange_noDataFound
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetMeanAmplitude
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateTimeAboveRangeHigh
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetMeanAmplitude_EmptyResult
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCreateCondition_EqualsFilter
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testLiabilityIndex_DataAccessException
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetStudyParticipantDashboard_DatabaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetParticipantCGMDates
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetMeanAmplitude_DatabaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateLBGIandHBGI_DatabaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateTimeAboveRangeVeryHigh_DatabaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetTimeRangeStackedData_DatabaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testRefreshDatabase_WhenNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetStudyTotalCgmFiles
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCreateCondition_LikeFilter
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetFieldName_Success
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateMValue_EmptyResult
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetParticipantInfos
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateTimeBelowRangeVeryLow_Success
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetGlucoseManagementIndicator_DatabaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testResponseBuilder_SuccessNoData
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetDailyGlucoseProfile_InvalidStudyId
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateJIndex_DatabaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateTimeInTightRange
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetMeanAmplitude_DataAccessException
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateLBGIandHBGI_DataAccessException
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateTimeAboveRangeVeryHigh_DataAccessException
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetTimeRangeStackedData_DataAccessException
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateAverageDailyRisk_DatabaseNotAttached
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testAttachDatabase
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateTimeBelowRangeLow_NoData
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateAverageDailyRisk
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetGlucoseManagementIndicator_DataAccessException
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateCONGA
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateGRADE
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateJIndex_DataAccessException
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testCalculateAverageDailyRisk_DataAccessException
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.DataAccessServiceTest is @Disabled
testGetAllStudyVanityMetrics
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.CombineDataAccessServiceTest is @Disabled
testGetAllStudyTotalDataPoints
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.CombineDataAccessServiceTest is @Disabled
testGetAllStudyTotalCgmWear
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.CombineDataAccessServiceTest is @Disabled
testGetAllStudyTotalCgmFiles
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.CombineDataAccessServiceTest is @Disabled
testGetCohortReport
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.CombineDataAccessServiceTest is @Disabled
testGetAllStudyAvgGlucose
- skipped: class org.diabetestechnology.drh.service.http.hub.prime.service.CombineDataAccessServiceTest is @Disabled