Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
431 26 6 125 63.6% 36.00 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.hub.prime.service 136 0 0 125 8.1% 0.019 s
org.diabetestechnology.drh.service.http.hub.prime.service.interaction 9 4 1 0 44.4% 8.388 s
lib.aide.tabular 9 0 0 0 100% 0.315 s
org.diabetestechnology.drh.service.http.hub.prime.service.VannaAI 5 0 0 0 100% 0.221 s
lib.aide.vfs 1 0 0 0 100% 0.083 s
org.diabetestechnology.drh.service.http.pg.service 202 12 1 0 93.6% 5.482 s
org.diabetestechnology.drh.service.http 1 1 0 0 0% 6.818 s
org.diabetestechnology.drh.service.http.hub.prime.service.orcid 15 2 0 0 86.7% 0.139 s
org.diabetestechnology.drh.service.http.pg 44 7 4 0 75.0% 7.356 s
org.diabetestechnology.drh.service.http.hub.prime.service.cohortFilter 9 0 0 0 100% 7.180 s

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

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

- Class Tests Errors Failures Skipped Success Rate Time
UserNameServiceTest 11 0 0 0 100% 0.014 s
DataAccessServiceTest 119 0 0 119 0% 0.004 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 4 1 0 44.4% 8.388 s

lib.aide.tabular

- Class Tests Errors Failures Skipped Success Rate Time
JooqRowsSupplierTest 8 0 0 0 100% 0.291 s
TabularRowsRequestTest 1 0 0 0 100% 0.024 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.221 s

lib.aide.vfs

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

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

- Class Tests Errors Failures Skipped Success Rate Time
S3FileUploadServiceTest 37 0 0 0 100% 1.794 s
StudyDashboardServiceTest 7 0 0 0 100% 0.277 s
PopulationPercentageServiceTest 4 0 0 0 100% 0.070 s
OrganizationServiceTest 6 0 0 0 100% 0.097 s
ResearchStudyParticipantFileServiceTest 7 0 0 0 100% 0.612 s
ParticipantMetricsServiceTest 13 0 0 0 100% 0.094 s
MealsAndFitnessServiceTest 8 1 0 0 87.5% 0.739 s
PractitionerServiceTest 20 3 0 0 85.0% 0.341 s
MasterServiceTest 50 0 0 0 100% 0.200 s
InvestigatorServiceTest 10 2 0 0 80.0% 0.147 s
CgmMasterServiceTest 4 0 0 0 100% 0.018 s
ParticipantServiceTest 11 5 1 0 45.5% 0.308 s
PartyServiceTest 17 1 0 0 94.1% 0.563 s
FileServiceTest 8 0 0 0 100% 0.222 s

org.diabetestechnology.drh.service.http

- Class Tests Errors Failures Skipped Success Rate Time
ApplicationTests 1 1 0 0 0% 6.818 s

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

- Class Tests Errors Failures Skipped Success Rate Time
OrcidUserDetailServiceTest 15 2 0 0 86.7% 0.139 s

org.diabetestechnology.drh.service.http.pg

- Class Tests Errors Failures Skipped Success Rate Time
ResearchStudyServiceTest 44 7 4 0 75.0% 7.356 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.180 s

Test Cases

[Summary] [Package List] [Test Cases]

S3FileUploadServiceTest

testUploadCgmFile_SandboxMode 0.455 s
testValidateParticipantFileJson_Missing_Age 0.010 s
testUploadFile_GeneralException 0.066 s
testUploadDBFileToS3_SandboxMode_ReturnsDummyUrl 0.005 s
testUploadFile_InvalidContentType 0.005 s
testUploadDatabaseFileToS3Bucket_GeneralException 0.007 s
testProcessCsvFile_Success 0.056 s
testProcessExcelFile_Success 1.001 s
testUploadCgmFile_GenericException 0.010 s
testValidateParticipantFileJson_MissingParticipantId 0.004 s
testUploadFile_Success 0.011 s
testSaveFileToTempLocation_Success 0.006 s
testUploadParticipantFileToS3Bucket_S3Exception 0.010 s
testGenerateCsvTemplate_ExceptionHandling 0.004 s
testUploadDatabaseFileToS3Bucket_Success 0.005 s
testUploadDBFileToS3_InvalidSQLiteFile_ThrowsException 0.008 s
testConvertCsvToJson_NoValidDelimiter_ThrowsException 0.005 s
testUploadCgmFile_Success 0.004 s
testGenerateCsvTemplate_Success 0.005 s
testUploadFile_InvalidFileType 0.004 s
testUploadParticipantFileToS3Bucket_Success 0.004 s
testConvertToByteArray_Success 0.004 s
testConvertToByteArray_FileNotFound 0.004 s
testUploadCgmFile_S3Exception 0.005 s
testProcessContent_UnsupportedFileType 0.005 s
testUploadParticipantFileToS3Bucket_GenericException 0.004 s
testValidateParticipantFileJson_AllValid 0.007 s
testUploadDBFileToS3_Success 0.006 s
testDeleteTempFile_FileNotExists 0.005 s
testUploadDBFileToS3_GeneralExceptionHandling 0.006 s
testUploadParticipantFileToS3Bucket_SandboxMode 0.005 s
testConvertCsvToJson_ValidCsv_ReturnsJson 0.005 s
testUploadFile_EmptyFile 0.004 s
testValidateParticipantFileJson_InvalidAge 0.004 s
testUploadFile_S3Exception 0.005 s
testDeleteTempFile_Success 0.004 s
testValidateParticipantFileJson_MissingGender 0.003 s

StudyDashboardServiceTest

testGetTotalParticipants_ExceptionHandling 0.009 s
testGetAverageAgeForDashboard_ExceptionHandling 0.015 s
testGetAverageAgeForDashboard_NormalCase 0.196 s
testGetTotalParticipants 0.005 s
testGetAverageAgeForDashboard_NoData 0.004 s
testGetFemalePercentage_ExceptionHandling 0.036 s
testGetFemalePercentage 0.006 s

PopulationPercentageServiceTest

testGetTotalDataPoints 0.055 s
testGetTotalCgmFileCount 0.004 s
test_WhenExceptionOccurs 0.005 s
testGetTotalParticipantsWithData 0.004 s

OrganizationServiceTest

testSaveOrganization 0.041 s
testSearchOrganization 0.012 s
testSaveOrganization_AlreadyExists 0.017 s
testSearchOrganization_NoResult 0.005 s
testSearchOrganization_ExceptionHandling 0.003 s
testSaveOrganization_ExceptionHandling 0.006 s

ResearchStudyParticipantFileServiceTest

testUploadAndSaveParticipantFile_ValidAndUnknownRace 0.476 s
testUploadAndSaveParticipantFile_Empty_Json_Array 0.019 s
testUploadAndSaveParticipantFile_validate_Header 0.023 s
testUploadAndSaveParticipantFile_Success 0.022 s
testUploadAndSaveParticipantFile_ValidAndUnknownRace_exception 0.021 s
testUploadAndSaveParticipantFile_jsonValidateResponse_error 0.025 s
testUploadAndSaveParticipantFile_Failure_S3Upload 0.016 s

UserNameServiceTest

getUserProvider_EmptyFallback 0.001 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 s
getUserInstitution_DefaultOAuth2User 0 s
getUserEmail_DefaultOAuth2User 0.001 s
getUserId_Anonymous 0 s
getUserId_FromHttpRequest 0.001 s

ParticipantMetricsServiceTest

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

JooqRowsSupplierTest

testSimpleQuery 0.196 s
testSimpleQueryWithSchema 0.019 s
testQueryWithAggregation 0.013 s
testQueryWithGroupBy 0.006 s
testQueryWithDateFilter 0.015 s
testQueryWithMultipleAggregations 0.013 s
testQueryWithFilterAndSort 0.012 s
testCustomQuery 0.014 s

ApplicationTests

contextLoads 0.006 s
- Failed to load ApplicationContext for [WebMergedContextConfiguration@771b2b5b testClass = org.diabetestechnology.drh.service.http.ApplicationTests, locations = [], classes = [org.diabetestechnology.drh.service.http.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@2002348, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@54c62d71, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@5e1fa5b1, org.springframework.boot.test.web.reactive.server.WebTestClientContextCustomizer@4fce136b, org.springframework.boot.test.web.reactor.netty.DisableReactorResourceFactoryGlobalResourcesContextCustomizerFactory$DisableReactorResourceFactoryGlobalResourcesContextCustomizerCustomizer@56303b57, org.springframework.boot.test.autoconfigure.OnFailureConditionReportContextCustomizerFactory$OnFailureConditionReportContextCustomizer@78f5c518, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@366c4480, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@30436c5], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null] -

VfsIngressConsumerTest

testVfsIngressConsumer 0.081 s

AIServiceTest

testGetAIInteraction_ErrorHandling 0.204 s
testGetAIInteraction 0.002 s
testGetAllAIInteraction_ErrorHandling 0.002 s
testSaveAIInteraction 0.007 s
testGetAllAIInteraction 0.003 s

MealsAndFitnessServiceTest

testSaveMealsAndFitnessFile_S3UploadFailures_LogsInteraction 0.058 s
testSaveMealsAndFitnessFile_FailsWhenS3UploadReturnsNull 0.004 s
testSaveMealsAndFitnessFile_FailsWhenTempFilePathIsNull 0.005 s
testSaveMealsAndFitnessFile_ExceptionHandling 0.004 s
testSaveMealsAndFitness_FailureResponse 0.004 s
testSaveMealsAndFitnessFile_InvalidFileUpload_ThrowsException 0.003 s
testSaveMealsAndFitnessFile_Success 0.654 s
- Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "this.activityLogService" is null -
testSaveMealsAndFitnessFile_S3UploadFailure 0.004 s

TabularRowsRequestTest

testDeserialization 0.023 s

ResearchStudyServiceTest

testGetAllResearchStudyPrincipalInvestigator 6.304 s
testGetMyResearchStudies_jsonProcessingError 0.272 s
testEditResearchStudy_whenExceptionThrown 0.029 s
testGetNominatedPrincipalInvestigator 0.023 s
testGetStudyTeamMembers 0.011 s
testGetStudyDisplayId 0.012 s
testSaveResearchStudySettings_invalidNctNumber 0.074 s
testGetResearchStudyArchieveStatus 0.010 s
testGetStudyOwner_found 0.013 s
testGetResearchStudies_jsonProcessingError 0.040 s
testGetResearchStudies_validResult 0.020 s
testSaveResearchStudySettings_exceptionDuringSave 0.031 s
- Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "<local3>.activityLogService" is null -
testGetAllResearchStudyCoAuthor 0.014 s
testCheckStudyDisplayIdExists_whenExists 0.013 s
testGetAllResearchStudies_noDataFound 0.007 s
testEditResearchStudyArchiveStatus_Success 0.147 s
- expected: <{"status":"success"}> but was: <null> -
testUpdatePublicationInlineExceptionHandling 0.050 s
- Wanted but not invoked: dsl.select(<any org.jooq.Field>); -> at org.diabetestechnology.drh.service.http.pg.ResearchStudyServiceTest.testUpdatePublicationInlineExceptionHandling(ResearchStudyServiceTest.java:759) Actually, there were zero interactions with this mock. -
testUpdateVisibility 0.011 s
- Error while processing the updateVisibility function -
testEditResearchStudyArchiveStatus_whenException_thenSaveFailedInteractionAndReturnNull 0.008 s
testEditResearchStudy 0.008 s
- The actual result does not match the expected result. ==> expected: <{"status":"success"}> but was: <null> -
testSaveResearchStudySettings_emptyNctNumber 0.005 s
testGetMyResearchStudies_successful 0.006 s
testGetAllResearchStudyTeam_successful 0.006 s
testGetAllResearchStudies_successful 0.006 s
testSaveResearchStudy 0.006 s
- Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "<local3>.activityLogService" is null -
testGetInvestigatorOrAuthor_jsonProcessingError 0.008 s
testGetStudyOwner_notFound 0.006 s
testGetInvestigatorOrAuthor_noDataFound 0.006 s
testGetAllResearchStudies_jsonProcessingError 0.006 s
testGetInvestigatorOrAuthor_successful 0.007 s
testGetMyResearchStudies_noDataFound 0.006 s
testSaveResearchStudySettings_validNctNumber 0.007 s
- Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "<local3>.activityLogService" is null -
testUpdatePublicationInline 0.008 s
- Error while processing the updatePublicationInline function -
testGetAllResearchStudyCoInvestigator 0.008 s
testUpdateVisibility_whenExceptionThrown_thenSaveFailedInteractionAndThrow 0.016 s
- Argument(s) are different! Wanted: interactionService.saveStudyInteraction( "RS123", "hub123", "Update", "Update study visibility to Public.", "Active", "Active", isNull(), isNull(), contains("DB failure"), 0, "Error", "UPDATE STUDY", "FAILED" ); -> at org.diabetestechnology.drh.service.http.pg.service.InteractionService.saveStudyInteraction(InteractionService.java:90) Actual invocations have different arguments at position [8]: interactionService.getHubIntercationIdOfStudy( "RS123" ); -> at org.diabetestechnology.drh.service.http.pg.service.ResearchStudyService.updateVisibility(ResearchStudyService.java:543) interactionService.saveStudyInteraction( "RS123", "hub123", "Update", "Update study visibility to Public.", "Active", "Active", null, null, ""Cannot invoke \"org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()\" because \"<local4>.activityLogService\" is null"", 0, "Error", "UPDATE STUDY", "FAILED" ); -> at org.diabetestechnology.drh.service.http.pg.service.ResearchStudyService.updateVisibility(ResearchStudyService.java:544) -
testCheckStudyDisplayIdExists_whenNotExists 0.006 s
testGetAllResearchStudyPrincipalAuthor 0.007 s
testGetResearchStudyfArchieveStatus 0.005 s
testGetAllResearchStudyTeam_jsonProcessingError 0.007 s
testSaveResearchStudy_missingStudyIdKey 0.006 s
- Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "<local3>.activityLogService" is null -
testGetAllResearchStudyTeam_noDataFound 0.007 s
testGetParticipantDisplayId 0.006 s
testSaveResearchStudySettings_nullResultFromDb 0.006 s
- Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "<local3>.activityLogService" is null -
testGetResearchStudies_noDataFound 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.101 s
- Unnecessary stubbings detected. Clean & maintainable test code requires zero unnecessary code. Following stubbings are unnecessary (click to navigate to relevant line of code): 1. -> at org.diabetestechnology.drh.service.http.hub.prime.service.orcid.OrcidUserDetailServiceTest.testGetUserDetails_WithOrcidProvider(OrcidUserDetailServiceTest.java:56) Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class. -
testExtractEmail_WithEmptyEmailArray 0.002 s
testGetUserDetails_AnonymousProvider 0.002 s
testExtractEmail_WithValidEmail 0.002 s
testGetUserDetails_WithoutOrcidProvider 0.002 s
testExtractInstitution_WithMalformedJson_ShouldCatchException 0.003 s
testGetUserId_WithOrcidProvider 0.003 s
- Unnecessary stubbings detected. Clean & maintainable test code requires zero unnecessary code. Following stubbings are unnecessary (click to navigate to relevant line of code): 1. -> at org.diabetestechnology.drh.service.http.hub.prime.service.orcid.OrcidUserDetailServiceTest.testGetUserId_WithOrcidProvider(OrcidUserDetailServiceTest.java:102) Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class. -
testExtractFullName_WithNullFamilyName 0.002 s
testExtractFullName_WithGivenAndFamilyName 0.002 s
testGetOrcidUserInfo_WhenRestTemplateThrowsException_ShouldReturnErrorResponse 0.007 s
testExtractInstitution_WithValidInstitution 0.002 s
testExtractFullName_WithOnlyGivenName 0.002 s
testGetOrcidUserInfo_ValidOrcidId_ShouldReturnApiResponse 0.002 s
testGetUserId_WithNonOrcidProvider 0.002 s
testGetOrcidUserInfo_InvalidOrcidId_ShouldReturnBadRequest 0.001 s

PractitionerServiceTest

testGetLoggedInUserDetails_anonymousUser_returnsEmptyJson 0.058 s
testIsUserExists_ValidUser 0.173 s
testIsUserExists_null 0.003 s
test_GetUserOrganization 0.005 s
testCreatePractitionerProfile_GitHub 0.051 s
- Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "this.activityLogService" is null -
testGetLoggedInUserDetails_success 0.004 s
testGetUserDetails_ExceptionHandling 0.003 s
testGetUserOrganization_NullUserId 0.003 s
testCreatePractitionerProfile_InvalidProvider 0.003 s
- Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "this.activityLogService" is null -
testIsUserExists_ExceptionHandling 0.004 s
testGetUserDetails_AnonymousUser 0.002 s
testGetUserOrganization_EmptyUserId 0.002 s
testGetUserDetails_NoUserFound 0.002 s
testIsUserExists_IsEmpty 0.002 s
testGetLoggedInUserDetails_whenExceptionThrown_returnsEmptyJson 0.003 s
testCreatePractitionerProfile_Orcid 0.003 s
- Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "this.activityLogService" is null -
testGetUserOrganization_AnonymousUser 0.002 s
testIsUserExists_Anonymous 0.002 s
testGetUserDetails_UserFound 0.002 s
testGetUserOrganization_ExceptionThrown 0.002 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.006 s
testGetContactPointUseView_ReturnsEmptyJson_WhenJsonProcessingFails 0.007 s
testGetGenderType_ReturnsFormattedJson 0.009 s
testGetEthnicityType_ReturnsEmptyJson_WhenJsonProcessingFails 0.005 s
testGetGenderType_ReturnsEmptyJson_WhenJsonProcessingFails 0.004 s
testReadEthnicityType_ReturnsNull_WhenNoDataFound 0.003 s
testGetStudyStatus_ReturnsEmptyJson_WhenResultIsNull 0.003 s
testGetContactPointSystem_ThrowsException_WhenJsonProcessingFails 0.004 s
testGetRaceIdByName_ReturnsNull_WhenRaceNotFound 0.003 s
testGetEthnicityIdByName_ReturnsEthnicityId 0.003 s
testGetCollaboratorStudyRole 0.003 s
testGetResearchStudyPartyRole_ReturnsEmptyJson_WhenJsonProcessingFails 0.004 s
testReadGenderType_ReturnsNull_WhenNoDataFound 0.003 s
testGetCitationStatus_ThrowsException_WhenJsonProcessingFails 0.003 s
testGetMetricDefinitions_ReturnsJson_WhenDataIsValid 0.003 s
testGetRaceType_ReturnsFormattedJson 0.004 s
testGetRaceIdByName_ReturnsRaceId 0.002 s
testGetContactPointUseView_ReturnsFormattedJson 0.003 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.002 s
testGetCitationStatus_ReturnsJson_WhenQuerySucceeds 0.003 s
testGetResearchSubjectStatus_ReturnsEmptyJson_WhenJsonProcessingFails 0.002 s
testGetEthnicityIdByName_ReturnsNull_WhenEthnicityNotFound 0.002 s
testGetContactPointUse_ReturnsEmptyJson_WhenResultIsNull 0.002 s
testReadEthnicityType_ReturnsValidJson 0.003 s
testGetInvestigatorStudyRole_ReturnsEmptyJson_WhenJsonProcessingFails 0.004 s
testGetContactPointAddressuse_ReturnsEmptyJson_WhenJsonProcessingFails 0.003 s
testGetResearchStudyFocus_ReturnsEmptyJson_WhenJsonProcessingFails 0.002 s
testGetResearchStudyFocus_ReturnsFormattedJson 0.004 s
testGetStudyVisibility_ReturnsFormattedJson 0.004 s
testReadGenderType_ReturnsValidJson 0.002 s
testReadRaceType_ReturnsValidJson 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.004 s
testGetEthnicityType_ReturnsFormattedJson 0.004 s
testGetProfileStatusType_ReturnsFormattedJson 0.003 s
testGetRaceType_ReturnsEmptyJson_WhenExceptionOccursDuringJsonProcessing 0.003 s
testGetProfileStatusType_ReturnsEmptyJson_WhenJsonProcessingFailss 0.004 s
testGetInvestigatorStudyRole_ReturnsJson_WhenDataIsValid 0.003 s
testGetOrganizationType_ThrowsException_WhenJsonProcessingFails 0.003 s
testGetProfileStatusType_ReturnsEmptyJson_WhenJsonProcessingFails 0.003 s
testGetResearchStudyCondition_ReturnsEmptyJson_WhenJsonProcessingFails 0.003 s
testGetContactPointAddressuse_ReturnsFormattedJson 0.003 s

InvestigatorServiceTest

testSaveCollaborationTeam_Successss 0.060 s
testSaveCollaborationTeam_Exception 0.005 s
testGetInvestigator_ReturnsFormattedJson 0.003 s
testPrapareCollabRequest_SuccessWithMinimalFields 0.009 s
testSaveInvestigator_ReturnsNull_WhenQueryFails 0.003 s
- Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "<local3>.activityLogService" is null -
testPrapareCollabRequest_HandlesNullRequest 0.002 s
testSaveInvestigator_ReturnsJsonResult 0.002 s
- Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "<local3>.activityLogService" is null -
testPrapareCollabRequest_SuccessWithAllFields 0.004 s
testPrapareCollabRequest_FailureOnException 0.003 s
testGetInvestigator_ReturnsEmptyJson_WhenJsonProcessingFails 0.049 s

CgmMasterServiceTest

testGetSourcePlatformList_ReturnsFormattedJson 0.005 s
testGetCgmDevicesList_ReturnsFormattedJson 0.004 s
testGetSourcePlatformList_ReturnsEmptyJson_WhenJsonProcessingFails 0.003 s
testGetCgmDevicesList_ReturnsEmptyJson_WhenNoDataFound 0.004 s

ParticipantServiceTest

testUpdateParticipantDataInline_Success 0.007 s
- Failed to update participant data. -
testSaveParticipantsDataFromFile_Failure 0.199 s
- Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "<local6>.activityLogService" is null -
testUpdateParticipantData_Success 0.061 s
- Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "<local4>.activityLogService" is null -
testGetParticipantDetails_NoData 0.002 s
testSaveParticipantData_Success 0.011 s
- Failed to save participant data due to an error: Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "<local3>.activityLogService" is null -
testGetParticipantDetails_Success 0.004 s
testUpdateParticipantData_Failure 0.003 s
test_CheckIfParticipantDisplayIdExists 0.003 s
testSaveParticipantData_Failure 0.006 s
- expected: <true> but was: <false> -
testGetParticipantDetails_ExceptionHandling 0.003 s
testSaveParticipantsDataFromFile_Success 0.004 s
- Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "<local6>.activityLogService" is null -

ActivityLogServiceTest

testGetAuditDataFromRequestAndResponse 3.330 s
- Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.MasterService.getMetricActivityLevel(int)" because "this.masterService" is null -
testGetAuditDataWithDatabaseError 2.509 s
- Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.MasterService.getMetricActivityLevel(int)" because "this.masterService" is null -
testGetAuditDataFromUrlRequestAndResponse_Success 0.009 s
- Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.MasterService.getMetricActivityLevel(int)" because "this.masterService" is null -
testSaveActivityLog_Success 0.006 s
- Wanted but not invoked: dsl.select(<any org.jooq.SelectField>); -> at org.diabetestechnology.drh.service.http.hub.prime.service.interaction.ActivityLogServiceTest.testSaveActivityLog_Success(ActivityLogServiceTest.java:325) Actually, there were zero interactions with this mock. -
testExtractSessionContent_ExistingSession_WithAttributes 0.006 s
testGetAuditDataWithLogDetails 2.511 s
- Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.MasterService.getMetricActivityLevel(int)" because "this.masterService" is null -
testExtractSessionContent_NullSession 0.004 s
testExtractSessionContent_NoSession 0.003 s
testSaveActivityLog_WhenJsonProcessingExceptionOccurs 0.003 s

PartyServiceTest

testGetActiveUserPartyId_ReturnsValidJson 0.006 s
testGetSuperUserOrganizationTenantId_Success 0.292 s
testGetPartyIdByUserId_ReturnsValidPartyId 0.106 s
testGetUserOrganizationPartyId_Exception 0.048 s
testGetPartyIdByOrganization_ReturnsValidPartyId 0.004 s
testGetActiveUserPartyId_ReturnsEmptyJson_WhenJsonProcessingFails 0.006 s
testGetOrganizationPartyIdByUser_ReturnsValidId 0.003 s
testGetTenantIdByUserId_AsUser 0.004 s
- Cannot invoke "org.jooq.SelectLimitPercentStep.fetchOneInto(java.lang.Class)" because "query" is null -
testGetSuperUserOrganizationTenantId_Exception 0.003 s
testGetActiveUserPartyId_ReturnsEmptyJson_WhenNoResult 0.008 s
testGetRolesByUserId_ReturnsEmptyList 0.006 s
testGetUserOrganizationPartyId_AsUser 0.006 s
testGetPartyIdByUserId_ReturnsNull_WhenNoResult 0.004 s
testGetRolesByUserId_ReturnsRoles 0.003 s
testGetPartyIdByUserId_AsUser 0.050 s
testGetOrganizationPartyIdByUser_ReturnsNull 0.002 s
testGetPartyIdByOrganization_ReturnsNull_WhenNoResult 0.003 s

FileServiceTest

testExtractXmlHeaders_NoHeaderRow 0.030 s
testExtractExcelHeaders 0.055 s
testExtractXmlHeaders 0.081 s
testExtractJsonHeaders 0.008 s
testExtractTextHeaders 0.002 s
testUnsupportedFileType 0.002 s
testExtractCsvHeaders 0.002 s
testExtractExcelHeaders_NoHeaderRow 0.039 s

CohortFilterServiceTest

testSaveCohortFilter_Exception 2.135 s
testGetCohortFilter_Success 0.003 s
testUpdateCohortFilter_SuccessfulUpdate 0.005 s
testUpdateCohortFilter_InsertNewRow 1.009 s
testUpdateCohortFilter_Exception 2.006 s
testSaveCohortFilter_DuplicateFilter 2.007 s
testGetCohortFilter_InterruptedDuringRetry 0.003 s
testSaveCohortFilter_Success 0.002 s
testConvertToJson_ValidInput 0.005 s

Failure Details

[Summary] [Package List] [Test Cases]


contextLoads
- java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@771b2b5b testClass = org.diabetestechnology.drh.service.http.ApplicationTests, locations = [], classes = [org.diabetestechnology.drh.service.http.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@2002348, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@54c62d71, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@5e1fa5b1, org.springframework.boot.test.web.reactive.server.WebTestClientContextCustomizer@4fce136b, org.springframework.boot.test.web.reactor.netty.DisableReactorResourceFactoryGlobalResourcesContextCustomizerFactory$DisableReactorResourceFactoryGlobalResourcesContextCustomizerCustomizer@56303b57, org.springframework.boot.test.autoconfigure.OnFailureConditionReportContextCustomizerFactory$OnFailureConditionReportContextCustomizer@78f5c518, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@366c4480, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@30436c5], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
-
org.diabetestechnology.drh.service.http.ApplicationTests:
testSaveMealsAndFitnessFile_Success
- java.lang.NullPointerException: Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "this.activityLogService" is null
-
org.diabetestechnology.drh.service.http.pg.service.MealsAndFitnessServiceTest:121
testSaveResearchStudySettings_exceptionDuringSave
- java.lang.NullPointerException: Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "<local3>.activityLogService" is null
-
org.diabetestechnology.drh.service.http.pg.ResearchStudyServiceTest:331
testEditResearchStudyArchiveStatus_Success
- org.opentest4j.AssertionFailedError: expected: <{"status":"success"}> but was: <null>
-
org.diabetestechnology.drh.service.http.pg.ResearchStudyServiceTest:620
testUpdatePublicationInlineExceptionHandling
- Wanted but not invoked: Wanted but not invoked: dsl.select(<any org.jooq.Field>); -> at org.diabetestechnology.drh.service.http.pg.ResearchStudyServiceTest.testUpdatePublicationInlineExceptionHandling(ResearchStudyServiceTest.java:759) Actually, there were zero interactions with this mock.
-
org.diabetestechnology.drh.service.http.pg.ResearchStudyServiceTest:759
testUpdateVisibility
- java.lang.RuntimeException: Error while processing the updateVisibility function
-
org.diabetestechnology.drh.service.http.pg.ResearchStudyServiceTest:780
testEditResearchStudy
- org.opentest4j.AssertionFailedError: The actual result does not match the expected result. ==> expected: <{"status":"success"}> but was: <null>
-
org.diabetestechnology.drh.service.http.pg.ResearchStudyServiceTest:196
testSaveResearchStudy
- java.lang.NullPointerException: Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "<local3>.activityLogService" is null
-
org.diabetestechnology.drh.service.http.pg.ResearchStudyServiceTest:135
testSaveResearchStudySettings_validNctNumber
- java.lang.NullPointerException: Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "<local3>.activityLogService" is null
-
org.diabetestechnology.drh.service.http.pg.ResearchStudyServiceTest:254
testUpdatePublicationInline
- java.lang.RuntimeException: Error while processing the updatePublicationInline function
-
org.diabetestechnology.drh.service.http.pg.ResearchStudyServiceTest:735
testUpdateVisibility_whenExceptionThrown_thenSaveFailedInteractionAndThrow
- Argument(s) are different! Wanted: Argument(s) are different! Wanted: interactionService.saveStudyInteraction( "RS123", "hub123", "Update", "Update study visibility to Public.", "Active", "Active", isNull(), isNull(), contains("DB failure"), 0, "Error", "UPDATE STUDY", "FAILED" ); -> at org.diabetestechnology.drh.service.http.pg.service.InteractionService.saveStudyInteraction(InteractionService.java:90) Actual invocations have different arguments at position [8]: interactionService.getHubIntercationIdOfStudy( "RS123" ); -> at org.diabetestechnology.drh.service.http.pg.service.ResearchStudyService.updateVisibility(ResearchStudyService.java:543) interactionService.saveStudyInteraction( "RS123", "hub123", "Update", "Update study visibility to Public.", "Active", "Active", null, null, ""Cannot invoke \"org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()\" because \"<local4>.activityLogService\" is null"", 0, "Error", "UPDATE STUDY", "FAILED" ); -> at org.diabetestechnology.drh.service.http.pg.service.ResearchStudyService.updateVisibility(ResearchStudyService.java:544)
-
org.diabetestechnology.drh.service.http.pg.ResearchStudyServiceTest:815
testSaveResearchStudy_missingStudyIdKey
- java.lang.NullPointerException: Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "<local3>.activityLogService" is null
-
org.diabetestechnology.drh.service.http.pg.ResearchStudyServiceTest:161
testSaveResearchStudySettings_nullResultFromDb
- java.lang.NullPointerException: Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "<local3>.activityLogService" is null
-
org.diabetestechnology.drh.service.http.pg.ResearchStudyServiceTest:377
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
testGetUserDetails_WithOrcidProvider
- org.mockito.exceptions.misusing.UnnecessaryStubbingException: Unnecessary stubbings detected. Clean & maintainable test code requires zero unnecessary code. Following stubbings are unnecessary (click to navigate to relevant line of code): 1. -> at org.diabetestechnology.drh.service.http.hub.prime.service.orcid.OrcidUserDetailServiceTest.testGetUserDetails_WithOrcidProvider(OrcidUserDetailServiceTest.java:56) Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class.
-
org.diabetestechnology.drh.service.http.hub.prime.service.orcid.OrcidUserDetailServiceTest:56
testGetUserId_WithOrcidProvider
- org.mockito.exceptions.misusing.UnnecessaryStubbingException: Unnecessary stubbings detected. Clean & maintainable test code requires zero unnecessary code. Following stubbings are unnecessary (click to navigate to relevant line of code): 1. -> at org.diabetestechnology.drh.service.http.hub.prime.service.orcid.OrcidUserDetailServiceTest.testGetUserId_WithOrcidProvider(OrcidUserDetailServiceTest.java:102) Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class.
-
org.diabetestechnology.drh.service.http.hub.prime.service.orcid.OrcidUserDetailServiceTest:102
testCreatePractitionerProfile_GitHub
- java.lang.NullPointerException: Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "this.activityLogService" is null
-
org.diabetestechnology.drh.service.http.pg.service.PractitionerServiceTest:84
testCreatePractitionerProfile_InvalidProvider
- java.lang.NullPointerException: Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "this.activityLogService" is null
-
org.diabetestechnology.drh.service.http.pg.service.PractitionerServiceTest:115
testCreatePractitionerProfile_Orcid
- java.lang.NullPointerException: Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "this.activityLogService" is null
-
org.diabetestechnology.drh.service.http.pg.service.PractitionerServiceTest:104
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
testSaveInvestigator_ReturnsNull_WhenQueryFails
- java.lang.NullPointerException: Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "<local3>.activityLogService" is null
-
org.diabetestechnology.drh.service.http.pg.service.InvestigatorServiceTest:178
testSaveInvestigator_ReturnsJsonResult
- java.lang.NullPointerException: Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "<local3>.activityLogService" is null
-
org.diabetestechnology.drh.service.http.pg.service.InvestigatorServiceTest:151
testUpdateParticipantDataInline_Success
- java.lang.RuntimeException: Failed to update participant data.
-
org.diabetestechnology.drh.service.http.pg.service.ParticipantServiceTest:155
testSaveParticipantsDataFromFile_Failure
- java.lang.NullPointerException: Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "<local6>.activityLogService" is null
-
org.diabetestechnology.drh.service.http.pg.service.ParticipantServiceTest:243
testUpdateParticipantData_Success
- java.lang.NullPointerException: Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "<local4>.activityLogService" is null
-
org.diabetestechnology.drh.service.http.pg.service.ParticipantServiceTest:283
testSaveParticipantData_Success
- java.lang.IllegalArgumentException: Failed to save participant data due to an error: Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "<local3>.activityLogService" is null
-
org.diabetestechnology.drh.service.http.pg.service.ParticipantServiceTest:101
testSaveParticipantData_Failure
- org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
-
org.diabetestechnology.drh.service.http.pg.service.ParticipantServiceTest:124
testSaveParticipantsDataFromFile_Success
- java.lang.NullPointerException: Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.DbActivityService.prepareActivityLogMetadata()" because "<local6>.activityLogService" is null
-
org.diabetestechnology.drh.service.http.pg.service.ParticipantServiceTest:223
testGetAuditDataFromRequestAndResponse
- java.lang.NullPointerException: Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.MasterService.getMetricActivityLevel(int)" because "this.masterService" is null
-
org.diabetestechnology.drh.service.http.hub.prime.service.interaction.ActivityLogServiceTest:192
testGetAuditDataWithDatabaseError
- java.lang.NullPointerException: Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.MasterService.getMetricActivityLevel(int)" because "this.masterService" is null
-
org.diabetestechnology.drh.service.http.hub.prime.service.interaction.ActivityLogServiceTest:238
testGetAuditDataFromUrlRequestAndResponse_Success
- java.lang.NullPointerException: Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.MasterService.getMetricActivityLevel(int)" because "this.masterService" is null
-
org.diabetestechnology.drh.service.http.hub.prime.service.interaction.ActivityLogServiceTest:382
testSaveActivityLog_Success
- Wanted but not invoked: Wanted but not invoked: dsl.select(<any org.jooq.SelectField>); -> at org.diabetestechnology.drh.service.http.hub.prime.service.interaction.ActivityLogServiceTest.testSaveActivityLog_Success(ActivityLogServiceTest.java:325) Actually, there were zero interactions with this mock.
-
org.diabetestechnology.drh.service.http.hub.prime.service.interaction.ActivityLogServiceTest:325
testGetAuditDataWithLogDetails
- java.lang.NullPointerException: Cannot invoke "org.diabetestechnology.drh.service.http.pg.service.MasterService.getMetricActivityLevel(int)" because "this.masterService" is null
-
org.diabetestechnology.drh.service.http.hub.prime.service.interaction.ActivityLogServiceTest:287
testGetTenantIdByUserId_AsUser
- java.lang.NullPointerException: Cannot invoke "org.jooq.SelectLimitPercentStep.fetchOneInto(java.lang.Class)" because "query" is null
-
org.diabetestechnology.drh.service.http.pg.service.PartyServiceTest:296