timing.swtbot: add Generic SegmentTable tests
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Thu, 27 Oct 2016 00:35:25 +0000 (20:35 -0400)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Tue, 8 Nov 2016 00:22:14 +0000 (19:22 -0500)
commit101bcc6537f5cca823925bd159fa704892dced58
tree3dff7ec9cf27dce7e21092024b74bbd88a3196b2
parent88598bff4fde87a46ad5d634967bc051e7c4385c
timing.swtbot: add Generic SegmentTable tests

This makes table tests truly extendible. In order to implement
custom tests, one must override getSegmentStoreProvider with the
analysis to test, createSegment to return the right type of
segment and the test validation they want.

The System Call table view is an example implementation.

Change-Id: Id77c8afce3a5296d066d94885e8f54ddcf719de0
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/84446
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
analysis/org.eclipse.tracecompass.analysis.os.linux.core/META-INF/MANIFEST.MF
analysis/org.eclipse.tracecompass.analysis.os.linux.ui.swtbot.tests/META-INF/MANIFEST.MF
analysis/org.eclipse.tracecompass.analysis.os.linux.ui.swtbot.tests/src/org/eclipse/tracecompass/analysis/os/linux/ui/swtbot/tests/latency/SystemCallLatencyTableAnalysisTest.java
analysis/org.eclipse.tracecompass.analysis.timing.ui.swtbot.tests/META-INF/MANIFEST.MF
analysis/org.eclipse.tracecompass.analysis.timing.ui.swtbot.tests/build.properties
analysis/org.eclipse.tracecompass.analysis.timing.ui.swtbot.tests/plugin.xml [new file with mode: 0644]
analysis/org.eclipse.tracecompass.analysis.timing.ui.swtbot.tests/src/org/eclipse/tracecompass/analysis/timing/ui/swtbot/tests/table/SegmentTableTest.java [new file with mode: 0644]
analysis/org.eclipse.tracecompass.analysis.timing.ui/src/org/eclipse/tracecompass/analysis/timing/ui/views/segmentstore/table/AbstractSegmentStoreTableViewer.java
This page took 0.026821 seconds and 5 git commands to generate.