Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit 4329ac1

Browse files
committed
Fixed XmlEditor tests.
1 parent fc284a5 commit 4329ac1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/AddIns/DisplayBindings/XmlEditor/Test/Tree/DeleteTreeNodeWithDeleteKeyTestFixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class DeleteTreeNodeWithDeleteKeyTestFixture
3636
public void DeleteKeyPressed()
3737
{
3838
using (DerivedXmlTreeViewControl treeView = new DerivedXmlTreeViewControl()) {
39-
treeView.DeleteKeyPressed += TreeViewDeleteKeyPressed;
39+
treeView.TreeViewKeyPressed += TreeViewDeleteKeyPressed;
4040
treeView.CallProcessCmdKey(Keys.Delete);
4141
}
4242
Assert.IsTrue(deleteKeyPressEventFired);

src/AddIns/DisplayBindings/XmlEditor/Test/Utils/DerivedXmlTreeViewContainerControl.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,12 @@ public void CallXmlElementTreeViewAfterSelect()
8181

8282
/// <summary>
8383
/// Allows us to call the XmlTreeViewContainer's
84-
/// XmlElementTreeViewDeleteKeyPressed method to fake the user
84+
/// XmlElementTreeViewKeyPressed method to fake the user
8585
/// pressing the delete key in the xml tree view control.
8686
/// </summary>
8787
public void CallXmlElementTreeViewDeleteKeyPressed()
8888
{
89-
base.XmlElementTreeViewDeleteKeyPressed(this, new EventArgs());
89+
base.XmlElementTreeViewKeyPressed(this, new XmlTreeViewKeyPressedEventArgs(Keys.Delete));
9090
}
9191

9292
/// <summary>

0 commit comments

Comments
 (0)