[jboss-cvs] JBossCache/tests-50/functional/org/jboss/cache/pojo ...
Ben Wang
bwang at jboss.com
Tue Oct 31 09:21:04 EST 2006
User: bwang
Date: 06/10/31 09:21:04
Modified: tests-50/functional/org/jboss/cache/pojo
ReplicatedByteTest.java
Log:
upd
Revision Changes Path
1.3 +9 -0 JBossCache/tests-50/functional/org/jboss/cache/pojo/ReplicatedByteTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedByteTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/ReplicatedByteTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- ReplicatedByteTest.java 31 Oct 2006 11:07:17 -0000 1.2
+++ ReplicatedByteTest.java 31 Oct 2006 14:21:04 -0000 1.3
@@ -82,6 +82,15 @@
assertEquals("Name ", res.getName(), res1.getName());
assertEquals("byte ", res.getByte()[0], res1.getByte()[0]);
+
+ // field modification
+ by = 2;
+ b[0] = by;
+ res1.setByte(b);
+ assertEquals("Name ", res.getName(), res1.getName());
+
+ assertEquals("byte ", res.getByte()[0], res1.getByte()[0]);
+
}
public static Test suite() throws Exception
More information about the jboss-cvs-commits
mailing list