PexRandomExplorableStrategyAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
-
PexRandomExplorableStrategyAttribute
- 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) |