26 references to TestPropertyAttributes
Microsoft.TestPlatform.CommunicationUtilities (2)
Serialization\TestPropertyConverter.cs (2)
35
var
attributes = element.TryGetProperty("Attributes", out var attrProp) ? (
TestPropertyAttributes
)attrProp.GetInt32() : default;
Microsoft.TestPlatform.CrossPlatEngine (1)
DataCollection\InProcDataCollectionExtensionManager.cs (1)
302
var testProperty = TestProperty.Register(id: keyValuePair.Key, label: keyValuePair.Key, category: string.Empty, description: string.Empty, valueType: typeof(string), validateValueCallback: null, attributes:
TestPropertyAttributes
.None, owner: typeof(TestCase));
Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger (3)
Constants.cs (3)
62
public static readonly TestProperty ExecutionIdProperty = TestProperty.Register("ExecutionId", ExecutionIdPropertyIdentifier, typeof(Guid),
TestPropertyAttributes
.Hidden, typeof(TestResult));
64
public static readonly TestProperty ParentExecIdProperty = TestProperty.Register("ParentExecId", ParentExecutionIdPropertyIdentifier, typeof(Guid),
TestPropertyAttributes
.Hidden, typeof(TestResult));
66
public static readonly TestProperty TestTypeProperty = TestProperty.Register("TestType", TestTypePropertyIdentifier, typeof(Guid),
TestPropertyAttributes
.Hidden, typeof(TestResult));
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (3)
Utility\Constants.cs (3)
107
public static readonly TestProperty ExecutionIdProperty = TestProperty.Register("ExecutionId", ExecutionIdPropertyIdentifier, typeof(Guid),
TestPropertyAttributes
.Hidden, typeof(ObjectModel.TestResult));
108
public static readonly TestProperty ParentExecIdProperty = TestProperty.Register("ParentExecId", ParentExecutionIdPropertyIdentifier, typeof(Guid),
TestPropertyAttributes
.Hidden, typeof(ObjectModel.TestResult));
109
public static readonly TestProperty TestTypeProperty = TestProperty.Register("TestType", TestTypePropertyIdentifier, typeof(Guid),
TestPropertyAttributes
.Hidden, typeof(ObjectModel.TestResult));
Microsoft.VisualStudio.TestPlatform.ObjectModel (17)
TestCase.cs (7)
293
private static readonly TestProperty ManagedTypeProperty = TestProperty.Register("TestCase.ManagedType", "ManagedType", string.Empty, string.Empty, typeof(string), o => !StringUtils.IsNullOrWhiteSpace(o as string),
TestPropertyAttributes
.Hidden, typeof(TestCase));
294
private static readonly TestProperty ManagedMethodProperty = TestProperty.Register("TestCase.ManagedMethod", "ManagedMethod", string.Empty, string.Empty, typeof(string), o => !StringUtils.IsNullOrWhiteSpace(o as string),
TestPropertyAttributes
.Hidden, typeof(TestCase));
333
public static readonly TestProperty Id = TestProperty.Register("TestCase.Id", IdLabel, string.Empty, string.Empty, typeof(Guid), ValidateGuid,
TestPropertyAttributes
.Hidden, typeof(TestCase));
334
public static readonly TestProperty FullyQualifiedName = TestProperty.Register("TestCase.FullyQualifiedName", FullyQualifiedNameLabel, string.Empty, string.Empty, typeof(string), ValidateName,
TestPropertyAttributes
.Hidden, typeof(TestCase));
335
public static readonly TestProperty DisplayName = TestProperty.Register("TestCase.DisplayName", NameLabel, string.Empty, string.Empty, typeof(string), ValidateDisplay,
TestPropertyAttributes
.None, typeof(TestCase));
336
public static readonly TestProperty ExecutorUri = TestProperty.Register("TestCase.ExecutorUri", ExecutorUriLabel, string.Empty, string.Empty, typeof(Uri), ValidateExecutorUri,
TestPropertyAttributes
.Hidden, typeof(TestCase));
339
public static readonly TestProperty LineNumber = TestProperty.Register("TestCase.LineNumber", LineNumberLabel, typeof(int),
TestPropertyAttributes
.Hidden, typeof(TestCase));
TestProperty\TestProperty.cs (5)
38
private TestProperty(string id, string label, string category, string description, Type valueType, ValidateValueCallback? validateValueCallback,
TestPropertyAttributes
attributes)
119
public
TestPropertyAttributes
Attributes { get; set; }
294
return Register(id, label, string.Empty, string.Empty, valueType, null,
TestPropertyAttributes
.None, owner);
297
public static TestProperty Register(string id, string label, Type valueType,
TestPropertyAttributes
attributes, Type owner)
307
public static TestProperty Register(string id, string label, string category, string description, Type valueType, ValidateValueCallback? validateValueCallback,
TestPropertyAttributes
attributes, Type owner)
TestResult.cs (3)
289
public static readonly TestProperty DisplayName = TestProperty.Register("TestResult.DisplayName", "TestResult Display Name", typeof(string),
TestPropertyAttributes
.Hidden, typeof(TestResult));
290
public static readonly TestProperty ComputerName = TestProperty.Register("TestResult.ComputerName", "Computer Name", typeof(string),
TestPropertyAttributes
.None, typeof(TestResult));
291
public static readonly TestProperty Outcome = TestProperty.Register("TestResult.Outcome", "Outcome", string.Empty, string.Empty, typeof(TestOutcome), ValidateOutcome,
TestPropertyAttributes
.None, typeof(TestResult));
TraitCollection.cs (2)
24
TestPropertyAttributes
.Hidden |
TestPropertyAttributes
.Trait,