diff options
author | John Ahlroos <john@vaadin.com> | 2012-08-31 13:16:56 +0300 |
---|---|---|
committer | John Ahlroos <john@vaadin.com> | 2012-08-31 13:16:56 +0300 |
commit | 0a1519be5ebdbbb5a666f5a3bba871dd3d779201 (patch) | |
tree | 57d12ac7b3841ba7de22fe60c4f87465273b792d /server/tests | |
parent | 2f50bb8f0eeacd72b1434aec729f2dc1530da902 (diff) | |
parent | dac974af9bc73491d8818581821a2c99458f71a2 (diff) | |
download | vaadin-framework-0a1519be5ebdbbb5a666f5a3bba871dd3d779201.tar.gz vaadin-framework-0a1519be5ebdbbb5a666f5a3bba871dd3d779201.zip |
Merge branch 'no-getters'
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/src/com/vaadin/server/JSONSerializerTest.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/server/tests/src/com/vaadin/server/JSONSerializerTest.java b/server/tests/src/com/vaadin/server/JSONSerializerTest.java index 05139e6f1a..fc02c13781 100644 --- a/server/tests/src/com/vaadin/server/JSONSerializerTest.java +++ b/server/tests/src/com/vaadin/server/JSONSerializerTest.java @@ -42,10 +42,10 @@ public class JSONSerializerTest extends TestCase { stringToStateMap = new HashMap<String, AbstractSplitPanelState>(); AbstractSplitPanelState s = new AbstractSplitPanelState(); AbstractSplitPanelState s2 = new AbstractSplitPanelState(); - s.setCaption("State 1"); - s.setId("foo"); - s2.setCaption("State 2"); - s2.setId("bar"); + s.caption = "State 1"; + s.id = "foo"; + s2.caption = "State 2"; + s2.id = "bar"; stringToStateMap.put("string - state 1", s); stringToStateMap.put("String - state 2", s2); @@ -61,8 +61,8 @@ public class JSONSerializerTest extends TestCase { stateToStringMap = new HashMap<AbstractSplitPanelState, String>(); AbstractSplitPanelState s = new AbstractSplitPanelState(); AbstractSplitPanelState s2 = new AbstractSplitPanelState(); - s.setCaption("State 1"); - s2.setCaption("State 2"); + s.caption = "State 1"; + s2.caption = "State 2"; stateToStringMap.put(s, "string - state 1"); stateToStringMap.put(s2, "String - state 2"); |