You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2012/05/02 13:35:30 UTC

svn commit: r1333001 - /axis/axis2/java/core/trunk/modules/json/test/org/apache/axis2/json/JSONOMBuilderTest.java

Author: veithen
Date: Wed May  2 11:35:29 2012
New Revision: 1333001

URL: http://svn.apache.org/viewvc?rev=1333001&view=rev
Log:
If the tests are expected to test badgerfish, then they should use the corresponding message builder...

Modified:
    axis/axis2/java/core/trunk/modules/json/test/org/apache/axis2/json/JSONOMBuilderTest.java

Modified: axis/axis2/java/core/trunk/modules/json/test/org/apache/axis2/json/JSONOMBuilderTest.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/json/test/org/apache/axis2/json/JSONOMBuilderTest.java?rev=1333001&r1=1333000&r2=1333001&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/json/test/org/apache/axis2/json/JSONOMBuilderTest.java (original)
+++ axis/axis2/java/core/trunk/modules/json/test/org/apache/axis2/json/JSONOMBuilderTest.java Wed May  2 11:35:29 2012
@@ -63,7 +63,7 @@ public class JSONOMBuilderTest extends T
         ByteArrayInputStream inStream = new ByteArrayInputStream(jsonString.getBytes());
 
         MessageContext msgCtx = new MessageContext();
-        JSONOMBuilder omBuilder = new JSONOMBuilder();
+        Builder omBuilder = new JSONBadgerfishOMBuilder();
         OMElement elem = omBuilder.processDocument(inStream,
                 JSONTestConstants.CONTENT_TYPE_BADGERFISH, msgCtx);
 
@@ -91,7 +91,7 @@ public class JSONOMBuilderTest extends T
         ByteArrayInputStream inStream = new ByteArrayInputStream(jsonString.getBytes());
         MessageContext msgCtx = new MessageContext();
 
-        JSONOMBuilder omBuilder = new JSONOMBuilder();
+        Builder omBuilder = new JSONBadgerfishOMBuilder();
         OMElement elem = omBuilder.processDocument(inStream,
                 JSONTestConstants.CONTENT_TYPE_BADGERFISH, msgCtx);