PexCrossProductExplorableStrategyAttribute Класс

Определение

Создает последовательность теста на основе систематических перекрестных вызовов API. Это стратегия по умолчанию.

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
Наследование
Атрибуты

Конструкторы

PexCrossProductExplorableStrategyAttribute()

Создает просматриваемую стратегию перекрестных вызовов, которая применяется ко всем типам.

PexCrossProductExplorableStrategyAttribute(Type, String[])

Создает просматриваемую стратегию перекрестных вызовов, которая применяется к набору (возможно, универсальных) типов.

PexCrossProductExplorableStrategyAttribute(Type[])

Создает просматриваемую стратегию перекрестных вызовов, которая применяется к набору (возможно, универсальных) типов.

Свойства

MaxLength

Возвращает или задает максимальную длину последовательности.

Name

Возвращает имя этого пакета.

(Унаследовано от PexExplorationPackageAttributeBase)

Методы

AfterExploration(IPexExplorationComponent, Object)

Обратный вызов, который выполняется после завершения просмотра.

(Унаследовано от PexExplorationPackageAttributeBase)
BeforeExploration(IPexExplorationComponent)

Обратный вызов, который выполняется перед началом просмотра.

(Унаследовано от PexExplorableStrategyAttributeBase)
CanCreateSession(TypeEx)

Определяет, может ли этот экземпляр создать сеанс указанного типа.

CreateSession(IPexExplorationComponent, TypeEx)

Создает новый сеанс.

Decorate(Name, IPexDecoratedComponentElement)

Этот метод может объявлять фильтры, фокусирования и пакеты для IntelliTest.

(Унаследовано от PexExplorationPackageAttributeBase)
Initialize(IPexExplorationEngine)

Инициализирует указанный пакет просмотра. Может взаимодействовать со службами.

(Унаследовано от PexExplorationPackageAttributeBase)
Load(IContainer)

Этот метод предоставляет возможность установить или заменить службы.

(Унаследовано от PexExplorationPackageAttributeBase)
Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext)

Проверяет атрибут в конкретном контексте видимости.

(Унаследовано от PexComponentElementDecoratorAttributeBase)

Явные реализации интерфейса

IPexComponentElementDecorator.Decorate(Name, IPexDecoratedComponentElement) (Унаследовано от PexComponentElementDecoratorAttributeBase)
IPexExplorationPackage.AfterExploration(IPexExplorationComponent, Object) (Унаследовано от PexExplorationPackageAttributeBase)
IPexExplorationPackage.BeforeExploration(IPexExplorationComponent) (Унаследовано от PexExplorationPackageAttributeBase)
IPexExplorationPackage.Initialize(IPexExplorationEngine) (Унаследовано от PexExplorationPackageAttributeBase)
IPexExplorationPackage.Load(IContainer) (Унаследовано от PexExplorationPackageAttributeBase)
IPexValidatable.Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext) (Унаследовано от PexComponentElementDecoratorAttributeBase)

Применяется к