Freigeben über


PexAssumeUnderTestAttribute Class

Definition

Defines a test target: not null and precise type matching.

public ref class PexAssumeUnderTestAttribute sealed : Microsoft::Pex::Framework::PexAssumeAttributeBase
[System.AttributeUsage(System.AttributeTargets.All, AllowMultiple=true, Inherited=true)]
public sealed class PexAssumeUnderTestAttribute : Microsoft.Pex.Framework.PexAssumeAttributeBase
[<System.AttributeUsage(System.AttributeTargets.All, AllowMultiple=true, Inherited=true)>]
type PexAssumeUnderTestAttribute = class
    inherit PexAssumeAttributeBase
Public NotInheritable Class PexAssumeUnderTestAttribute
Inherits PexAssumeAttributeBase
Inheritance
Attributes

Constructors

PexAssumeUnderTestAttribute()

Initializes a new instance of the PexAssumeUnderTestAttribute class.

Properties

Name

Gets the name of this package.

(Inherited from PexExplorationPackageAttributeBase)

Methods

AfterExploration(IPexExplorationComponent, Object)

Callback that is executed after the exploration ends.

(Inherited from PexExplorationPackageAttributeBase)
BeforeExploration(IPexExplorationComponent)

Callback that is executed before the exploration starts.

(Inherited from PexDomainAttributeBase)
Decorate(Name, IPexDecoratedComponentElement)

This method can announce filters, focuses, and packages to IntelliTest.

(Inherited from PexExplorationPackageAttributeBase)
GetPreciseType(TypeEx, ICopyable<TypeEx>, Boolean)

Checks a list of types compatible with this domain.

(Inherited from PexAssumeAttributeBase)
GetTargetType()

Gets the type of the target.

(Inherited from PexDomainAttributeBase)
Initialize(IPexExplorationEngine)

Initializes the specified exploration package. May interact with services.

(Inherited from PexExplorationPackageAttributeBase)
Load(IContainer)

This method provides the opportunity install or substitute services.

(Inherited from PexExplorationPackageAttributeBase)
MatchesTarget(PexDomainTarget, MetadataEntity, Int32)

Checks whether the target of this attribute matches a given target.

(Inherited from PexDomainAttributeBase)
TryGetInvariant(IPexExplorationComponent, Layout, Converter<Term,Term>)

Tries to get an invariant.

UpdateTarget(PexDomainTarget, MetadataEntity, Int32)

Updates the target of this domain.

(Inherited from PexDomainAttributeBase)
Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext)

Validates the attribute in a particular visibility context.

(Inherited from PexComponentElementDecoratorAttributeBase)
ValidateTargetIsDefined(IPexLog, Name)

Validates that the target is defined.

(Inherited from PexAssumeAttributeBase)
ValidateTargetIsNotNull(IPexLog, Name)

Validates this attribute in the case that the target may not be null.

(Inherited from PexAssumeAttributeBase)

Explicit Interface Implementations

IPexComponentElementDecorator.Decorate(Name, IPexDecoratedComponentElement) (Inherited from PexComponentElementDecoratorAttributeBase)
IPexDomainProvider.AddDomains(SafeList<IPexDomain>, PexDomainTarget, MetadataEntity, Int32) (Inherited from PexDomainAttributeBase)
IPexExplorationPackage.AfterExploration(IPexExplorationComponent, Object) (Inherited from PexExplorationPackageAttributeBase)
IPexExplorationPackage.BeforeExploration(IPexExplorationComponent) (Inherited from PexExplorationPackageAttributeBase)
IPexExplorationPackage.Initialize(IPexExplorationEngine) (Inherited from PexExplorationPackageAttributeBase)
IPexExplorationPackage.Load(IContainer) (Inherited from PexExplorationPackageAttributeBase)
IPexTargetedDomainProvider.Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext) (Inherited from PexDomainAttributeBase)
IPexValidatable.Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext) (Inherited from PexComponentElementDecoratorAttributeBase)

Applies to