swtbot: Make SWTBotTimeGraph/Entry.getEntry() wait for entry
authorPatrick Tasse <patrick.tasse@gmail.com>
Tue, 2 May 2017 17:39:11 +0000 (13:39 -0400)
committerPatrick Tasse <patrick.tasse@gmail.com>
Tue, 2 May 2017 19:25:32 +0000 (15:25 -0400)
commit3d162961abe6b6c4bd8678d0006cb4bd0623a71c
treed6592ad1f23c7ded2ab913610cf32779847920e3
parente386a632c6fac03cd8f4ab773f2eeb454d8440b8
swtbot: Make SWTBotTimeGraph/Entry.getEntry() wait for entry

These methods currently try only once to find the entry but output
"Timed out waiting for..." when it fails.

To match the failure message, and for increased test robustness, make
the methods actually use a wait condition.

Change-Id: Ic1c797b4fa59e44179f0af03fdbb7ae6a27b23bf
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/96240
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
tmf/org.eclipse.tracecompass.tmf.ui.swtbot.tests/shared/org/eclipse/tracecompass/tmf/ui/swtbot/tests/shared/SWTBotTimeGraph.java
tmf/org.eclipse.tracecompass.tmf.ui.swtbot.tests/shared/org/eclipse/tracecompass/tmf/ui/swtbot/tests/shared/SWTBotTimeGraphEntry.java
This page took 0.024721 seconds and 5 git commands to generate.