releng: Add a test suite for all SWTbot perf tests
authorGeneviève Bastien <gbastien+lttng@versatic.net>
Thu, 1 Sep 2016 20:26:44 +0000 (16:26 -0400)
committerGenevieve Bastien <gbastien+lttng@versatic.net>
Sat, 25 Feb 2017 00:24:42 +0000 (19:24 -0500)
These tests can be run with JUL enabled to get data for UI
responsiveness.

Change-Id: I87cf69155262089dfe017db5ad4980951308224e
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/80262
Reviewed-by: Hudson CI
Reviewed-by: Marc-André Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-André Laperle <marc-andre.laperle@ericsson.com>
lttng/org.eclipse.tracecompass.lttng2.kernel.ui.swtbot.tests/META-INF/MANIFEST.MF
lttng/org.eclipse.tracecompass.lttng2.ust.ui.swtbot.tests/META-INF/MANIFEST.MF
releng/org.eclipse.tracecompass.alltests/src/org/eclipse/tracecompass/alltests/swtbot/RunAllSWTBotPerfTests.java [new file with mode: 0644]

index ea4af579c931738e3aaac4ab51e1c60e04f92716..e08641342ab4b99ff5c07f0a3bf1060cce6f1dfe 100644 (file)
@@ -7,7 +7,8 @@ Bundle-Localization: plugin
 Bundle-SymbolicName: org.eclipse.tracecompass.lttng2.kernel.ui.swtbot.tests;singleton:=true
 Bundle-ActivationPolicy: lazy
 Bundle-RequiredExecutionEnvironment: JavaSE-1.8
-Export-Package: org.eclipse.tracecompass.lttng2.kernel.ui.swtbot.tests
+Export-Package: org.eclipse.tracecompass.lttng2.kernel.ui.swtbot.tests,
+ org.eclipse.tracecompass.lttng2.kernel.ui.swtbot.tests.perf
 Require-Bundle: org.apache.log4j,
  org.eclipse.core.resources,
  org.eclipse.core.runtime,
index 612153f85b9ba45a532812e76bfc159f441208e7..f805da5b40d92cae24e3f5cb9545a81fd10312b6 100644 (file)
@@ -27,6 +27,7 @@ Require-Bundle: org.apache.log4j,
  org.eclipse.tracecompass.lttng2.ust.ui,
  org.swtchart,
  org.eclipse.tracecompass.tmf.ui.tests
-Export-Package: org.eclipse.tracecompass.lttng2.ust.ui.swtbot.tests
+Export-Package: org.eclipse.tracecompass.lttng2.ust.ui.swtbot.tests,
+ org.eclipse.tracecompass.lttng2.ust.ui.swtbot.tests.perf
 Import-Package: com.google.common.collect,
  org.eclipse.tracecompass.testtraces.ctf;version="1.1.1"
diff --git a/releng/org.eclipse.tracecompass.alltests/src/org/eclipse/tracecompass/alltests/swtbot/RunAllSWTBotPerfTests.java b/releng/org.eclipse.tracecompass.alltests/src/org/eclipse/tracecompass/alltests/swtbot/RunAllSWTBotPerfTests.java
new file mode 100644 (file)
index 0000000..83435f4
--- /dev/null
@@ -0,0 +1,31 @@
+/*******************************************************************************
+ * Copyright (c) 2016 École Polytechnique de Montréal
+ *
+ * All rights reserved. This program and the accompanying materials are
+ * made available under the terms of the Eclipse Public License v1.0 which
+ * accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *******************************************************************************/
+
+package org.eclipse.tracecompass.alltests.swtbot;
+
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+
+/**
+ * Master test suite for all Trace Compass SWTBot performance tests.
+ *
+ * Note that the SWTBot tests need to be executed in a non-UI thread which is
+ * why they are separated in a different test suite.
+ *
+ * Also, these tests typically test the performance of the UI and one might want
+ * to enable JUL logging while running these.
+ */
+@RunWith(Suite.class)
+@Suite.SuiteClasses({
+    org.eclipse.tracecompass.lttng2.ust.ui.swtbot.tests.perf.LttngUstResponseBenchmark.class,
+    org.eclipse.tracecompass.lttng2.kernel.ui.swtbot.tests.perf.LttngUiResponseBenchmark.class
+})
+public class RunAllSWTBotPerfTests {
+
+}
This page took 0.025883 seconds and 5 git commands to generate.