Task #4699 (closed)
gatewaytest for getObjects()
Reported by: | wmoore | Owned by: | wmoore |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-Beta4.3 |
Component: | General | Version: | n.a. |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2011-03-24 (8) |
Description
Need a test for retrieving various object types using existing methods getProject() getExperimenter() etc that can be used to test getObjects("Project") gives the same result.
Change History (5)
comment:1 Changed 13 years ago by wmoore
- Status changed from new to accepted
comment:2 Changed 13 years ago by Will Moore <will@…>
comment:3 Changed 13 years ago by Will Moore <will@…>
(In [8a840fcbb7f6843036d79d6e95af42aef1e9e4e2/ome.git] on branch develop) gatewaytest/wrapper.py tests getObjects(ExperimenterGroup?). See #4699
comment:4 Changed 13 years ago by wmoore
- Remaining Time changed from 1 to 0
- Resolution set to fixed
- Status changed from accepted to closed
Tests cover all uses of getOjbects required to replace existing methods getProject(id), getDataset(id), getImage(id), getShare(id), getScreen(id), getPlate(id), getAnnotations(ids), getAnnotation(id), getGroup(id), getExperimenters(ids), getExperimenter(id), getExperimenterGroups(ids).
Only missing functionality is loading groups for getExperimenter(id). This uses iAdmin in existing gateway method and cannot be replicated with iQuery.
comment:5 Changed 13 years ago by Will Moore <will@…>
(In [9172cc942a2b88dedce1b665ed368e9a9b73d4f8/ome.git] on branch develop) Moved getObjects tests to new file. See #4699
(In [39db9d7d5728815882425461ec4281c37372809a/ome.git] on branch develop) Adding tests to gatewaytest/wrapper.py to test gateway.getObjects() See #4699