Package ubic.gemma.rest
package ubic.gemma.rest
-
ClassesClassDescriptionPure-Mockito tests for
AdminWebService: cache list / clear / clear-named, Hibernate stats snapshot.Integration test for the result sets endpoint.Unit tests for the cursor-pagination branch added toAnalysisResultSetsWebService.getResultSets(DatasetArrayArg, DatabaseEntryArrayArg, FilterArg, OffsetArg, LimitArg, SortArg, CursorArg)for step 1i ofCURSOR_PAGINATION_STEP1_PLAN.md.Unit tests forAnalysisResultSetsWebService.getPvalueDistribution(ExpressionAnalysisResultSetArg, int, String), which serves the storedPVALUE_DISTRIBUTIONhistogram rather than aggregatingDIFFERENTIAL_EXPRESSION_ANALYSIS_RESULT(120.5 GB / ~1.57e9 rows on production) per request.Pure-data tests for the three ranking strategies — no Spring, no Mockito beyond the input fixture.End-to-end checks forAnnotationsWebService.The per-URI corpus usage-count cache behind/annotations/search?rank=composite.Pure Mockito unit tests forCompletionsWebService.End-to-end regression harness for the composite curation commit (PUT /datasets/{id}/curation) against a real (gemdtest) database — the persistence half the mockedDatasetsWebServiceTestcan't reach.Integration tests for the diagnostics endpoints (mean-variance, sample-correlation, svd) onDatasetsWebService.A design-commit factor item carrying ONLYgemmaIdplus one relevance hint leaves everything else about the factor as it was: name, category, factor values and sample assignments.Integration tests forGET /datasets/{dataset}/platforms, in both modes, against a real (gemdtest) database.Unit tests for the cursor-pagination branch added toDatasetsWebService.getDatasetAuditEvents(DatasetArg, CursorArg, LimitArg, boolean, boolean)as step 1q ofCURSOR_PAGINATION_STEP1_PLAN.md.Unit tests for the cursor-pagination branch added toDatasetsWebService.getBlacklistedDatasets(FilterArg, SortArg, OffsetArg, LimitArg, CursorArg)as step 1t ofCURSOR_PAGINATION_STEP1_PLAN.md(the EE-targeted twin of step 1h's/platforms/blacklisted).Unit tests for the cursor-pagination branch added toDatasetsWebService.getDatasetsByIds(DatasetArrayArg, FilterArg, OffsetArg, LimitArg, SortArg, CursorArg)as step 1w ofCURSOR_PAGINATION_STEP1_PLAN.md.Unit tests for the cursor-pagination branch added toDatasetsWebService.getDatasetsExpressionLevelsForGene(GeneArg, ubic.gemma.rest.util.args.QueryArg, FilterArg, OffsetArg, LimitArg, Boolean, ubic.gemma.rest.util.args.ExpLevelConsolidationArg, CursorArg, Boolean)and its taxon-scoped sibling, as step 1v ofCURSOR_PAGINATION_STEP1_PLAN.md.Unit tests for the cursor-pagination branch added toDatasetsWebService.getDatasetSamples(DatasetArg, QuantitationTypeArg, boolean, CursorArg, LimitArg, ExcludeArg, boolean)as step 1k ofCURSOR_PAGINATION_STEP1_PLAN.md.Unit tests for the cursor-pagination branch added toDatasetsWebService#getDatasetSubSetSamples(DatasetArg, Long, CursorArg, LimitArg)as step 1u ofCURSOR_PAGINATION_STEP1_PLAN.md.Unit tests forDatasetsWebService.getDatasetTicketsBulk(DatasetsWebService.DatasetTicketsBulkRequest)— the bulk read behind the experiment list's "on a ticket" glyph.Unit tests for the cursor-pagination branch added toDatasetsWebService.getDatasetTickets(DatasetArg, CursorArg, LimitArg)as step 1p ofCURSOR_PAGINATION_STEP1_PLAN.md.Pure-data tests for thelastUpdatelabel vocabulary — no Spring, no database.Unit tests forHeatmapDataService(the assembler that backsDatasetVisualizationWebService).Pure Mockito tests forExperimentSetsWebService: the resource → service wiring, and the guards that decide what reaches the service at all.Unit tests for the cursor-pagination branch added toGeneWebService.getGenes(OffsetArg, LimitArg, CursorArg)as proof-of-concept for step 1b ofCURSOR_PAGINATION_STEP1_PLAN.md.Pure-Mockito tests for the two gene-page additions onGeneWebService:GET /genes/{gene}/overview(the fully-populated VO replacing the legacyloadGeneDetailsDWR) andGET /genes/{gene}/homologues.Unit tests for the cursor-pagination branch added toGeneWebService.getGeneProbes(GeneArg, OffsetArg, LimitArg, CursorArg, boolean)as step 1m ofCURSOR_PAGINATION_STEP1_PLAN.md.Pure Mockito unit tests forGroupsWebService.Pin the invariant that/openapi.{json,yaml}serves the veryOpenAPIinstance held by theopenApibean — the instanceOpenApiFactorydecorates with theserverslist, theFilterArg/SortArgexamples and placeholder resolution.Unit tests for the cursor-pagination branch added toPlatformsWebService.getBlacklistedPlatforms(FilterArg, SortArg, OffsetArg, LimitArg, CursorArg)as step 1h ofCURSOR_PAGINATION_STEP1_PLAN.md.Unit tests for the cursor-pagination branch added toPlatformsWebService#getPlatformsByIds(PlatformArrayArg, FilterArg, OffsetArg, LimitArg, SortArg, CursorArg)— theGET /platforms/{platform}variant (step 1x).Unit tests for the cursor-pagination branch added toPlatformsWebService#getPlatforms(FilterArg, OffsetArg, LimitArg, SortArg, CursorArg)as proof-of-concept for step 1c ofCURSOR_PAGINATION_STEP1_PLAN.md.Unit tests for the cursor-pagination branch added toPlatformsWebService.getPlatformDatasets(PlatformArg, OffsetArg, LimitArg, CursorArg)as step 1f ofCURSOR_PAGINATION_STEP1_PLAN.md.Unit tests for the cursor-pagination branch added toPlatformsWebService.getPlatformElement(PlatformArg, CompositeSequenceArrayArg, OffsetArg, LimitArg, CursorArg, boolean, boolean)as step 1j ofCURSOR_PAGINATION_STEP1_PLAN.md.Unit tests for the cursor-pagination branch added toPlatformsWebService.getPlatformElementGenes(PlatformArg, CompositeSequenceArg, OffsetArg, LimitArg, CursorArg)as step 1l ofCURSOR_PAGINATION_STEP1_PLAN.md.Unit tests for the cursor-pagination branch added toPlatformsWebService.getPlatformElements(PlatformArg, OffsetArg, LimitArg, CursorArg, boolean, boolean, QueryArg, FilterArg)as step 1e ofCURSOR_PAGINATION_STEP1_PLAN.md.Pure-Mockito test for theGET /platforms/{platform}/elements/{probe}/mappingSummaryendpoint added toPlatformsWebService.Pure-Mockito test forGET /platforms/{platform}/elements/{probe}/pslTrack, which replaces the retired gemma-webBlatResultTrackController(blatTrack.html?id=).Unit tests for the cursor-pagination branch added toPlatformsWebService.getPlatformTickets(PlatformArg, CursorArg, LimitArg)as step 1s ofCURSOR_PAGINATION_STEP1_PLAN.md.Pure-Mockito unit tests forPreboardedWebService.Unit tests for the cursor-pagination branch added toTaxaWebService.getTaxonDatasets(TaxonArg, FilterArg, OffsetArg, LimitArg, SortArg, CursorArg)as step 1d ofCURSOR_PAGINATION_STEP1_PLAN.md, following the same pattern asPlatformsWebServiceCursorTest(step 1c) andGeneWebServiceCursorTest(step 1b).Unit tests for the cursor-pagination branch added toTaxaWebService.getTaxonGeneProbes(TaxonArg, GeneArg, OffsetArg, LimitArg, CursorArg)as step 1n ofCURSOR_PAGINATION_STEP1_PLAN.md.Unit tests for the cursor-pagination branch added toTaxaWebService.getTaxonGenes(TaxonArg, OffsetArg, LimitArg, CursorArg)as step 1g ofCURSOR_PAGINATION_STEP1_PLAN.md.Unit tests for the cursor-pagination branch added toTicketsWebService#getTickets(boolean, Long, TicketPriority, OffsetArg, LimitArg, CursorArg)as step 1o ofCURSOR_PAGINATION_STEP1_PLAN.md.Unit tests for the cursor-pagination branch added toTicketsWebService.getTicketEvents(Long, CursorArg, LimitArg)as step 1r ofCURSOR_PAGINATION_STEP1_PLAN.md.Real JAX-RS path matching forGET /tickets/scratchpad— the one thing the mockedTicketsWebServiceTestcannot see, since it calls the handler methods directly and a literal route swallowed by@Path("/{id}")would still pass there.displayLabel/displayNameon ticket targets.Pure Mockito unit tests forTicketsWebServicecovering the read-only endpoints introduced in Phase B-2 ofAUDIT_AS_WORKFLOW_RECCE.md.Pure-Mockito unit tests forWorkflowWebService: REST-shape validation, error mapping (404 / 400 / 409).