WebSphere:*,type=CRRemoteTestProxy
MBean CRRemoteTestProxy
remotely executes a junit testcase
Operation Summary | |
void | startCapture() start capture of systemout and systemerr |
void | runTest( executes the test |
void | stopCapture() stop capture of systemout and systemerr |
java.lang.Object | executeStaticMethod( executes a static method |
java.lang.String | getSystemOut() retrieves systemout output |
java.lang.String | getSystemErr() retrieves systemerr output |
java.lang.String | transferFile( transfers the given file to the remote system |
java.lang.String | transferFile( transfers the given file to the remote system |
java.lang.String | remoteExec( remote execs the given command array |
java.lang.Object[] | getRemoteExecResults( gets the results of remote execution |
java.lang.String | getProperty( retrieves the named system property |
Operation Detail |
public void startCapture()
public void runTest(java.lang.String className,
java.lang.String testName
)
className
-
testName
-
public void stopCapture()
public java.lang.Object executeStaticMethod(java.lang.Class targetClass,
java.lang.String methodName,
java.lang.Class[] argTypes,
java.lang.Object[] args
)
targetClass
-
methodName
-
argTypes
-
args
-
public java.lang.String getSystemOut()
public java.lang.String getSystemErr()
public java.lang.String transferFile(java.lang.String fileName,
[B fileBytes
)
fileName
-
fileBytes
-
public java.lang.String transferFile(java.lang.String fileName,
[B fileBytes,
boolean append
)
fileName
-
fileBytes
-
append
-
public java.lang.String remoteExec(java.lang.String[] cmdArray
)
cmdArray
-
public java.lang.Object[] getRemoteExecResults(java.lang.String pid
)
pid
-
public java.lang.String getProperty(java.lang.String propertyName
)
propertyName
-