aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/application/DeploymentConfigurationTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/application/DeploymentConfigurationTest.java')
-rw-r--r--uitest/src/com/vaadin/tests/application/DeploymentConfigurationTest.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/uitest/src/com/vaadin/tests/application/DeploymentConfigurationTest.java b/uitest/src/com/vaadin/tests/application/DeploymentConfigurationTest.java
index 9c89254bd7..799622b31d 100644
--- a/uitest/src/com/vaadin/tests/application/DeploymentConfigurationTest.java
+++ b/uitest/src/com/vaadin/tests/application/DeploymentConfigurationTest.java
@@ -5,15 +5,20 @@ import java.util.Properties;
import com.vaadin.server.VaadinRequest;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI;
+import com.vaadin.ui.VerticalLayout;
public class DeploymentConfigurationTest extends UI {
@Override
protected void init(VaadinRequest request) {
+ VerticalLayout layout = new VerticalLayout();
+ layout.setMargin(true);
+ setContent(layout);
+
Properties params = getSession().getConfiguration().getInitParameters();
for (Object key : params.keySet()) {
- addComponent(new Label(key + ": "
+ layout.addComponent(new Label(key + ": "
+ params.getProperty((String) key)));
}
}