summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2014-01-07 15:01:20 +0200
committerVaadin Code Review <review@vaadin.com>2014-01-08 11:53:46 +0000
commite41a2cef9b50d3a63b6bffa0f7777c61f5093492 (patch)
tree8cf93827a9e0a9a61d436efbdcb00ff6da7e0684
parent171e68da0d072cb7a7f256d2d27c8b2674759358 (diff)
downloadvaadin-framework-e41a2cef9b50d3a63b6bffa0f7777c61f5093492.tar.gz
vaadin-framework-e41a2cef9b50d3a63b6bffa0f7777c61f5093492.zip
Add helper for adding multiple components to AbstractTestUI
Change-Id: I5153810f635831732ed17c5af215d17ff9a2c801
-rw-r--r--uitest/src/com/vaadin/tests/components/AbstractTestUI.java4
1 files changed, 4 insertions, 0 deletions
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);
}