14 references to MetadataName
Microsoft.DotNet.Helix.Sdk (7)
CreateXHarnessAppleWorkItems.cs (1)
159
Log.LogWarning($"The {
MetadataName
.ExpectedExitCode} property is ignored in the `apple test` scenario");
XharnessTaskBase.cs (6)
54
xHarnessAppItem.TryGetMetadata(
MetadataName
.CustomCommands, out string customCommands);
62
if (xHarnessAppItem.TryGetMetadata(
MetadataName
.TestTimeout, out string testTimeoutProp))
66
Log.LogError($"Invalid value \"{testTimeoutProp}\" provided in <{
MetadataName
.TestTimeout}>");
72
if (xHarnessAppItem.TryGetMetadata(
MetadataName
.WorkItemTimeout, out string workItemTimeoutProp))
76
Log.LogError($"Invalid value \"{workItemTimeoutProp}\" provided in <{
MetadataName
.WorkItemTimeout}>");
94
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);