summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java')
-rw-r--r--uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java12
1 files changed, 1 insertions, 11 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']");
- }
+ };
};
/**