1 write to _task
Microsoft.DotNet.Helix.Sdk.Tests (1)
CreateXHarnessAndroidWorkItemsTests.cs (1)
36
_task
= new CreateXHarnessAndroidWorkItems()
26 references to _task
Microsoft.DotNet.Helix.Sdk.Tests (26)
CreateXHarnessAndroidWorkItemsTests.cs (26)
46
_task
.ConfigureServices(collection);
47
_task
.Apks = new[]
54
_task
.InvokeExecute(provider).Should().BeFalse();
57
_task
.WorkItems.Length.Should().Be(0);
64
_task
.ConfigureServices(collection);
65
_task
.Apks = new[]
72
_task
.InvokeExecute(provider).Should().BeTrue();
75
_task
.WorkItems.Length.Should().Be(1);
77
var workItem =
_task
.WorkItems.First();
100
_task
.ConfigureServices(collection);
101
_task
.Apks = new[]
111
_task
.InvokeExecute(provider).Should().BeTrue();
114
_task
.WorkItems.Length.Should().Be(2);
116
var workItem =
_task
.WorkItems.Last();
119
workItem =
_task
.WorkItems.First();
132
_task
.ConfigureServices(collection);
133
_task
.Apks = new[]
141
_task
.InvokeExecute(provider).Should().BeTrue();
144
_task
.WorkItems.Length.Should().Be(2);
147
var workItem1 =
_task
.WorkItems.Last();
154
var workItem2 =
_task
.WorkItems.First();
166
_task
.ConfigureServices(collection);
167
_task
.Apks = new[]
174
_task
.InvokeExecute(provider).Should().BeTrue();
177
_task
.WorkItems.Length.Should().Be(1);
179
var workItem =
_task
.WorkItems.First();