Compartir a través de


PexGeneratedByAttribute Class

Definition

Attribute that describes the parameterized test that generated the method.

public ref class PexGeneratedByAttribute sealed : Microsoft::Pex::Framework::PexAttributeBase
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public sealed class PexGeneratedByAttribute : Microsoft.Pex.Framework.PexAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)>]
type PexGeneratedByAttribute = class
    inherit PexAttributeBase
Public NotInheritable Class PexGeneratedByAttribute
Inherits PexAttributeBase
Inheritance
PexGeneratedByAttribute
Attributes

Remarks

This attribute is not intended to be used by customer. IntelliTest will use this attribute to mark generated tests.

Constructors

PexGeneratedByAttribute()

Initializes a new instance of the PexGeneratedByAttribute class and assumes that it is defined in the fixture type.

PexGeneratedByAttribute(Type)

Initializes a new instance of the PexGeneratedByAttribute class.

Properties

IsCustomInput

Gets or sets a value that indicates whether IntelliTest generated this test from user inputs

Methods

TryGetFixtureType(TypeEx)

Tries to get the type of the fixture if specified

Applies to