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); 1302Assert.Single(_bucket.Lookup.GetItems("output")); 1303Assert.Equal(value, _bucket.Lookup.GetItems("output").First().EvaluatedInclude); 1314Assert.Single(_bucket.Lookup.GetItems("output")); 1315Assert.Equal(0, TaskItemComparer.Instance.Compare(value, new TaskItem(_bucket.Lookup.GetItems("output").First()))); 1326Assert.Equal(values.Length, _bucket.Lookup.GetItems("output").Count); 1329Assert.Equal(values[i], _bucket.Lookup.GetItems("output").ElementAt(i).EvaluatedInclude); 1341Assert.Equal(values.Length, _bucket.Lookup.GetItems("output").Count); 1344Assert.Equal(0, TaskItemComparer.Instance.Compare(values[i], new TaskItem(_bucket.Lookup.GetItems("output").ElementAt(i)))); 1356Assert.NotNull(_bucket.Lookup.GetProperty("output")); 1357Assert.Equal(value, _bucket.Lookup.GetProperty("output").EvaluatedValue);