12 references to MetadataNames
Microsoft.DotNet.Helix.Sdk (8)
CreateXHarnessAppleWorkItems.cs (8)
100
var (workItemName, appFolderPath) = GetNameAndPath(appBundleItem,
MetadataNames
.AppBundlePath, fileSystem);
119
if (isAlreadyArchived && appBundleItem.TryGetMetadata(
MetadataNames
.AppBundlePath, out string metadata) && !string.IsNullOrEmpty(metadata))
131
if (!appBundleItem.TryGetMetadata(
MetadataNames
.Target, out string target))
133
Log.LogError($"'{
MetadataNames
.Target}' metadata must be specified - " +
142
if (appBundleItem.TryGetMetadata(
MetadataNames
.LaunchTimeout, out string launchTimeoutProp))
146
Log.LogError($"Invalid value \"{launchTimeoutProp}\" provided in <{
MetadataNames
.LaunchTimeout}>");
152
if (appBundleItem.TryGetMetadata(
MetadataNames
.IncludesTestRunner, out string includesTestRunnerProp))
166
if (appBundleItem.TryGetMetadata(
MetadataNames
.ResetSimulator, out string resetSimulatorRunnerProp))
Microsoft.DotNet.Helix.Sdk.Tests (4)
CreateXHarnessAppleWorkItemsTests.cs (4)
288
mockBundle.Setup(x => x.GetMetadata(CreateXHarnessAppleWorkItems.
MetadataNames
.Target)).Returns(target);
289
mockBundle.Setup(x => x.GetMetadata(CreateXHarnessAppleWorkItems.
MetadataNames
.IncludesTestRunner)).Returns(includesTestRunner.ToString());
303
mockBundle.Setup(x => x.GetMetadata(CreateXHarnessAppleWorkItems.
MetadataNames
.LaunchTimeout)).Returns(launchTimeout);
318
mockBundle.Setup(x => x.GetMetadata(CreateXHarnessAppleWorkItems.
MetadataNames
.AppBundlePath)).Returns(appBundlePath);