tmf: Fix FontEventEditorTest on Mac
authorMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Thu, 19 Nov 2015 22:24:04 +0000 (17:24 -0500)
committerMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tue, 1 Dec 2015 00:37:55 +0000 (19:37 -0500)
commit747d62e1dc9d59f177396dc0b40bbb6653fd1544
tree33b68daaec2e5a9b57ebaa82f7d5279d8286be97
parent7c16eaff1aef8a483ac3ac247c6119be8fbca56b
tmf: Fix FontEventEditorTest on Mac

On Mac, the Preferences menu item is under the application name.
For some reason, we can't access the application menu so we use the
keyboard shortcut. This commits create a helper method in SWTBotUtils so
that this problem doesn't occur again when a new test wants to open the
preference window.

Change-Id: Ib4a76cd6d0f1b70965f83eaf4920aa55cf81835a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/60857
Reviewed-by: Hudson CI
tmf/org.eclipse.tracecompass.tmf.remote.ui.swtbot.tests/src/org/eclipse/tracecompass/tmf/remote/ui/swtbot/tests/fetch/FetchRemoteTracesTest.java
tmf/org.eclipse.tracecompass.tmf.ui.swtbot.tests/shared/org/eclipse/tracecompass/tmf/ui/swtbot/tests/shared/SWTBotUtils.java
tmf/org.eclipse.tracecompass.tmf.ui.swtbot.tests/src/org/eclipse/tracecompass/tmf/ui/swtbot/tests/viewers/events/FontEventEditorTest.java
This page took 0.027397 seconds and 5 git commands to generate.