PexCrossProductExplorableStrategyAttribute Klasse

Definition

Generiert eine Sequenz von Tests aus einem systematischen Kreuzprodukt von API-Aufrufen. Dies ist die Standardstrategie.

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
Vererbung
Attribute

Konstruktoren

PexCrossProductExplorableStrategyAttribute()

Erstellt eine auswertbare Produktstrategie, die für alle Typen gilt.

PexCrossProductExplorableStrategyAttribute(Type, String[])

Erstellt eine auswertbare Produktstrategie, die für eine Menge von (eventuell generischen) Typen gilt.

PexCrossProductExplorableStrategyAttribute(Type[])

Erstellt eine auswertbare Produktstrategie, die für eine Menge von (eventuell generischen) Typen gilt.

Eigenschaften

MaxLength

Ruft die größtmögliche Sequenzlänge ab oder legt diese fest.

Name

Ruft den Namen dieses Pakets ab.

(Geerbt von PexExplorationPackageAttributeBase)

Methoden

AfterExploration(IPexExplorationComponent, Object)

Rückruf, der ausgeführt wird, nachdem die Auswertung beendet wurde.

(Geerbt von PexExplorationPackageAttributeBase)
BeforeExploration(IPexExplorationComponent)

Rückruf, der ausgeführt wird, bevor die Auswertung beginnt.

(Geerbt von PexExplorableStrategyAttributeBase)
CanCreateSession(TypeEx)

Bestimmt, ob diese Instanz eine Sitzung des angegebenen Typs erstellen kann.

CreateSession(IPexExplorationComponent, TypeEx)

Erstellt eine neue Sitzung.

Decorate(Name, IPexDecoratedComponentElement)

Mit dieser Methode können Sie Filter, Fokus und Pakete für intellitest ankündigen.

(Geerbt von PexExplorationPackageAttributeBase)
Initialize(IPexExplorationEngine)

Initialisiert das angegebene Auswertungspaket. Kann mit Diensten interagieren.

(Geerbt von PexExplorationPackageAttributeBase)
Load(IContainer)

Diese Methode bietet die Möglichkeit, Dienste zu installieren oder zu ersetzen.

(Geerbt von PexExplorationPackageAttributeBase)
Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext)

Validiert das Attribut in einem bestimmten Sichtbarkeitskontext.

(Geerbt von PexComponentElementDecoratorAttributeBase)

Explizite Schnittstellenimplementierungen

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

Gilt für