Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -618,15 +618,15 @@ private async Task ExecuteTestsWithTestRunnerAsync(
var testContextProperties = new Dictionary<string, object?>(capacity: 8);

// Add tcm properties.
foreach ((TestProperty key, object? value) in tcmProperties)
foreach (KeyValuePair<TestProperty, object?> kvp in tcmProperties)
{
testContextProperties[key.Id] = value;
testContextProperties[kvp.Key.Id] = kvp.Value;
}

// Add source level parameters.
foreach ((string key, object value) in sourceLevelParameters)
foreach (KeyValuePair<string, object> kvp in sourceLevelParameters)
{
testContextProperties[key] = value;
testContextProperties[kvp.Key] = kvp.Value;
}

return testContextProperties;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,9 @@ private static List<DeploymentItem> GetDeploymentItems(IEnumerable deploymentIte

IList<DeploymentItem> result = new List<DeploymentItem>();

foreach ((string? key, string? value) in deploymentItemsData)
foreach (KeyValuePair<string, string> kvp in deploymentItemsData)
{
AddDeploymentItem(result, new DeploymentItem(key, value));
AddDeploymentItem(result, new DeploymentItem(kvp.Key, kvp.Value));
}

return result;
Expand Down
Loading