diff options
Diffstat (limited to 'uitest/src/com/vaadin/tests/components/AbstractTestUIWithLog.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/components/AbstractTestUIWithLog.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/uitest/src/com/vaadin/tests/components/AbstractTestUIWithLog.java b/uitest/src/com/vaadin/tests/components/AbstractTestUIWithLog.java index a74692b169..6f97cbba05 100644 --- a/uitest/src/com/vaadin/tests/components/AbstractTestUIWithLog.java +++ b/uitest/src/com/vaadin/tests/components/AbstractTestUIWithLog.java @@ -21,7 +21,7 @@ import com.vaadin.ui.VerticalLayout; public abstract class AbstractTestUIWithLog extends AbstractTestUI { - protected Log log = new Log(5); + protected Log log = new Log(getLogSize()); @Override public void init(VaadinRequest request) { @@ -33,4 +33,8 @@ public abstract class AbstractTestUIWithLog extends AbstractTestUI { log.log(message); } + protected int getLogSize() { + return 5; + } + } |