Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/gcov
diff options
context:
space:
mode:
authorXavier Raynaud2012-03-14 08:51:28 +0000
committerXavier Raynaud2012-03-14 08:51:28 +0000
commit716262043ea6d26c8ad18aed0f2db791d5a1d508 (patch)
treeafbce62f3d6db5910447b524c14f69cf513a8682 /gcov
parenta7cd7834ddbe67e17514f318c04c1e13ac1e66b5 (diff)
downloadorg.eclipse.linuxtools-716262043ea6d26c8ad18aed0f2db791d5a1d508.tar.gz
org.eclipse.linuxtools-716262043ea6d26c8ad18aed0f2db791d5a1d508.tar.xz
org.eclipse.linuxtools-716262043ea6d26c8ad18aed0f2db791d5a1d508.zip
adding screenshot generation to debug test fails on hudson
Diffstat (limited to 'gcov')
-rw-r--r--gcov/org.eclipse.linuxtools.gcov.test/src/org/eclipse/linuxtools/internal/gcov/test/GcovTestC.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcov/org.eclipse.linuxtools.gcov.test/src/org/eclipse/linuxtools/internal/gcov/test/GcovTestC.java b/gcov/org.eclipse.linuxtools.gcov.test/src/org/eclipse/linuxtools/internal/gcov/test/GcovTestC.java
index 586b4561f5..4d4e0dc5ff 100644
--- a/gcov/org.eclipse.linuxtools.gcov.test/src/org/eclipse/linuxtools/internal/gcov/test/GcovTestC.java
+++ b/gcov/org.eclipse.linuxtools.gcov.test/src/org/eclipse/linuxtools/internal/gcov/test/GcovTestC.java
@@ -30,6 +30,7 @@ public class GcovTestC {
@BeforeClass
public static void beforeClass() throws Exception {
bot = new SWTWorkbenchBot();
+ bot.captureScreenshot(PROJECT_NAME + ".beforeClass.1.jpg");
try {
bot.viewByTitle("Welcome").close();
// hide Subclipse Usage stats popup if present/installed
@@ -40,6 +41,7 @@ public class GcovTestC {
}
bot.perspectiveByLabel("C/C++").activate();
+ bot.captureScreenshot(PROJECT_NAME + ".beforeClass.2.jpg");
// Turn off automatic building by default
bot.menu("Window").menu("Preferences").click();
SWTBotShell shell = bot.shell("Preferences");

Back to the top