Author: ron.sigal(a)jboss.com
Date: 2008-08-10 19:16:13 -0400 (Sun, 10 Aug 2008)
New Revision: 4498
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/marshall/dynamic/remote/socket/SocketMarshallerLoadingTestCase.java
Log:
JBREM-302, JBREM-1023: Sets "serializationtype" on command line.
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/marshall/dynamic/remote/socket/SocketMarshallerLoadingTestCase.java
===================================================================
---
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/marshall/dynamic/remote/socket/SocketMarshallerLoadingTestCase.java 2008-08-10
23:15:19 UTC (rev 4497)
+++
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/marshall/dynamic/remote/socket/SocketMarshallerLoadingTestCase.java 2008-08-10
23:16:13 UTC (rev 4498)
@@ -71,4 +71,27 @@
1,
MarshallerLoadingServer.class.getName());
}
+
+ protected String getClientJVMArguments()
+ {
+ return getJVMArguments();
+ }
+
+ protected String getServerJVMArguments()
+ {
+ return getJVMArguments();
+ }
+
+ protected String getJVMArguments()
+ {
+ String vmArgs = "";
+
+ String metadata = System.getProperty("remoting.metadata");
+ if(metadata != null && metadata.length() > 0)
+ {
+ vmArgs = "-Dremoting.metadata=" + metadata;
+ }
+
+ return vmArgs;
+ }
}
\ No newline at end of file
Show replies by date