aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-10-30 07:04:17 +0000
committerArtur Signell <artur@vaadin.com>2013-10-30 09:08:03 +0200
commit8971651a93920c7b75316f0c3794682afebcddac (patch)
treee62e7ab093b803225e65af796b21edee0b4181ea
parent2a3890cf71e18decf19a6d5e99ee12eb2dd139a9 (diff)
downloadvaadin-framework-8971651a93920c7b75316f0c3794682afebcddac.tar.gz
vaadin-framework-8971651a93920c7b75316f0c3794682afebcddac.zip
Revert "Publish error artifacts immediatly in TeamCity"
This reverts commit 5fb1da2da04ccca2305af31a9105b848e42b1ed6. Change-Id: I9d84b75e5e189378eacd2559bb42399b77957010
-rw-r--r--uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java12
-rw-r--r--uitest/test.xml4
2 files changed, 1 insertions, 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 @@
</batchtest>
</junit>
- <!-- Have teamcity publish each test error artifact immediatly if there are any -->
- <basename property="basename" file="${target}" suffix="java" />
- <echo>##teamcity[publishArtifacts '${com.vaadin.testbench.screenshot.directory}/errors/${basename}* => screenshot-errors']</echo>
-
</target>
<!-- Remove temporary source and compiled java files -->