openamf/src/java/org/openamf/io AMFSerializerTest.java,1.4,1.5

Sean Sullivan <[email protected]> Sat, 20 Mar 2004 08:37:38 +0000
Newsgroups gmane.comp.java.openamf.cvs
Message-ID <[email protected]>
Update of /cvsroot/openamf/openamf/src/java/org/openamf/io
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26025/src/java/org/openamf/io

Modified Files:
	AMFSerializerTest.java 
Log Message:
use DATA_TYPE_NUMBER


Index: AMFSerializerTest.java
===================================================================
RCS file: /cvsroot/openamf/openamf/src/java/org/openamf/io/AMFSerializerTest.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** AMFSerializerTest.java	6 Dec 2003 08:27:54 -0000	1.4
--- AMFSerializerTest.java	20 Mar 2004 08:37:36 -0000	1.5
***************
*** 82,85 ****
--- 82,93 ----
      
      message.addBody(bodyWithBoolean);
+ 
+     AMFBody bodyWithNumber = new AMFBody("someService.someMethod",
+     		"someResponse",
+ 			new Integer(387),
+ 			AMFBody.DATA_TYPE_NUMBER);
+     
+     message.addBody(bodyWithNumber);
+     
      
      AMFBody bodyWithXML = new AMFBody("someService.someMethod",



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click