com.rational.test.ft.services
Class TSSProvider
java.lang.Object
com.rational.test.ft.services.TSSProvider
- Direct Known Subclasses:
- TSSRemoteProvider
public class TSSProvider
- extends java.lang.Object
|
Constructor Summary |
TSSProvider(java.lang.ClassLoader classLoader)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debug
protected com.rational.test.ft.util.FtDebug debug
tssSessionClass
protected java.lang.Class<?> tssSessionClass
tssUtilityClass
protected java.lang.Class<?> tssUtilityClass
tssStandaloneClass
protected java.lang.Class<?> tssStandaloneClass
tssIntegerClass
protected java.lang.Class<?> tssIntegerClass
tssLogClass
protected java.lang.Class<?> tssLogClass
tssInternalClass
protected java.lang.Class<?> tssInternalClass
tssNamedValueClass
protected java.lang.Class<?> tssNamedValueClass
arrayOfTSSNamedValues
protected java.lang.Class<?> arrayOfTSSNamedValues
tssMeasureClass
protected java.lang.Class<?> tssMeasureClass
tssConstantsClass
protected java.lang.Class<?> tssConstantsClass
TSSProvider
public TSSProvider(java.lang.ClassLoader classLoader)
throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
setStandalone
public void setStandalone(boolean standalone)
throws java.lang.Throwable
- Script playback is said standalone if it is not started from TestManager
- Throws:
java.lang.Throwable
getStandalone
public boolean getStandalone()
throws java.lang.Throwable
- Throws:
java.lang.Throwable
serverStart
public int serverStart(int[] port)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
serverStop
public int serverStop(int port)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
connect
public int connect(java.lang.String host,
int port,
int id)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
shutdown
public int shutdown()
throws java.lang.Throwable
- Throws:
java.lang.Throwable
disconnect
public int disconnect()
throws java.lang.Throwable
- Disconnect from TSS.
Returns true if successful, false if not.
- Throws:
java.lang.Throwable
download
public int download(java.lang.String[] fileList)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
getPathFromTSS
public java.lang.String getPathFromTSS(long pathKey)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
logGenericEvent
public int logGenericEvent(short eventCategory,
short eventType,
short result,
short reason,
java.lang.String description,
java.lang.Object namedValueProperties)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
getTSSInternalConstant
public short getTSSInternalConstant(java.lang.String name)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
getTSSInternalStringConstant
public java.lang.String getTSSInternalStringConstant(java.lang.String name)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
getTSSConstant
public int getTSSConstant(java.lang.String name)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
newNamedValueArrayInstance
public java.lang.Object newNamedValueArrayInstance(int size)
newNamedValueInstance
public java.lang.Object newNamedValueInstance(java.lang.String name,
java.lang.String value)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
timerStart
public void timerStart(java.lang.String label)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
timerStop
public void timerStop(java.lang.String label)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
context
public int context(int key,
java.lang.String value)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
getTSSSharedVarValue
public int getTSSSharedVarValue(java.lang.String var)
throws java.lang.Throwable
- Throws:
java.lang.Throwable