openamf/src/java/org/openamf/io AMFSerializerTest.java,1.6,1.7

Sean Sullivan <[email protected]> Thu, 01 Apr 2004 04:26:06 +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-serv15418/src/java/org/openamf/io

Modified Files:
	AMFSerializerTest.java 
Log Message:
use org.openamf.test.Foo

Index: AMFSerializerTest.java
===================================================================
RCS file: /cvsroot/openamf/openamf/src/java/org/openamf/io/AMFSerializerTest.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** AMFSerializerTest.java	20 Mar 2004 09:30:43 -0000	1.6
--- AMFSerializerTest.java	1 Apr 2004 04:26:04 -0000	1.7
***************
*** 95,99 ****
      AMFBody bodyWithObject = new AMFBody("someService.someMethod",
      		"someResponse",
! 			new Foo(),
  			AMFBody.DATA_TYPE_OBJECT);
      
--- 95,99 ----
      AMFBody bodyWithObject = new AMFBody("someService.someMethod",
      		"someResponse",
! 			new org.openamf.test.Foo(),
  			AMFBody.DATA_TYPE_OBJECT);
      
***************
*** 124,158 ****
    }
    
-   public static class Foo
-   {
-   	private String name;
-   	private Date d;
-   	private int i;
-   	
-   	
-   	public Foo()
- 	{
-   		name = "James";
-   		d = new java.util.Date();
-   		i = 592;
-   	}
-   
-   	public String getName()
-   	{
-   		return name;
-   	}
-   	
-   	public Date getDateValue()
- 	{
-   		return d;
-   	}
-   	
-   	public int getIntValue()
- 	{
-   		return i;
-   	}
-   
-   	
-   }
   
    
--- 124,127 ----



-------------------------------------------------------
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