tmf: Fix failure in StandardImportGzipTraceTest related to test ordering
authorMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Mon, 21 Dec 2015 06:52:51 +0000 (01:52 -0500)
committerMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Mon, 21 Dec 2015 16:13:25 +0000 (11:13 -0500)
commit3bd360ceec5bd7791f6476cab5f99dc665f932ae
treebd9a368d4733d79c581f784141ef0e3983a71ba7
parent9541b578d0d394834cefd67a9930d4eecadfa82d
tmf: Fix failure in StandardImportGzipTraceTest related to test ordering

If TmfAlignTimeAxisTest ran before, and the window size was small
enough, it was possible for the test to be running in an "Align 1"
perspective with insufficient height for the events table. Because of
that, the expected content in the table could not be found. The tests in
TmfAlignTimeAxisTest switch to generated perspectives without returning
to a "normal" perspective. It makes sense that the tests "cleanup" by
returning to a more normal perspective like the Tracing perspective.

Also switch to Tracing perspective explicitly in
StandardImportGzipTraceTest which is more consistent with the other
tests and is somewhat less error prone.

Change-Id: I0d28af39266bdcdc81e765b5522c92a4a8085602
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/63081
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
tmf/org.eclipse.tracecompass.tmf.ui.swtbot.tests/src/org/eclipse/tracecompass/tmf/ui/swtbot/tests/viewers/events/TmfAlignTimeAxisTest.java
tmf/org.eclipse.tracecompass.tmf.ui.swtbot.tests/src/org/eclipse/tracecompass/tmf/ui/swtbot/tests/wizards/StandardImportGzipTraceTest.java
This page took 0.026293 seconds and 5 git commands to generate.