From 76066c9542152e1e8d41fcad672236e0d9c4eb7c Mon Sep 17 00:00:00 2001 From: Vsevolod Kukol Date: Tue, 18 Jul 2017 16:18:43 +0200 Subject: [UnitTests] Add tests for KeyBindingSet --- .../MonoDevelop.Ide/MonoDevelop.Components.Commands/KeyBindingSet.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main/src/core/MonoDevelop.Ide') diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/KeyBindingSet.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/KeyBindingSet.cs index eaa9121cac..0e98831e68 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/KeyBindingSet.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/KeyBindingSet.cs @@ -100,6 +100,9 @@ namespace MonoDevelop.Components.Commands public bool Equals (KeyBindingSet other) { + // TODO: full IEquatable implementation + // the current solutions is just enough to detect whether a custom set equals a predefined one + // and is not a real equality check. See KeyBindingsPanel.SelectCurrentScheme(). if (other == null) return false; if (parent != null && parent != other && !parent.Equals (other.parent)) -- cgit v1.2.3