mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
In the middle of another refactoroing
This commit is contained in:
@@ -357,9 +357,9 @@ public class HotKeyTests
|
||||
Title = "_Test"
|
||||
};
|
||||
Application.Top.Add (view);
|
||||
view.HotKeyCommand += (s, e) => hotKeyRaised = true;
|
||||
view.Accept += (s, e) => acceptRaised = true;
|
||||
view.Select += (s, e) => selectRaised = true;
|
||||
view.HotKeyHandled += (s, e) => hotKeyRaised = true;
|
||||
view.Accepted += (s, e) => acceptRaised = true;
|
||||
view.Selected += (s, e) => selectRaised = true;
|
||||
|
||||
Assert.Equal (KeyCode.T, view.HotKey);
|
||||
Assert.False (Application.OnKeyDown (Key.T)); // wasn't handled
|
||||
|
||||
Reference in New Issue
Block a user