PexExpectedTestsAttribute Classe

Definição

Atributo para especificar os números de testes esperados

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
Herança
Atributos
__DoNotInstrumentAttribute AttributeUsageAttribute

Construtores

PexExpectedTestsAttribute()

Propriedades

DuplicateCount

Obtém ou define a contagem de duplicidades.

FailureCount

Obtém ou define a contagem de falhas.

InconclusiveCount

Obtém ou define a contagem inconclusiva.

Name

Obtém o nome deste pacote.

(Herdado de PexExplorationPackageAttributeBase)
NewCount

Obtém ou define a nova contagem.

RequiresSymbols

indica se este recurso depende de símbolos

TotalCount

Obtém ou define a contagem total.

TotalMinimumCount

Obtém ou define a contagem mínima total.

Métodos

AfterExploration(IPexExplorationComponent, Object)

O retorno de chamada que é executado após o término da exploração.

(Herdado de PexExplorationGoalAttributeBase)
BeforeExploration(IPexExplorationComponent)

Retorno de chamada que é executado antes do início da exploração.

(Herdado de PexExplorationGoalAttributeBase)
Decorate(Name, IPexDecoratedComponentElement)

Esse método pode anunciar filtros, focos e pacotes para IntelliTest.

(Herdado de PexExplorationPackageAttributeBase)
Initialize(IPexExplorationEngine)

Inicializa o pacote de exploração especificado. Pode interagir com serviços.

(Herdado de PexExplorationGoalAttributeBase)
Load(IContainer)

Esse método fornece serviços de instalação ou substituição de oportunidade.

(Herdado de PexExplorationGoalAttributeBase)
TryCreateExplorationGoal(IPexExplorationComponent, IPexExplorationGoal)

Tenta criar uma instância de meta de exploração

(Herdado de PexExplorationGoalAttributeBase)
Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext)

Valida o atributo em um contexto de visibilidade específico.

(Herdado de PexComponentElementDecoratorAttributeBase)

Implantações explícitas de interface

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

Aplica-se a