Rational QualityArchitect/Java API
Version 1.0

com.rational.test.ct
Class TestInfo

java.lang.Object
  |
  +--com.rational.test.ct.TestInfo

public class TestInfo
extends java.lang.Object

For internal use only.


Field Summary
static long CPP
           
static long JAVA
           
static long VB
           
 
Constructor Summary
TestInfo()
          For internal use only.
 
Method Summary
static java.lang.String getCurrentScriptName()
          For internal use only.
static java.lang.String getRelativeBaselineVPPath()
          For internal use only.
static java.lang.String getRepositoryPath()
          For internal use only.
static java.lang.String getRQADataDirectory()
          This method is used to retrieve the RQA data directory from the System Registry.
static java.lang.String getRQAInstallDirectory()
          For internal use only.
static java.lang.String[] getScriptFileArray(long lLanguage, java.lang.String scriptDir)
          This method is used to retrieve the array of script file names for the specified script type, lLanguage, from the subdirectory, scriptDir, within the test script datastore.
static java.lang.String getScriptSourcePath(long language)
          For internal use only.
static java.lang.String getScriptSourceUID(long lLanguage)
          For internal use only.
static java.lang.String getVPClassName(long nLanguage, java.lang.String sVPType)
          For internal use only.
static java.lang.String getVPFolderPath()
          For internal use only.
static java.lang.String[] getVPTypes(long nLanguage)
          For internal use only.
static void initializeStub()
          For internal use only.
static boolean logInToTestRepository()
          For internal use only.
static void putSilent(boolean bSilent)
          This method is used to set the silent mode for the CDataStore object.
static boolean storeScript(java.lang.String sName, java.lang.String sDirectory, long nLanguage, java.lang.String sData)
          For internal use only.
static boolean storeScriptFromFile(java.lang.String sName, java.lang.String sDirectory, long nLanguage, java.lang.String sData)
          For internal use only.
static boolean writeLogFromStub(java.lang.String message, short result, java.lang.String description)
          For internal use only.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAVA

public static final long JAVA

VB

public static final long VB

CPP

public static final long CPP
Constructor Detail

TestInfo

public TestInfo()
For internal use only.
Method Detail

getCurrentScriptName

public static java.lang.String getCurrentScriptName()
                                             throws java.lang.Exception
For internal use only.

getRelativeBaselineVPPath

public static java.lang.String getRelativeBaselineVPPath()
                                                  throws java.lang.Exception
For internal use only.

getRepositoryPath

public static java.lang.String getRepositoryPath()
                                          throws java.lang.Exception
For internal use only.

getRQAInstallDirectory

public static java.lang.String getRQAInstallDirectory()
                                               throws java.lang.Exception
For internal use only.

getRQADataDirectory

public static java.lang.String getRQADataDirectory()
                                            throws java.lang.Exception

This method is used to retrieve the RQA data directory from the System Registry.

Returns:
String the path to the RQA data directory that is found in the System Registry
Throws:
java.lang.Exception -  

getScriptFileArray

public static java.lang.String[] getScriptFileArray(long lLanguage,
                                                    java.lang.String scriptDir)
                                             throws java.lang.Exception

This method is used to retrieve the array of script file names for the specified script type, lLanguage, from the subdirectory, scriptDir, within the test script datastore. The returned array will contain the script file names for every file within the specified script directory.

Parameters:
lLanguage - the type of test script to look for
scriptDir - the subdirectory of the script files within the script source directory in the datastore
Returns:
String[] the array that contains the retrieved script file names
Throws:
java.lang.Exception -  

getScriptSourcePath

public static java.lang.String getScriptSourcePath(long language)
                                            throws java.lang.Exception
For internal use only.

getScriptSourceUID

public static java.lang.String getScriptSourceUID(long lLanguage)
                                           throws java.lang.Exception
For internal use only.

getVPClassName

public static java.lang.String getVPClassName(long nLanguage,
                                              java.lang.String sVPType)
                                       throws java.lang.Exception
For internal use only.

getVPFolderPath

public static java.lang.String getVPFolderPath()
                                        throws java.lang.Exception
For internal use only.

getVPTypes

public static java.lang.String[] getVPTypes(long nLanguage)
                                     throws java.lang.Exception
For internal use only.

initializeStub

public static final void initializeStub()
For internal use only.

logInToTestRepository

public static boolean logInToTestRepository()
                                     throws java.lang.Exception
For internal use only.

putSilent

public static final void putSilent(boolean bSilent)
                            throws java.lang.Exception

This method is used to set the silent mode for the CDataStore object. If the silent mode is set to true, no overwrite dialogs will be displayed. By default, silent mode is off.

Parameters:
bSilent - indicates to turn on or off silent mode
Throws:
java.lang.Exception -  

storeScript

public static boolean storeScript(java.lang.String sName,
                                  java.lang.String sDirectory,
                                  long nLanguage,
                                  java.lang.String sData)
                           throws java.lang.Exception
For internal use only.

storeScriptFromFile

public static boolean storeScriptFromFile(java.lang.String sName,
                                          java.lang.String sDirectory,
                                          long nLanguage,
                                          java.lang.String sData)
                                   throws java.lang.Exception
For internal use only.

writeLogFromStub

public static boolean writeLogFromStub(java.lang.String message,
                                       short result,
                                       java.lang.String description)
For internal use only.

30-Jun-2003

Rational QualityArchitect/Java Support Home Page
Copyright (c) 2000, Rational Software Corporation