1 write to _bucket
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskExecutionHost_Tests.cs (1)
1286
_bucket
= new ItemBucket(Array.Empty<string>(), new Dictionary<string, string>(), new Lookup(itemsByName, new PropertyDictionary<ProjectPropertyInstance>()), 0);
20 references to _bucket
Microsoft.Build.Engine.UnitTests (20)
BackEnd\TaskExecutionHost_Tests.cs (20)
771
_bucket
.Lookup.SetProperty(ProjectPropertyInstance.Create("output", "initialvalue"));
781
_bucket
.Lookup.SetProperty(ProjectPropertyInstance.Create("output", "initialvalue"));
791
_bucket
.Lookup.SetProperty(ProjectPropertyInstance.Create("output", "initialvalue"));
801
_bucket
.Lookup.SetProperty(ProjectPropertyInstance.Create("output", "initialvalue"));
811
_bucket
.Lookup.SetProperty(ProjectPropertyInstance.Create("output", "initialvalue"));
821
_bucket
.Lookup.SetProperty(ProjectPropertyInstance.Create("output", "initialvalue"));
1001
_host.InitializeForBatch(new TaskLoggingContext(_loggingService, tlc.BuildEventContext),
_bucket
, null);
1030
_host.InitializeForBatch(new TaskLoggingContext(_loggingService, tlc.BuildEventContext),
_bucket
, null);
1287
_bucket
.Initialize(null);
1289
_host.InitializeForBatch(talc,
_bucket
, null);
1302
Assert.Single(
_bucket
.Lookup.GetItems("output"));
1303
Assert.Equal(value,
_bucket
.Lookup.GetItems("output").First().EvaluatedInclude);
1314
Assert.Single(
_bucket
.Lookup.GetItems("output"));
1315
Assert.Equal(0, TaskItemComparer.Instance.Compare(value, new TaskItem(
_bucket
.Lookup.GetItems("output").First())));
1326
Assert.Equal(values.Length,
_bucket
.Lookup.GetItems("output").Count);
1329
Assert.Equal(values[i],
_bucket
.Lookup.GetItems("output").ElementAt(i).EvaluatedInclude);
1341
Assert.Equal(values.Length,
_bucket
.Lookup.GetItems("output").Count);
1344
Assert.Equal(0, TaskItemComparer.Instance.Compare(values[i], new TaskItem(
_bucket
.Lookup.GetItems("output").ElementAt(i))));
1356
Assert.NotNull(
_bucket
.Lookup.GetProperty("output"));
1357
Assert.Equal(value,
_bucket
.Lookup.GetProperty("output").EvaluatedValue);