Task #4186 (closed)
Opened 13 years ago
Closed 13 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 13 years ago by jmoore
comment:2 Changed 13 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 13 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 13 years ago by mlinkert
- Remaining Time changed from 0.25 to 0
- Resolution set to fixed
- Status changed from new to closed
Data-driven test added in [24c0974f8b1c8818fa6db986fdac35df8f60ddfa/bioformats.git].
comment:5 Changed 13 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 13 years ago by Melissa Linkert <melissa@…>
(In [24c0974f8b1c8818fa6db986fdac35df8f60ddfa/bioformats.git]) Added data-driven test to verify isThisType(...) consistency.
Closes #4186.
imported from bio-formats:#642