The concurrency tester for integration tests and unit tests.

The following tables list the members exposed by the ConcurrencyTester type.

Public Constructors

 

Name

Description

Public constructor

ConcurrencyTester

Initializes a new instance of the ConcurrencyTester class.

Top

Public Properties

 

Name

Description

Public property

DefaultTimeout

Gets or sets the default timeout for several wait commands when no timeout is specified

Public property

DefaultTimeoutWithDebugger

Gets or sets the default timeout for several wait commands when a debugger is attached.

Public property

DumpBlockingStateInterval

Gets or sets the interval where to dump the blocking state.

Public property

Events

The Events collection can be simply accessed to get an Event. The corresponding event is automatically created.

Public property

ExecutionPaths

 

Public property

Marks

The marks collection can be simply accessed to get an Mark. The corresponding mark is automatically created.

Top

Public Methods

 

Name

Description

Public method

Dispose

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Public method

DumpBlockingState

Dumps the blocking state of the ExecutionPaths.

Public method

Equals

(Overloaded) Determines whether the specified Object is equal to the current Object. (inherited from Object).

Public method

GetHashCode

Serves as a hash function for a particular type. (inherited from Object).

Public method

GetType

(Overloaded) Gets the Type of the current instance. (inherited from Object).

Public method Static

ReferenceEquals

Determines whether the specified Object instances are the same instance. (inherited from Object).

Public method

ResetToDefaults

Resets the timeout and interval properties to its default values.

Public method

Start

Starts an execution path with the specified action.

Public method

ToString

Returns a string that represents the current object. (inherited from Object).

Public method

WaitAllEvents

Waits for all events.

Public method

WaitAnyEvent

Waits for any event.

Public method

WaitForTestEnd

(Overloaded) Waits for test end.

Top

Protected Methods

 

Name

Description

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (inherited from Object).

Protected method

OnDispose

 

Top

Fields

 

Name

Description

Public field Static

WaitPollIntervall

 

Top

See Also