Share via


ObservationQueue Generic Class

Represents a thread-safe first-in, first-out observation queue for observed steps in the system under test. This class supports the testing infrastructure and is not intended to be used directly from your code.

Namespace: Microsoft.SpecExplorer.Runtime.Testing
Assembly: Microsoft.SpecExplorer.Runtime (in Microsoft.SpecExplorer.Runtime.dll)

Usage

'Usage

Syntax

'Declaration
public class ObservationQueue<T>

GenericParameters

  • T
    The type of elements in the observation queue.

Remarks

The test manager queues observed steps in the system under test, such as events and method returns. A generated test case consumes expected events and method returns.

Inheritance Hierarchy

System.Object
  Microsoft.SpecExplorer.Runtime.Testing.ObservationQueue

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP SP2 or later, Microsoft Windows Server 2008, Microsoft Windows Server 2003

See Also

Reference

ObservationQueue Members
Microsoft.SpecExplorer.Runtime.Testing Namespace
DefaultTestManager Class