2 types derived from XHarnessTaskBase
Microsoft.DotNet.Helix.Sdk (2)
CreateXHarnessAndroidWorkItems.cs (1)
18
public class CreateXHarnessAndroidWorkItems :
XHarnessTaskBase
CreateXHarnessAppleWorkItems.cs (1)
18
public class CreateXHarnessAppleWorkItems :
XHarnessTaskBase
17 references to XHarnessTaskBase
Microsoft.DotNet.Helix.Sdk (2)
XharnessTaskBase.cs (2)
163
await zipArchiveManager.AddResourceFileToArchive<
XHarnessTaskBase
>(
169
await zipArchiveManager.AddResourceFileToArchive<
XHarnessTaskBase
>(
Microsoft.DotNet.Helix.Sdk.Tests (15)
CreateXHarnessAndroidWorkItemsTests.cs (7)
91
.Verify(x => x.AddResourceFileToArchive<
XHarnessTaskBase
>(payloadArchive, It.Is<string>(s => s.Contains("xharness-helix-job.android.sh")), "xharness-helix-job.android.sh"), Times.AtLeastOnce);
93
.Verify(x => x.AddResourceFileToArchive<
XHarnessTaskBase
>(payloadArchive, It.Is<string>(s => s.Contains("xharness-helix-job.android.ps1")), "xharness-helix-job.android.ps1"), Times.AtLeastOnce);
193
.Verify(x => x.AddResourceFileToArchive<
XHarnessTaskBase
>(payloadArchive, It.Is<string>(s => s.Contains("xharness-helix-job.android.sh")), "xharness-helix-job.android.sh"), Times.AtLeastOnce);
195
.Verify(x => x.AddResourceFileToArchive<
XHarnessTaskBase
>(payloadArchive, It.Is<string>(s => s.Contains("xharness-helix-job.android.ps1")), "xharness-helix-job.android.ps1"), Times.AtLeastOnce);
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 (8)
99
.Verify(x => x.AddResourceFileToArchive<
XHarnessTaskBase
>(payloadArchive, It.Is<string>(s => s.Contains("xharness-helix-job.apple.sh")), "xharness-helix-job.apple.sh"), Times.Once);
101
.Verify(x => x.AddResourceFileToArchive<
XHarnessTaskBase
>(payloadArchive, It.Is<string>(s => s.Contains("xharness-runner.apple.sh")), "xharness-runner.apple.sh"), Times.Once);
250
.Verify(x => x.AddResourceFileToArchive<
XHarnessTaskBase
>(payloadArchive, It.Is<string>(s => s.Contains("xharness-helix-job.apple.sh")), "xharness-helix-job.apple.sh"), Times.Once);
252
.Verify(x => x.AddResourceFileToArchive<
XHarnessTaskBase
>(payloadArchive, It.Is<string>(s => s.Contains("xharness-runner.apple.sh")), "xharness-runner.apple.sh"), Times.Once);
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);