From 8971651a93920c7b75316f0c3794682afebcddac Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Wed, 30 Oct 2013 07:04:17 +0000 Subject: [PATCH] Revert "Publish error artifacts immediatly in TeamCity" This reverts commit 5fb1da2da04ccca2305af31a9105b848e42b1ed6. Change-Id: I9d84b75e5e189378eacd2559bb42399b77957010 --- .../src/com/vaadin/tests/tb3/ScreenshotTB3Test.java | 12 +----------- uitest/test.xml | 4 ---- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java b/uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java index 565cd4ce34..a51421d3d5 100644 --- a/uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java +++ b/uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java @@ -31,7 +31,6 @@ import org.junit.Before; import org.junit.Rule; import org.junit.rules.TestRule; import org.junit.rules.TestWatcher; -import org.junit.runner.Description; import org.openqa.selenium.OutputType; import org.openqa.selenium.TakesScreenshot; import org.openqa.selenium.remote.DesiredCapabilities; @@ -62,16 +61,7 @@ public abstract class ScreenshotTB3Test extends AbstractTB3Test { String className = testClass.getSimpleName(); screenshotBaseName = className + "-" + testMethod; - } - - @Override - protected void failed(Throwable e, Description description) { - - // Notify Teamcity of failed test - System.out.print("##teamcity[publishArtifacts '"); - System.out.println(getScreenshotErrorBaseName() - + "* => screenshot-errors']"); - } + }; }; /** diff --git a/uitest/test.xml b/uitest/test.xml index bcb0bf540a..b0db8d47f4 100644 --- a/uitest/test.xml +++ b/uitest/test.xml @@ -134,10 +134,6 @@ - - - ##teamcity[publishArtifacts '${com.vaadin.testbench.screenshot.directory}/errors/${basename}* => screenshot-errors'] - -- 2.39.5