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 #4186 (closed)

Opened 10 years ago

Closed 10 years ago

Add better isThisType tests

Reported by: mlinkert Owned by: mlinkert
Priority: minor Milestone: OMERO-Beta4.3
Component: Bio-Formats Version: n.a.
Keywords: n.a. Cc: crueden-x, leek@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-02-10 (5)

Description (last modified by mlinkert)

Two new tests should be added:

  • one in loci.formats.utests that times isThisType(..., false) and isThisType(..., true) on an unsupported file and fails if either call takes too long or returns true

  • one in loci.tests.testng.FormatReaderTest? that fails if isThisType(..., true) returns a different value from isThisType(..., false)

See also #534.

Change History (6)

comment:1 Changed 10 years ago by jmoore

imported from bio-formats:#642

comment:2 Changed 10 years ago by mlinkert

  • Cc crueden-x added; curtis removed
  • Description modified (diff)
  • Remaining Time set to 0.5
  • Sprint set to 2011-02-10 (5)

comment:3 Changed 10 years ago by mlinkert

  • Remaining Time changed from 0.5 to 0.25

Test added to loci.formats.utests in [8fcfe8795e0cf370a12483c067d5ddc8ae421655/bioformats.git].

comment:4 Changed 10 years ago by mlinkert

  • Remaining Time changed from 0.25 to 0
  • Resolution set to fixed
  • Status changed from new to closed

comment:5 Changed 10 years ago by Melissa Linkert <melissa@…>

(In [8fcfe8795e0cf370a12483c067d5ddc8ae421655/bioformats.git]) Added new test for checking speed and accuracy of isThisType(String, boolean).

See #4186.

comment:6 Changed 10 years ago by Melissa Linkert <melissa@…>

(In [24c0974f8b1c8818fa6db986fdac35df8f60ddfa/bioformats.git]) Added data-driven test to verify isThisType(...) consistency.

Closes #4186.

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.188621 sec.)

We're Hiring!