From 51fcdd88c1928c7c2537827e1a224fe171d492a9 Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Thu, 28 Feb 2013 10:59:20 +0200 Subject: Fix random error in DelegateToWidget test Because of performance fixes to the handling of @DelegateToWidget handling, the order in which property changes are delegated are no longer deterministic. This patch fixes a bug in the test which caused the update to value4 to be ignored if that was the last property to get delegated. Change-Id: Ie13a125b0d719894391b8ae3c9d2d899b163ebb4 --- uitest/src/com/vaadin/tests/widgetset/client/DelegateWidget.java | 1 + 1 file changed, 1 insertion(+) diff --git a/uitest/src/com/vaadin/tests/widgetset/client/DelegateWidget.java b/uitest/src/com/vaadin/tests/widgetset/client/DelegateWidget.java index 0543bdf073..8b71e2bdec 100644 --- a/uitest/src/com/vaadin/tests/widgetset/client/DelegateWidget.java +++ b/uitest/src/com/vaadin/tests/widgetset/client/DelegateWidget.java @@ -41,6 +41,7 @@ public class DelegateWidget extends HTML { public void setValue4(double value4) { this.value4 = value4; + updateText(); } private void updateText() { -- cgit v1.2.3