summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2015-07-07 21:54:26 +0300
committerTeemu Suo-Anttila <teemusa@vaadin.com>2015-07-08 11:00:05 +0300
commitf86187c48f5d84f6d7f60e22a02dfa0a5350c16e (patch)
tree70285384c6f561a426badfe90a68f69de9bda94b
parenta31104cfd2c4b4843be95fd9611323f16d4b9d2b (diff)
downloadvaadin-framework-f86187c48f5d84f6d7f60e22a02dfa0a5350c16e.tar.gz
vaadin-framework-f86187c48f5d84f6d7f60e22a02dfa0a5350c16e.zip
Improve Eclipse auto-complete experience for openTestURL
Selecting the varags method for auto completion will annoyingly create suggest passing parameters to the method, which is rarely what you want to do. Change-Id: Icbdc2a9aa3b3fd10765aaf0b6fd8f4837c28a510
-rw-r--r--uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java b/uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java
index edcd07ee89..842fcbb859 100644
--- a/uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java
+++ b/uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java
@@ -240,6 +240,15 @@ public abstract class AbstractTB3Test extends ParallelTest {
* debug window and/or push (depending on {@link #isDebug()} and
* {@link #isPush()}.
*/
+ protected void openTestURL() {
+ openTestURL(new String[0]);
+ }
+
+ /**
+ * Opens the given test (defined by {@link #getTestUrl()}, optionally with
+ * debug window and/or push (depending on {@link #isDebug()} and
+ * {@link #isPush()}.
+ */
protected void openTestURL(String... parameters) {
openTestURL(getUIClass(), parameters);
}