tfTestUserExecute
Table of Contents >> Application Reference >> Treck Test Suite
#include <trsocket.h> |
int tfTestTreck | (ttUserTestHandlePtr testHandlePtr); |
Function Description
This function is called in non-blocking mode to execute an iteration of the current test using the test handle returned from tfTestTreck(). If tfTestUserExecute() returns TM_EWOULDBLOCK, the test has not yet completed; any other return value indicates that the test is complete and tfTestUserExecute() should not be called with this test handle again. This function should never be called in blocking mode.
Parameters
- testHandlePtr
- The pointer to a test handle as returned by tfTestTreck().
Returns
- TM_ENOERROR
- The current test has completed successfully.
- TM_EWOULDBLOCK
- The current test has not yet completed. The user should call tfTestUserExecute() again.
- TM_EINVAL
- Invalid session handle.
- TM_EIO
- Incoming data failed validation.
Table of Contents >> Application Reference >> Treck Test Suite