Author: rwhitcomb
Date: Fri Oct  5 23:19:27 2012
New Revision: 1394858

URL: http://svn.apache.org/viewvc?rev=1394858&view=rev
Log:
Related to change for Pivot-875:  Change JSONSerializerTest to query
something besides the "count" because this will no longer retrieve
the actual Map object's "getCount" field.  So, do another field
that is in the "map.json" file.

Modified:
    pivot/trunk/core/test/org/apache/pivot/json/test/JSONSerializerTest.java

Modified: 
pivot/trunk/core/test/org/apache/pivot/json/test/JSONSerializerTest.java
URL: 
http://svn.apache.org/viewvc/pivot/trunk/core/test/org/apache/pivot/json/test/JSONSerializerTest.java?rev=1394858&r1=1394857&r2=1394858&view=diff
==============================================================================
--- pivot/trunk/core/test/org/apache/pivot/json/test/JSONSerializerTest.java 
(original)
+++ pivot/trunk/core/test/org/apache/pivot/json/test/JSONSerializerTest.java 
Fri Oct  5 23:19:27 2012
@@ -132,7 +132,7 @@ public class JSONSerializerTest {
 
         
jsonSerializer.getJSONSerializerListeners().add(jsonSerializerListener);
         Object o1 = 
jsonSerializer.readObject(getClass().getResourceAsStream("map.json"));
-        assertEquals(JSON.get(o1, "count"), 8);
+        assertEquals(JSON.get(o1, "e.g"), 5);
 
         
jsonSerializer.getJSONSerializerListeners().remove(jsonSerializerListener);
         Object o2 = 
jsonSerializer.readObject(getClass().getResourceAsStream("map.json"));


Reply via email to