[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/aop/test ...
Ben Wang
bwang at jboss.com
Mon Oct 30 23:14:21 EST 2006
User: bwang
Date: 06/10/30 23:14:21
Added: tests/functional/org/jboss/cache/aop/test Tag:
Branch_JBossCache_1_4_0 Resource.java
Log:
Test for sf case 12350 using byte[] for fields.
Revision Changes Path
No revision
No revision
1.1.2.1 +55 -0 JBossCache/tests/functional/org/jboss/cache/aop/test/Attic/Resource.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Resource.java
===================================================================
RCS file: Resource.java
diff -N Resource.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ Resource.java 31 Oct 2006 04:14:21 -0000 1.1.2.1
@@ -0,0 +1,55 @@
+/*
+ * JBoss, Home of Professional Open Source
+ *
+ * Distributable under LGPL license.
+ * See terms of license at gnu.org.
+ */
+
+package org.jboss.cache.aop.test;
+
+/**
+ *
+ * @version $Revision: 1.1.2.1 $
+ * @@org.jboss.cache.aop.AopMarker
+ */
+public class Resource
+{
+ String connection = null;
+ String name = null;
+ byte[] bin = null;
+
+ public String getName()
+ {
+ return name;
+ }
+
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+
+ public String getConnection()
+ {
+ return connection;
+ }
+
+ public void setConnection(String connection)
+ {
+ this.connection = connection;
+ }
+
+ public byte[] getByte()
+ {
+ return bin;
+ }
+
+ public void setByte(byte[] b)
+ {
+ bin = b;
+ }
+
+ public String toString()
+ {
+ return "name=" + getName() + ", type=" + getConnection() + " bytes= " +bin.toString();
+ }
+}
More information about the jboss-cvs-commits
mailing list