PexExpectedTestsAttribute Sınıf

Tanım

Beklenen sayıda test belirten öznitelik

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
Devralma
Öznitelikler
__DoNotInstrumentAttribute AttributeUsageAttribute

Oluşturucular

PexExpectedTestsAttribute()

Özellikler

DuplicateCount

Yinelenen sayıyı alır veya ayarlar.

FailureCount

Hata sayısını alır veya ayarlar.

InconclusiveCount

Sonuçlandırılamayan sayıyı alır veya ayarlar.

Name

Bu paketin adını alır.

(Devralındığı yer: PexExplorationPackageAttributeBase)
NewCount

Yeni sayıyı alır veya ayarlar.

RequiresSymbols

Bu özelliğin simgelere dayanıp dayanmadığını belirtir

TotalCount

Toplam sayıyı alır veya ayarlar.

TotalMinimumCount

Toplam minimum sayıyı alır veya ayarlar.

Yöntemler

AfterExploration(IPexExplorationComponent, Object)

Araştırma bittikten sonra yürütülen geri çağırma.

(Devralındığı yer: PexExplorationGoalAttributeBase)
BeforeExploration(IPexExplorationComponent)

Araştırma başlamadan önce yürütülen geri çağırma.

(Devralındığı yer: PexExplorationGoalAttributeBase)
Decorate(Name, IPexDecoratedComponentElement)

Bu yöntem, IntelliTest 'e filtreleri, odakları ve paketleri duyurur.

(Devralındığı yer: PexExplorationPackageAttributeBase)
Initialize(IPexExplorationEngine)

Belirtilen araştırma paketini başlatır. Hizmetlerle etkileşime geçebilir.

(Devralındığı yer: PexExplorationGoalAttributeBase)
Load(IContainer)

Bu yöntem, fırsat yüklemeyi veya ikame hizmetlerini sağlar.

(Devralındığı yer: PexExplorationGoalAttributeBase)
TryCreateExplorationGoal(IPexExplorationComponent, IPexExplorationGoal)

Bir araştırma hedefi örneği oluşturmaya çalışır

(Devralındığı yer: PexExplorationGoalAttributeBase)
Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext)

Belirli bir görünürlük bağlamındaki özniteliği doğrular.

(Devralındığı yer: PexComponentElementDecoratorAttributeBase)

Belirtik Arabirim Kullanımları

IPexComponentElementDecorator.Decorate(Name, IPexDecoratedComponentElement) (Devralındığı yer: PexComponentElementDecoratorAttributeBase)
IPexExplorationPackage.AfterExploration(IPexExplorationComponent, Object) (Devralındığı yer: PexExplorationPackageAttributeBase)
IPexExplorationPackage.BeforeExploration(IPexExplorationComponent) (Devralındığı yer: PexExplorationPackageAttributeBase)
IPexExplorationPackage.Initialize(IPexExplorationEngine) (Devralındığı yer: PexExplorationPackageAttributeBase)
IPexExplorationPackage.Load(IContainer) (Devralındığı yer: PexExplorationPackageAttributeBase)
IPexValidatable.Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext) (Devralındığı yer: PexComponentElementDecoratorAttributeBase)

Şunlara uygulanır