Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PexAssertReachEventuallyAttribute Class

 

This attribute is used in conjunction with ReachEventually to specify one or more goals that should be executed during exploration.

Namespace:   Microsoft.Pex.Framework
Assembly:  Microsoft.Pex.Framework (in Microsoft.Pex.Framework.dll)


[AttributeUsageAttribute(AttributeTargets::Assembly | AttributeTargets::Class | AttributeTargets::Method, 
	AllowMultiple = true)]
public ref class PexAssertReachEventuallyAttribute sealed : PexExplorationGoalAttributeBase

NameDescription
System_CAPS_pubmethodPexAssertReachEventuallyAttribute()

Identifies a method with one goal.

System_CAPS_pubmethodPexAssertReachEventuallyAttribute(Int32)

Identifies a method with one or more goals, which are identified by a series of integers, starting with zero and ending with count - 1.

System_CAPS_pubmethodPexAssertReachEventuallyAttribute(array<Int32>^)

Identifies a method with one or more goals, each identified by a specified integer.

System_CAPS_pubmethodPexAssertReachEventuallyAttribute(array<String^>^)

Identifies a method with one or more goals, each goal identified by a string identifier.

NameDescription
System_CAPS_pubpropertyName

Gets the name of this package.(Inherited from PexExplorationPackageAttributeBase.)

System_CAPS_pubpropertyStopWhenAllReached

A named parameter that specifies whether exploration should stop when all the goals have been reached.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object^)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

The attribute identifies methods that contain goals in the form of one or more ReachEventually calls. If the method contains multiple goals, each one must have a string or integer identifier that is unique within the method. Use the attribute's positional parameters to define the identifiers, and pass them to the appropriate ReachEventually call.

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

Return to top
Show: