Bluetooth Special Interest Group Inc. BTSIG15A Manual De Usuario

Descargar
Página de 162
Printed Documentation 
78 
  
The Project name is case sensitive and must match the name shown in the “TestCaseView” window of the 
PTS User Interface. 
  
  
  
pszTestCase: A Unicode character string that contains the name of a TestCase in the specified Project 
that is to be executed. 
  
  
  
The Test Case name is case sensitive and must match the name shown in the “TestCaseView” window of 
the PTS User Interface. 
  
  
Return 
values: 
A value greater than or equal to zero if successful. 
A value less than zero if not successful. For a list of error codes specific to the PTS Control API see 
API 
Error Codes
RunTestCase() executes the specified Test Case. The return value is the status of the RunTestCase() function call itself 
and not the final verdict from the Test Case. 
  
To get the final verdict of the Test Case, along with the other execution log information, a logging function must be 
connected to the PTS Control API. See 
Logging and unattended operation
 for more information. 
StopTestCase() 
Declaration: 
HRESULT StopTestCase(); 
  
  
Parameters: 
None. 
  
  
Return value: 
PTSCONTROL_E_FUNCTION_NOT_IMPLEMENTED 
  
  
StopTestCase() is not currently implemented and calls to it will always return the status code above. 
  
Working with ICS and IXIT data 
UpdateICS() 
Declaration: 
HRESULT UpdateICS(LPCWSTR pszProjectName, LPCWSTR pszEntryName, 
BOOL bValue); 
  
  
Parameters: 
pszProjectName: A Unicode character string that contains the name of a Project that is available in the 
current Workspace. 
  
  
  
The Project name is case sensitive and must match the name shown in the “TestCaseView” window of the 
PTS User Interface.