13 references to Register
Microsoft.TestPlatform.CommunicationUtilities (1)
Serialization\TestPropertyConverter.cs (1)
59
testProperty = TestProperty.
Register
(id, label, category ?? string.Empty, description ?? string.Empty, resolvedType, null, attributes, typeof(TestObject));
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.ObjectModel (11)
TestCase.cs (6)
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));
TestObject.cs (1)
47
TestProperty.
Register
(
TestProperty\TestProperty.cs (3)
294
return
Register
(id, label, string.Empty, string.Empty, valueType, null, TestPropertyAttributes.None, owner);
304
return
Register
(id, label, string.Empty, string.Empty, valueType, null, attributes, owner);
379
registeredProperty ??=
Register
(
TestResult.cs (1)
291
public static readonly TestProperty Outcome = TestProperty.
Register
("TestResult.Outcome", "Outcome", string.Empty, string.Empty, typeof(TestOutcome), ValidateOutcome, TestPropertyAttributes.None, typeof(TestResult));