Share via


PexRandomExplorableStrategyAttribute Class

Definition

Generates random sequences of mutators within bounds.

public ref class PexRandomExplorableStrategyAttribute sealed : Microsoft::Pex::Framework::Explorable::PexExplorableStrategyAttributeBase
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false)]
public sealed class PexRandomExplorableStrategyAttribute : Microsoft.Pex.Framework.Explorable.PexExplorableStrategyAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false)>]
type PexRandomExplorableStrategyAttribute = class
    inherit PexExplorableStrategyAttributeBase
Public NotInheritable Class PexRandomExplorableStrategyAttribute
Inherits PexExplorableStrategyAttributeBase
Inheritance
Attributes

Constructors

PexRandomExplorableStrategyAttribute()

Creates a random explorable strategy that applies to all types.

PexRandomExplorableStrategyAttribute(Type, String[])

Creates a random explorable strategy that applies to a set of (possibly generic) types.

PexRandomExplorableStrategyAttribute(Type[])

Creates a random explorable strategy that applies to a set of (possibly generic) types.

Properties

Count

Gets or sets the maximum sequence length.

MaxLength

Gets or sets the maximum sequence length.

Name

Gets the name of this package.

(Inherited from PexExplorationPackageAttributeBase)

Methods

AfterExploration(IPexExplorationComponent, Object)

Callback that is executed after the exploration ends.

(Inherited from PexExplorationPackageAttributeBase)
BeforeExploration(IPexExplorationComponent)

Callback that is executed before the exploration starts.

(Inherited from PexExplorableStrategyAttributeBase)
CanCreateSession(TypeEx)

Determines whether this instance can create a session of the specified type.

CreateSession(IPexExplorationComponent, TypeEx)

Creates a new session.

Decorate(Name, IPexDecoratedComponentElement)

This method can announce filters, focuses, and packages to IntelliTest.

(Inherited from PexExplorationPackageAttributeBase)
Initialize(IPexExplorationEngine)

Initializes the specified exploration package. May interact with services.

(Inherited from PexExplorationPackageAttributeBase)
Load(IContainer)

This method provides the opportunity install or substitute services.

(Inherited from PexExplorationPackageAttributeBase)
Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext)

Validates the attribute in a particular visibility context.

(Inherited from PexComponentElementDecoratorAttributeBase)

Explicit Interface Implementations

IPexComponentElementDecorator.Decorate(Name, IPexDecoratedComponentElement) (Inherited from PexComponentElementDecoratorAttributeBase)
IPexExplorationPackage.AfterExploration(IPexExplorationComponent, Object) (Inherited from PexExplorationPackageAttributeBase)
IPexExplorationPackage.BeforeExploration(IPexExplorationComponent) (Inherited from PexExplorationPackageAttributeBase)
IPexExplorationPackage.Initialize(IPexExplorationEngine) (Inherited from PexExplorationPackageAttributeBase)
IPexExplorationPackage.Load(IContainer) (Inherited from PexExplorationPackageAttributeBase)
IPexValidatable.Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext) (Inherited from PexComponentElementDecoratorAttributeBase)

Applies to