tmf: FilterColorEditorTest on Mac
authorMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Mon, 14 Dec 2015 03:03:48 +0000 (22:03 -0500)
committerMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tue, 15 Dec 2015 04:31:37 +0000 (23:31 -0500)
commit7431c59e218960d40b952e5813ec6f3760e164bb
tree63e0444fa0fd7a5a3ea77707ac1731f2b04d3e95
parent1010de5ea78a4055eb043045e74ea46d0fad0967
tmf: FilterColorEditorTest on Mac

On Mac, RGB values that are captured with ImageHelper are affected by
monitor color profiles. To account for this, we can draw the expected
color in a simple shell and use that color as expected value instead.

Also, switching to the Filter mode in the table is not instantaneous,
we need to wait until it's done before capturing the next image.

Change-Id: I930570027ba53f3dbdcecb5925a8e67c24c239b2
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/62573
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
tmf/org.eclipse.tracecompass.tmf.ui.swtbot.tests/shared/org/eclipse/tracecompass/tmf/ui/swtbot/tests/shared/ImageHelper.java
tmf/org.eclipse.tracecompass.tmf.ui.swtbot.tests/src/org/eclipse/tracecompass/tmf/ui/swtbot/tests/viewers/events/FilterColorEditorTest.java
This page took 0.035686 seconds and 5 git commands to generate.