Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
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 #4346 (closed)

Opened 13 years ago

Closed 13 years ago

BUG: Channel color not correctly imported

Reported by: jburel Owned by: jburel
Priority: minor Milestone: OMERO-Beta4.3
Component: General Version: n.a.
Keywords: n.a. Cc: cxallan, ajpatterson
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-05-19 (12)

Description (last modified by jburel)

Channel color not properly set. Test is integration.ImporterTest.testImportImageWithAcquisitionData

junit.framework.AssertionFailedError: expected:<0> but was:<255>
junit.framework.Assert.fail(Assert.java:47)
junit.framework.Assert.failNotEquals(Assert.java:282)
junit.framework.Assert.assertEquals(Assert.java:64)
junit.framework.Assert.assertEquals(Assert.java:201)
junit.framework.Assert.assertEquals(Assert.java:207)
integration.ImporterTest.testImportImageWithAcquisitionData(ImporterTest.java:937)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:592)
org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:644)
org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:49)
org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:40)
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
java.util.concurrent.FutureTask.run(FutureTask.java:123)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
java.lang.Thread.run(Thread.java:655)
integration.ThumbnailStoreTest

Attachments (1)

xslt-colour-hex-dec-edge-cases-example.xlsx (36.9 KB) - added by ajpatterson 13 years ago.

Download all attachments as: .zip

Change History (21)

comment:1 Changed 13 years ago by jburel

  • Remaining Time set to 0.15

comment:2 Changed 13 years ago by jburel

  • Status changed from new to accepted

comment:3 Changed 13 years ago by jburel <j.burel@…>

(In [2bd5fcfc85eafda61332bb36adc941eeb788d1bf/ome.git] on branch develop) Review tests related to import of image with metadata (see #4346)

comment:4 Changed 13 years ago by jburel

  • Owner jburel deleted
  • Status changed from accepted to new

comment:5 Changed 13 years ago by jburel

  • Summary changed from BUG: testImportImageWithAcquisitionData to BUG: Channel color not correctly imported

comment:6 Changed 13 years ago by jburel

  • Description modified (diff)

comment:7 Changed 13 years ago by jburel

  • Sprint changed from 2011-02-24 (6) to 2011-03-10 (7)

Moved from sprint 2011-02-24 (6)

comment:8 Changed 13 years ago by cxallan

  • Owner set to cxallan

comment:9 Changed 13 years ago by jburel

  • Sprint changed from 2011-03-10 (7) to 2011-03-24 (8)

Moved from sprint 2011-03-10 (7)

comment:10 Changed 13 years ago by jburel

  • Sprint changed from 2011-03-24 (8) to 2011-04-07 (9)

Moved from sprint 2011-03-24 (8)

comment:11 Changed 13 years ago by cxallan

  • Sprint changed from 2011-04-07 (9) to 2011-04-21 (10)

Moved from sprint 2011-04-07 (9)

comment:12 Changed 13 years ago by jburel

  • Sprint changed from 2011-04-21 (10) to 2011-05-05 (11)

Moved from sprint 2011-04-21 (10)

comment:13 Changed 13 years ago by cxallan

  • Sprint changed from 2011-05-05 (11) to 2011-05-19 (12)

comment:14 Changed 13 years ago by jburel

  • Cc cxallan added
  • Owner changed from cxallan to jburel
  • Status changed from new to accepted

I did not notice I already created a ticket

comment:15 Changed 13 years ago by jburel

Color not imported correctly. looking at it now, I was looking at wrong channel before

comment:16 Changed 13 years ago by jburel

  • Cc ajpatterson added

review edge cases with Andrew
currently doing (pseudo code)

channel.setColor(java.color.getRGB))

does not work.

comment:17 Changed 13 years ago by jburel

  • Owner jburel deleted
  • Status changed from accepted to new

comment:18 Changed 13 years ago by jburel

  • Owner set to jburel

Changed 13 years ago by ajpatterson

comment:19 Changed 13 years ago by jburel

  • Status changed from new to accepted

comment:20 Changed 13 years ago by jburel <j.burel@…>

  • Remaining Time changed from 0.15 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

(In [b65a01a47112fa96dd05e9a6bd2db4fa2fe5f157/ome.git] on branch develop) Fix test, wrong color was stored in the XML file. (close #4346)

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

We're Hiring!