Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/TreeNodeInfos/HeightStructuresFailureMechanismContextTreeNodeInfoTest.cs =================================================================== diff -u -rab676d2163511e70dff41634d24a18e86b4248f4 -rdd8f41ce9d9ff9fd570874721a114560c7a71013 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/TreeNodeInfos/HeightStructuresFailureMechanismContextTreeNodeInfoTest.cs (.../HeightStructuresFailureMechanismContextTreeNodeInfoTest.cs) (revision ab676d2163511e70dff41634d24a18e86b4248f4) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/TreeNodeInfos/HeightStructuresFailureMechanismContextTreeNodeInfoTest.cs (.../HeightStructuresFailureMechanismContextTreeNodeInfoTest.cs) (revision dd8f41ce9d9ff9fd570874721a114560c7a71013) @@ -20,6 +20,7 @@ // All rights reserved. using System; +using System.Collections.Generic; using System.IO; using System.Linq; using System.Windows.Forms; @@ -111,7 +112,7 @@ var failureMechanismContext = new HeightStructuresFailureMechanismContext(failureMechanism, assessmentSection); // Call - var children = info.ChildNodeObjects(failureMechanismContext).ToArray(); + object[] children = info.ChildNodeObjects(failureMechanismContext).ToArray(); // Assert Assert.AreEqual(3, children.Length); @@ -174,7 +175,7 @@ var failureMechanismContext = new HeightStructuresFailureMechanismContext(failureMechanism, assessmentSection); // Call - var children = info.ChildNodeObjects(failureMechanismContext).ToArray(); + object[] children = info.ChildNodeObjects(failureMechanismContext).ToArray(); // Assert Assert.AreEqual(1, children.Length); @@ -772,13 +773,13 @@ // Expect an activity dialog which is automatically closed }; - using (var contextMenu = info.ContextMenuStrip(failureMechanismContext, null, treeViewControl)) + using (ContextMenuStrip contextMenu = info.ContextMenuStrip(failureMechanismContext, null, treeViewControl)) using (new HydraRingCalculatorFactoryConfig()) { // Call TestHelper.AssertLogMessages(() => contextMenu.Items[contextMenuCalculateAllIndex].PerformClick(), messages => { - var messageList = messages.ToList(); + List messageList = messages.ToList(); // Assert Assert.AreEqual(12, messageList.Count); @@ -849,7 +850,7 @@ // Assert TestHelper.AssertLogMessages(call, messages => { - var messageList = messages.ToArray(); + string[] messageList = messages.ToArray(); Assert.AreEqual(4, messageList.Length); StringAssert.StartsWith("Validatie van 'A' gestart om: ", messageList[0]);