| ||||||||||||||||
rsSuiteOpenOpen an existing Reactis test suite file. Loads a test suite from a file. SyntaxRsTestSuite *rsSuiteOpen(RsHandle *h, const char *testSuiteFileName); Parameters
Return Value
Pointer to a RsTestSuite structure that can be run in a simulator
session. A NULL value is returned if file does not exist or cannot be read.
rsSuiteCloseClose a test suite file. Closes a test suite that was opened by rsSuiteOpen or created by rsTester. Syntaxvoid rsSuiteClose (RsTestSuite *suite); Parameters
Return Value
None.
rsSuiteSaveSave changes to a .rsi file. Saves a test suite. Syntaxint rsSuiteSave (RsTestSuite *suite, const char *filename); Parameters
Return Value
0 if saving failed, non-zero otherwise.
rsSuiteGetNumTestsGet number of tests in a test suite. Returns the number of tests in a test suite. Syntaxint rsSuiteGetNumTests (RsTestSuite *suite); Parameters
Return Value
Returns the number of tests in the test suite specified by the suite
parameter or -1 if an error occurred. In that case, you may call
rsGetLastError to retrieve the error message string.
rsSuiteGetTestNumStepsGet number of steps in test suite. Returns the number of steps for a test in a test suite. Syntaxint rsSuiteGetNumTestSteps (RsTestSuite *suite, int index); Parameters
Return Value
Returns the number of steps in the test specified by the index parameter in
the test suite specified by the suite parameter or -1 if an error
occurred. In that case, you may call rsGetLastError to retrieve the
error message string.
rsSuiteGetTestNameGet name of a test in test suite. Returns the name of a test in a test suite. Syntaxint rsSuiteGetTestName ( RsTestSuite *suite, int index, char *buffer, int bufferSize ); Parameters
Return ValueReturns -1 if an error occurred. In this case, you may call rsGetLastError to retrieve the error message string. Returns 0 on success.
Returns a value greater than 0 if either the buffer parameter is
NULL or the bufferSize was not sufficient to receive the complete
name. In that case, the value returned specifies the buffer size required to
store the complete name.
rsSuiteGetReactisVersionGet Reactis version of test suite. Returns the version of Reactis that created this test suite. Syntaxconst char *rsSuiteGetReactisVersion(RsTestSuite *suite); Parameters
Return Value
Pointer to an internal character buffer containing the Reactis version
string. For information on version string composition see appendix
C. NULL, if an error occurred while retrieving the version. In that
case, you may call rsGetLastError to retrieve the error message
string.
| ||||||||||||||||