14 references to MetadataName
Microsoft.DotNet.Helix.Sdk (7)
CreateXHarnessAppleWorkItems.cs (1)
162
Log.LogWarning($"The {
MetadataName
.ExpectedExitCode} property is ignored in the `apple test` scenario");
XharnessTaskBase.cs (6)
57
xHarnessAppItem.TryGetMetadata(
MetadataName
.CustomCommands, out string customCommands);
65
if (xHarnessAppItem.TryGetMetadata(
MetadataName
.TestTimeout, out string testTimeoutProp))
69
Log.LogError($"Invalid value \"{testTimeoutProp}\" provided in <{
MetadataName
.TestTimeout}>");
75
if (xHarnessAppItem.TryGetMetadata(
MetadataName
.WorkItemTimeout, out string workItemTimeoutProp))
79
Log.LogError($"Invalid value \"{workItemTimeoutProp}\" provided in <{
MetadataName
.WorkItemTimeout}>");
97
if (xHarnessAppItem.TryGetMetadata(
MetadataName
.ExpectedExitCode, out string expectedExitCodeProp))
Microsoft.DotNet.Helix.Sdk.Tests (7)
CreateXHarnessAndroidWorkItemsTests.cs (3)
230
mockBundle.Setup(x => x.GetMetadata(XHarnessTaskBase.
MetadataName
.WorkItemTimeout)).Returns(workItemTimeout);
235
mockBundle.Setup(x => x.GetMetadata(XHarnessTaskBase.
MetadataName
.TestTimeout)).Returns(testTimeout);
240
mockBundle.Setup(x => x.GetMetadata(XHarnessTaskBase.
MetadataName
.ExpectedExitCode)).Returns(expectedExitCode.ToString());
CreateXHarnessAppleWorkItemsTests.cs (4)
293
mockBundle.Setup(x => x.GetMetadata(XHarnessTaskBase.
MetadataName
.WorkItemTimeout)).Returns(workItemTimeout);
298
mockBundle.Setup(x => x.GetMetadata(XHarnessTaskBase.
MetadataName
.TestTimeout)).Returns(testTimeout);
308
mockBundle.Setup(x => x.GetMetadata(XHarnessTaskBase.
MetadataName
.ExpectedExitCode)).Returns(expectedExitCode.ToString());
313
mockBundle.Setup(x => x.GetMetadata(XHarnessTaskBase.
MetadataName
.CustomCommands)).Returns(customCommands);