Compartir a través de


PexObserve.NewTest Method

Definition

Overloads

NewTest()

Initializes a new test containing observed values.

NewTest(NamedValues, PexObservedValues)

Initializes a new test containing observed values.

NewTest()

Initializes a new test containing observed values.

public:
 static Microsoft::Pex::Framework::Generated::IPexObserveContext ^ NewTest();
public static Microsoft.Pex.Framework.Generated.IPexObserveContext NewTest ();
static member NewTest : unit -> Microsoft.Pex.Framework.Generated.IPexObserveContext
Public Shared Function NewTest () As IPexObserveContext

Returns

Returns an IPexObserveContext interface.

Applies to

NewTest(NamedValues, PexObservedValues)

Initializes a new test containing observed values.

public:
 static Microsoft::Pex::Framework::Generated::IPexObserveContext ^ NewTest(Microsoft::ExtendedReflection::Feedback::NamedValues ^ generatedValues, Microsoft::Pex::Engine::GeneratedValues::PexObservedValues ^ observedValues);
public static Microsoft.Pex.Framework.Generated.IPexObserveContext NewTest (Microsoft.ExtendedReflection.Feedback.NamedValues generatedValues, Microsoft.Pex.Engine.GeneratedValues.PexObservedValues observedValues);
static member NewTest : Microsoft.ExtendedReflection.Feedback.NamedValues * Microsoft.Pex.Engine.GeneratedValues.PexObservedValues -> Microsoft.Pex.Framework.Generated.IPexObserveContext
Public Shared Function NewTest (generatedValues As NamedValues, observedValues As PexObservedValues) As IPexObserveContext

Parameters

generatedValues
Microsoft.ExtendedReflection.Feedback.NamedValues

The generated values.

observedValues
Microsoft.Pex.Engine.GeneratedValues.PexObservedValues

The observed values.

Returns

Returns an IPexObserveContext interface.

Applies to