CVS: Tapestry/junit/src/net/sf/tapestry/junit/mock/c6 Four.java,1.1.2.1,1.1.2.2

Howard Lewis Ship <[email protected]>
Newsgroups gmane.comp.java.tapestry.cvs
Message-ID <[email protected]>
Update of /cvsroot/tapestry/Tapestry/junit/src/net/sf/tapestry/junit/mock/c6
In directory sc8-pr-cvs1:/tmp/cvs-serv9660/junit/src/net/sf/tapestry/junit/mock/c6

Modified Files:
      Tag: hship-2-3
	Four.java 
Log Message:
Add test case for persistent page property of type int.

Index: Four.java
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/junit/src/net/sf/tapestry/junit/mock/c6/Attic/Four.java,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** Four.java	30 Dec 2002 03:04:59 -0000	1.1.2.1
--- Four.java	31 Dec 2002 12:22:16 -0000	1.1.2.2
***************
*** 22,25 ****
--- 22,26 ----
      private double _doubleValue;
      private char _charValue;
+     private int _intValue;
      
      public void initialize()
***************
*** 32,35 ****
--- 33,37 ----
        _doubleValue = 0;
        _charValue = ' ';
+       _intValue = 0;
      }   
      
***************
*** 115,118 ****
--- 117,121 ----
          setShortValue((short)127);
          setByteValue((byte)27);
+         setIntValue(23);
      }
  
***************
*** 127,130 ****
--- 130,145 ----
          
          fireObservedChange("byteValue", byteValue);
+     }
+ 
+     public int getIntValue()
+     {
+         return _intValue;
+     }
+ 
+     public void setIntValue(int intValue)
+     {
+         _intValue = intValue;
+         
+         fireObservedChange("intValue", intValue);
      }
  



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.