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