patcon / google-voice-java

Automatically exported from code.google.com/p/google-voice-java
0 stars 0 forks source link

Group.listToJson does not work as javadoc implies #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run method with valid group list

What is the expected output? What do you see instead?

expected : 
"groups":{"testID":{"id":"testID","greetingId":0,"isCustomForwarding":false,"isC
ustomGreeting":false,"disabledForwardingIds":{},"name":"testName","isCustomDirec
tConnect":false,"directConnect":false},"testID1":{"id":"testID1","greetingId":0,
"isCustomForwarding":false,"isCustomGreeting":false,"disabledForwardingIds":{"3"
:true,"2":true},"name":"testName1","isCustomDirectConnect":false,"directConnect"
:false}}

actual : 
"groups":{{"id":"testID","greetingId":0,"isCustomForwarding":false,"isCustomGree
ting":false,"disabledForwardingIds":{},"name":"testName","isCustomDirectConnect"
:false,"directConnect":false},{"id":"testID1","greetingId":0,"isCustomForwarding
":false,"isCustomGreeting":false,"disabledForwardingIds":{"3":true,"2":true},"na
me":"testName1","isCustomDirectConnect":false,"directConnect":false}}

Original issue reported on code.google.com by Biodro...@gmail.com on 18 Apr 2012 at 10:27

GoogleCodeExporter commented 9 years ago
fixed

Original comment by Biodro...@gmail.com on 19 Apr 2012 at 4:13