winIDEA SDK
isys::IConnectTest Struct Reference

Description

This struct defines flags used by isystem.connect API.

#include <i_ConnectTypes.h>

Public Types

enum  EEvaluateFlags {
  efVagueFloatEqual = 0x00000001 , efIgnoreLocalScope = 0x00000002 ,
  efUseRealTimeAccess = 0x00000004 , efModifyParameter = 0x00000008
}
 Flags for EvaluateExpression(). More...
 
enum  EStatusFlags {
  sfQueryTestCase = 0x00000001 , sfQueryStub = 0x00000002 ,
  sfTestCase = 0x00000003 , sfStub = 0x00000004 ,
  sfException = 0x00000005
}
 Defines the flags used in the GetStatus function. More...
 
enum  EState {
  stateOffline = 0x00000001 , stateInitialized = 0x00000002 ,
  stateRunning = 0x00000003 , stateEnded = 0x00000004 ,
  stateStub = 0x00000005 , stateUnexpectedStop = 0x00000006 ,
  stateAborted = 0x00000007 , statePaused = 0x00000008 ,
  statePersistentReady = 0x00000009 , stateSystemTest = 0x0000000a ,
  stateStop = 0x0000000b , stateException = 0x0000000c ,
  stateTimeOut = 0x0000000d
}
 Defines constants describing the state of the test manager. More...
 
enum  EStubState { stateStubNotActive = 0x00000001 , stateStubActive = 0x00000002 }
 Defines constants describing the stub states. More...
 
enum  ECreateVariableExFlags { cveRegularVariable = 0x0001 , cvePersistentVariable = 0x0002 }
 Defines the flags used in the CreateVariableEx function. More...
 
enum  EStubFlags { sfeAutoBreakpoints = 0 , sfeCustomBreakpoints = 0x0001 }
 Defines the flags used in the CreateStubEx function. More...
 

Member Enumeration Documentation

◆ ECreateVariableExFlags

Defines the flags used in the CreateVariableEx function.

Enumerator
cveRegularVariable 

The function will behave as CreateVariable.

cvePersistentVariable 

The variable created will be persistent across test cases.

To initialize persistent variables call the control function using the flag

◆ EEvaluateFlags

Flags for EvaluateExpression().

Enumerator
efVagueFloatEqual 

Floating point values are compared for equality with precision 10e-5.

efIgnoreLocalScope 

Ignore variables in local scope in evaluation.

efUseRealTimeAccess 

perform access using real-time access

efModifyParameter 

used in modify call when modifying a function parameter

◆ EState

Defines constants describing the state of the test manager.

Enumerator
stateOffline 

No test case is currently active.

stateInitialized 

The test case has been initialized.

stateRunning 

The test case is in progress.

stateEnded 

The test case finished execution.

stateStub 

The test case stopped at a stub.

stateUnexpectedStop 

The test case stopped at an unexpected point.

stateAborted 

The test case was aborted by the user.

statePaused 

The test case was paused by the user.

statePersistentReady 

Persistent variables initialized.

stateSystemTest 

The system test is ready to run.

stateStop 

System test is stopped.

stateException 

The test case is stopped in exception handler.

stateTimeOut 

TestCase timed out.

◆ EStatusFlags

Defines the flags used in the GetStatus function.

Enumerator
sfQueryTestCase 

On return *pdwStatus will hold the handle of the test case now active.

dwHandle is ignored and should be zero.

sfQueryStub 

On return *pdwStatus will hold the handle of the stub now active.

dwHandle is ignored and should be zero.

sfTestCase 

On return *pdwStatus will hold the status of the test case.

See also IConnectTest::EState for possible values. dwHandle specifies the test case to be queried.

sfStub 

On return *pdwStatus will hold the status of the stub.

See also IConnectTest::EStubState for possible values. dwHandle specifies the stub to be queried.

sfException 

On return *pdwStatus will hold the status of the exception.

dwHandle specifies the exception to be queried.

◆ EStubFlags

Defines the flags used in the CreateStubEx function.

Enumerator
sfeAutoBreakpoints 

Breakpoints are automatically set on stubbed function.

sfeCustomBreakpoints 

Client has to set break point on location of stubbed function manually.

◆ EStubState

Defines constants describing the stub states.

Enumerator
stateStubNotActive 

The stub is not active.

stateStubActive 

The stub is active.