41 references to TestPropertyAttributes
Microsoft.TestPlatform.CommunicationUtilities (15)
Generated\361d1da7f942c932\TestPlatformJsonContext.GetJsonTypeInfo.g.cs (1)
246
if (type == typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestPropertyAttributes
))
Generated\361d1da7f942c932\TestPlatformJsonContext.TestPropertyAttributes.g.cs (9)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestPropertyAttributes
>? _TestPropertyAttributes;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestPropertyAttributes
> TestPropertyAttributes
22
get => _TestPropertyAttributes ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestPropertyAttributes
>)Options.GetTypeInfo(typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestPropertyAttributes
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestPropertyAttributes
> Create_TestPropertyAttributes(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestPropertyAttributes
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestPropertyAttributes
> jsonTypeInfo))
29
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestPropertyAttributes
>(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetEnumConverter<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestPropertyAttributes
>(options));
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestPlatformJsonContext.TestProperty.g.cs (3)
161
var info5 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestPropertyAttributes
>
176
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProperty).GetProperty("Attributes", InstanceMemberBindingFlags, null, typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestPropertyAttributes
), global::System.Array.Empty<global::System.Type>(), null),
179
properties[5] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestPropertyAttributes
>(options, info5);
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)
305
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)
113
public static readonly TestProperty ExecutionIdProperty = TestProperty.Register("ExecutionId", ExecutionIdPropertyIdentifier, typeof(Guid),
TestPropertyAttributes
.Hidden, typeof(ObjectModel.TestResult));
114
public static readonly TestProperty ParentExecIdProperty = TestProperty.Register("ParentExecId", ParentExecutionIdPropertyIdentifier, typeof(Guid),
TestPropertyAttributes
.Hidden, typeof(ObjectModel.TestResult));
115
public static readonly TestProperty TestTypeProperty = TestProperty.Register("TestType", TestTypePropertyIdentifier, typeof(Guid),
TestPropertyAttributes
.Hidden, typeof(ObjectModel.TestResult));
Microsoft.VisualStudio.TestPlatform.ObjectModel (19)
TestCase.cs (7)
347
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));
348
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));
387
public static readonly TestProperty Id = TestProperty.Register("TestCase.Id", IdLabel, string.Empty, string.Empty, typeof(Guid), ValidateGuid,
TestPropertyAttributes
.Hidden, typeof(TestCase));
388
public static readonly TestProperty FullyQualifiedName = TestProperty.Register("TestCase.FullyQualifiedName", FullyQualifiedNameLabel, string.Empty, string.Empty, typeof(string), ValidateName,
TestPropertyAttributes
.Hidden, typeof(TestCase));
389
public static readonly TestProperty DisplayName = TestProperty.Register("TestCase.DisplayName", NameLabel, string.Empty, string.Empty, typeof(string), ValidateDisplay,
TestPropertyAttributes
.None, typeof(TestCase));
390
public static readonly TestProperty ExecutorUri = TestProperty.Register("TestCase.ExecutorUri", ExecutorUriLabel, string.Empty, string.Empty, typeof(Uri), ValidateExecutorUri,
TestPropertyAttributes
.Hidden, typeof(TestCase));
393
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 (4)
20
/// Bit value of the obsolete <see cref="
TestPropertyAttributes
.Trait"/> flag (0x04).
32
private const
TestPropertyAttributes
TraitAttribute =
TestPropertyAttributes
.Trait;
40
TestPropertyAttributes
.Hidden | TraitAttribute,