diff options
author | Manish Sinha <manish.sinha@xamarin.com> | 2015-07-08 19:13:30 +0300 |
---|---|---|
committer | Manish Sinha <manish.sinha@xamarin.com> | 2015-07-08 19:13:30 +0300 |
commit | 712506b241b7279e68255e93b98b2e2b76ab6f9c (patch) | |
tree | 8de004ec33ecb7f45b67fec24c1820cb6f6a3a58 /main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest | |
parent | be6255b3125d4fe1b6243310bed6ed4e373ab370 (diff) |
[AutoTest] Remove Action from Flash methods
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest/AppResult.cs | 2 | ||||
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest/AutoTestSession.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest/AppResult.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest/AppResult.cs index 2081232d61..e2db5fbac6 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest/AppResult.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest/AppResult.cs @@ -63,7 +63,7 @@ namespace MonoDevelop.Components.AutoTest public abstract bool EnterText (string text); public abstract bool Toggle (bool active); - public abstract void Flash (Action completionHandler); + public abstract void Flash (); // Inspection Operations public abstract ObjectProperties Properties (); diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest/AutoTestSession.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest/AutoTestSession.cs index bb5642b6f6..2d35b53b90 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest/AutoTestSession.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest/AutoTestSession.cs @@ -524,7 +524,7 @@ namespace MonoDevelop.Components.AutoTest public void Flash (AppResult result) { try { - ExecuteOnIdle (() => result.Flash (() => AutoTestService.NotifyEvent ("FlashCompleted"))); + ExecuteOnIdle (() => result.Flash ()); } catch (TimeoutException e) { ThrowOperationTimeoutException ("Flash", result.SourceQuery, result, e); } |