From cc80fb79c837aaf7576b5e7c051331aa69f8042b Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Mon, 29 Sep 2014 21:35:21 +0300 Subject: [PATCH] Ease test creation by making description and ticket number optional Change-Id: I00cde9e1ebc51669b959a6e98094fea87059a022 --- .../src/com/vaadin/tests/components/AbstractTestUI.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/uitest/src/com/vaadin/tests/components/AbstractTestUI.java b/uitest/src/com/vaadin/tests/components/AbstractTestUI.java index d7fb7d03fb..558379260b 100644 --- a/uitest/src/com/vaadin/tests/components/AbstractTestUI.java +++ b/uitest/src/com/vaadin/tests/components/AbstractTestUI.java @@ -181,9 +181,13 @@ public abstract class AbstractTestUI extends UI { getLayout().replaceComponent(oldComponent, newComponent); } - protected abstract String getTestDescription(); + protected String getTestDescription() { + return null; + }; - protected abstract Integer getTicketNumber(); + protected Integer getTicketNumber() { + return null; + }; protected WebBrowser getBrowser() { return getSession().getBrowser(); -- 2.39.5