diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-12-18 07:52:41 +0000 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2012-12-18 07:52:41 +0000 |
commit | 9e970eeb721307cd27f923bb8950a4835ca46857 (patch) | |
tree | 01b0b5f0e363af1d259749e6468fc0d5666c5d5f /server/tests | |
parent | 1617dbc9298826d112309aa6accc29bdcf64423b (diff) | |
parent | 54c6ce1d5247b9399367d6fe814ca3266182a47e (diff) | |
download | vaadin-framework-9e970eeb721307cd27f923bb8950a4835ca46857.tar.gz vaadin-framework-9e970eeb721307cd27f923bb8950a4835ca46857.zip |
Merge changes Icf4a4410,I8bbf8f69
* changes:
Register connector to avoid test failures
Only update value on locale change if using the data source directly (#8192)
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/src/com/vaadin/tests/server/TestStreamVariableMapping.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/tests/src/com/vaadin/tests/server/TestStreamVariableMapping.java b/server/tests/src/com/vaadin/tests/server/TestStreamVariableMapping.java index 250fa3f771..467a76dfa6 100644 --- a/server/tests/src/com/vaadin/tests/server/TestStreamVariableMapping.java +++ b/server/tests/src/com/vaadin/tests/server/TestStreamVariableMapping.java @@ -48,6 +48,7 @@ public class TestStreamVariableMapping extends TestCase { } public void testAddStreamVariable() { + owner.getUI().getConnectorTracker().registerConnector(owner); String targetUrl = cm.getStreamVariableTargetUrl(owner, variableName, streamVariable); assertTrue(targetUrl.startsWith("app://APP/UPLOAD/-1/" @@ -61,6 +62,7 @@ public class TestStreamVariableMapping extends TestCase { public void testRemoveVariable() { ConnectorTracker tracker = owner.getUI().getConnectorTracker(); + tracker.registerConnector(owner); cm.getStreamVariableTargetUrl(owner, variableName, streamVariable); assertNotNull(tracker.getStreamVariable(owner.getConnectorId(), variableName)); |