[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/marshall ...
Manik Surtani
msurtani at jboss.com
Wed Sep 13 07:42:42 EDT 2006
User: msurtani
Date: 06/09/13 07:42:42
Modified: tests/functional/org/jboss/cache/marshall
RegionBasedMarshallingTestBase.java
SyncReplTest.java
Log:
cleanup
Revision Changes Path
1.2 +10 -0 JBossCache/tests/functional/org/jboss/cache/marshall/RegionBasedMarshallingTestBase.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: RegionBasedMarshallingTestBase.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/marshall/RegionBasedMarshallingTestBase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- RegionBasedMarshallingTestBase.java 5 Sep 2006 12:30:26 -0000 1.1
+++ RegionBasedMarshallingTestBase.java 13 Sep 2006 11:42:42 -0000 1.2
@@ -6,4 +6,14 @@
{
protected static final String ADDRESS_CLASSNAME = "org.jboss.cache.marshall.data.Address";
protected static final String PERSON_CLASSNAME = "org.jboss.cache.marshall.data.Person";
+
+ protected ClassLoader getClassLoader() throws Exception
+ {
+ String[] includesClasses = {PERSON_CLASSNAME, ADDRESS_CLASSNAME};
+ String [] excludesClasses = {};
+ ClassLoader cl = Thread.currentThread().getContextClassLoader();
+ return new SelectedClassnameClassLoader(includesClasses, excludesClasses, cl);
+ }
+
+
}
1.11 +1 -10 JBossCache/tests/functional/org/jboss/cache/marshall/SyncReplTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SyncReplTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/marshall/SyncReplTest.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- SyncReplTest.java 6 Sep 2006 15:30:58 -0000 1.10
+++ SyncReplTest.java 13 Sep 2006 11:42:42 -0000 1.11
@@ -29,7 +29,7 @@
* Test case for marshalling using Sync mode.
*
* @author Ben Wang
- * @version $Revision: 1.10 $
+ * @version $Revision: 1.11 $
*/
public class SyncReplTest extends RegionBasedMarshallingTestBase
{
@@ -341,15 +341,6 @@
return mgr.getTransaction();
}
- protected ClassLoader getClassLoader() throws Exception
- {
- String[] includesClasses = {PERSON_CLASSNAME,
- "org.jboss.cache.marshall.Address"};
- String [] excludesClasses = {};
- ClassLoader cl = Thread.currentThread().getContextClassLoader();
- return new SelectedClassnameClassLoader(includesClasses, excludesClasses, cl);
- }
-
void log(String msg)
{
System.out.println("-- [" + Thread.currentThread() + "]: " + msg);
More information about the jboss-cvs-commits
mailing list