Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #4699 (closed)

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

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 9 years ago by wmoore

  • Status changed from new to accepted

comment:2 Changed 9 years ago by Will Moore <will@…>

(In [39db9d7d5728815882425461ec4281c37372809a/ome.git] on branch develop) Adding tests to gatewaytest/wrapper.py to test gateway.getObjects() See #4699

comment:3 Changed 9 years ago by Will Moore <will@…>

(In [8a840fcbb7f6843036d79d6e95af42aef1e9e4e2/ome.git] on branch develop) gatewaytest/wrapper.py tests getObjects(ExperimenterGroup?). See #4699

comment:4 Changed 9 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 9 years ago by Will Moore <will@…>

(In [9172cc942a2b88dedce1b665ed368e9a9b73d4f8/ome.git] on branch develop) Moved getObjects tests to new file. See #4699

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.77119 sec.)

We're Hiring!