1 write to _parametersSetOnTask
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskExecutionHost_Tests.cs (1)
1290
_parametersSetOnTask
= new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase);
21 references to _parametersSetOnTask
Microsoft.Build.Engine.UnitTests (21)
BackEnd\TaskExecutionHost_Tests.cs (21)
147
Assert.Single(
_parametersSetOnTask
);
148
Assert.True(
_parametersSetOnTask
.ContainsKey("ExecuteReturnParam"));
340
Assert.True(
_parametersSetOnTask
.ContainsKey("IntArrayParam"));
342
Assert.Equal(1, ((int[])
_parametersSetOnTask
["IntArrayParam"])[0]);
343
Assert.Equal(0, ((int[])
_parametersSetOnTask
["IntArrayParam"])[1]);
1137
_parametersSetOnTask
[parameterName] = valueSet;
1367
Assert.True(
_parametersSetOnTask
.ContainsKey(parameterName));
1368
Assert.Equal(expectedValue,
_parametersSetOnTask
[parameterName]);
1378
Assert.True(
_parametersSetOnTask
.ContainsKey(parameterName));
1380
ITaskItem actualItem =
_parametersSetOnTask
[parameterName] as ITaskItem;
1392
Assert.True(
_parametersSetOnTask
.ContainsKey(parameterName));
1394
ITaskItem actualItem =
_parametersSetOnTask
[parameterName] as ITaskItem;
1405
Assert.True(
_parametersSetOnTask
.ContainsKey(parameterName));
1407
ITaskItem[] actualItems =
_parametersSetOnTask
[parameterName] as ITaskItem[];
1419
Assert.True(
_parametersSetOnTask
.ContainsKey(parameterName));
1421
ITaskItem[] actualItems =
_parametersSetOnTask
[parameterName] as ITaskItem[];
1437
Assert.True(
_parametersSetOnTask
.ContainsKey(parameterName));
1439
ITaskItem[] actualItems =
_parametersSetOnTask
[parameterName] as ITaskItem[];
1455
Assert.True(
_parametersSetOnTask
.ContainsKey(parameterName));
1458
Array actualArray =
_parametersSetOnTask
[parameterName] as Array;
1473
Assert.False(
_parametersSetOnTask
.ContainsKey(parameterName));