From e41a2cef9b50d3a63b6bffa0f7777c61f5093492 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leif=20=C3=85strand?= Date: Tue, 7 Jan 2014 15:01:20 +0200 Subject: [PATCH] Add helper for adding multiple components to AbstractTestUI Change-Id: I5153810f635831732ed17c5af215d17ff9a2c801 --- uitest/src/com/vaadin/tests/components/AbstractTestUI.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/uitest/src/com/vaadin/tests/components/AbstractTestUI.java b/uitest/src/com/vaadin/tests/components/AbstractTestUI.java index 8f92ff3118..6213993257 100644 --- a/uitest/src/com/vaadin/tests/components/AbstractTestUI.java +++ b/uitest/src/com/vaadin/tests/components/AbstractTestUI.java @@ -148,6 +148,10 @@ public abstract class AbstractTestUI extends UI { getLayout().addComponent(c); } + public void addComponents(Component... c) { + getLayout().addComponents(c); + } + public void removeComponent(Component c) { getLayout().removeComponent(c); } -- 2.39.5