diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2015-03-09 13:35:32 +0200 |
---|---|---|
committer | Markus Koivisto <markus@vaadin.com> | 2015-04-15 11:43:27 +0300 |
commit | 9f27b180d3e6b809b28d77f2b7c00c50cbab685a (patch) | |
tree | e5fa15b354f9abab5a33496ed9221a6fd5723c0f /uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java | |
parent | ab6404f43fc5f9d6a9107307ee173d831a1397be (diff) | |
download | vaadin-framework-9f27b180d3e6b809b28d77f2b7c00c50cbab685a.tar.gz vaadin-framework-9f27b180d3e6b809b28d77f2b7c00c50cbab685a.zip |
Disallow RunLocally annotation in framework tests. Fix NPE for
screenshots.
Change-Id: I72793d85dfaba41aefa5370331c1ae81348607e9
Diffstat (limited to 'uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java b/uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java index f401e0613b..e059dea78d 100644 --- a/uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java +++ b/uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java @@ -340,7 +340,7 @@ public abstract class ScreenshotTB3Test extends AbstractTB3Test { */ @After public void checkCompareFailures() throws IOException { - if (!screenshotFailures.isEmpty()) { + if (screenshotFailures != null && !screenshotFailures.isEmpty()) { throw new IOException( "The following screenshots did not match the reference: " + screenshotFailures.toString()); |