openamf/src/java/org/openamf/io AMFSerializerTest.java,1.9,1.10
Sean Sullivan <[email protected]> Mon, 21 Jun 2004 05:20:13 +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-serv31507/src/java/org/openamf/io
Modified Files:
AMFSerializerTest.java
Log Message:
added: Double and Character body parts
Index: AMFSerializerTest.java
===================================================================
RCS file: /cvsroot/openamf/openamf/src/java/org/openamf/io/AMFSerializerTest.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** AMFSerializerTest.java 10 Jun 2004 00:55:28 -0000 1.9
--- AMFSerializerTest.java 21 Jun 2004 05:20:11 -0000 1.10
***************
*** 119,128 ****
message.addBody(bodyWithBoolean);
! AMFBody bodyWithNumber = new AMFBody("someService.someMethod",
"someResponse",
new Integer(387),
AMFBody.DATA_TYPE_NUMBER);
! message.addBody(bodyWithNumber);
AMFBody bodyWithObject = new AMFBody("someService.someMethod",
--- 119,142 ----
message.addBody(bodyWithBoolean);
! AMFBody bodyWithCharacter = new AMFBody("someService.someMethod",
! "someResponse",
! new Character('v'),
! AMFBody.DATA_TYPE_STRING);
!
! message.addBody(bodyWithCharacter);
!
! AMFBody bodyWithIntegerNumber = new AMFBody("someService.someMethod",
"someResponse",
new Integer(387),
AMFBody.DATA_TYPE_NUMBER);
! message.addBody(bodyWithIntegerNumber);
!
! AMFBody bodyWithDoubleNumber = new AMFBody("someService.someMethod",
! "someResponse",
! new Double(387.582),
! AMFBody.DATA_TYPE_NUMBER);
!
! message.addBody(bodyWithDoubleNumber);
AMFBody bodyWithObject = new AMFBody("someService.someMethod",
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND