PexExpectedTestsAttribute Класс

Определение

Атрибут для указания ожидаемого количества тестов

public ref class PexExpectedTestsAttribute sealed : Microsoft::Pex::Framework::Goals::PexExplorationGoalAttributeBase
[__DoNotInstrument]
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)]
public sealed class PexExpectedTestsAttribute : Microsoft.Pex.Framework.Goals.PexExplorationGoalAttributeBase
[<__DoNotInstrument>]
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)>]
type PexExpectedTestsAttribute = class
    inherit PexExplorationGoalAttributeBase
Public NotInheritable Class PexExpectedTestsAttribute
Inherits PexExplorationGoalAttributeBase
Наследование
Атрибуты
__DoNotInstrumentAttribute AttributeUsageAttribute

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

PexExpectedTestsAttribute()

Свойства

DuplicateCount

Возвращает или задает число дубликатов.

FailureCount

Возвращает или задает число сбоев.

InconclusiveCount

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

Name

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

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

Возвращает или задает число новых объектов.

RequiresSymbols

Указывает, зависит ли этот компонент от символов.

TotalCount

Возвращает или задает общее число.

TotalMinimumCount

Возвращает или задает общее минимальное число.

Методы

AfterExploration(IPexExplorationComponent, Object)

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

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

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

(Унаследовано от PexExplorationGoalAttributeBase)
Decorate(Name, IPexDecoratedComponentElement)

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

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

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

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

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

(Унаследовано от PexExplorationGoalAttributeBase)
TryCreateExplorationGoal(IPexExplorationComponent, IPexExplorationGoal)

Пытается создать экземпляр цели просмотра.

(Унаследовано от PexExplorationGoalAttributeBase)
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)

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