PexCrossProductExplorableStrategyAttribute 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 a sequence of test from a systematic cross-product of api calls. This is the default strategy.
public ref class PexCrossProductExplorableStrategyAttribute sealed : Microsoft::Pex::Framework::Explorable::PexExplorableStrategyAttributeBase
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)]
public sealed class PexCrossProductExplorableStrategyAttribute : Microsoft.Pex.Framework.Explorable.PexExplorableStrategyAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)>]
type PexCrossProductExplorableStrategyAttribute = class
inherit PexExplorableStrategyAttributeBase
Public NotInheritable Class PexCrossProductExplorableStrategyAttribute
Inherits PexExplorableStrategyAttributeBase
- Inheritance
-
PexCrossProductExplorableStrategyAttribute
- Attributes
Constructors
PexCrossProductExplorableStrategyAttribute() |
Creates a product explorable strategy that applies to all types. |
PexCrossProductExplorableStrategyAttribute(Type, String[]) |
Creates a product explorable strategy that applies to a set of (possibly generic) types. |
PexCrossProductExplorableStrategyAttribute(Type[]) |
Creates a product explorable strategy that applies to a set of (possibly generic) types. |
Properties
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) |