diff options
author | Manish Sinha <manish.sinha@xamarin.com> | 2015-05-01 00:12:04 +0300 |
---|---|---|
committer | Manish Sinha <manish.sinha@xamarin.com> | 2015-05-05 20:37:50 +0300 |
commit | 002d3eeb450c1514cb50e28a9600e03fc74a9ba6 (patch) | |
tree | 2eb5f24f3ee3916f5a31d230390a8e09bc5c06b0 /main/tests/UserInterfaceTests/Ide.cs | |
parent | 82626976163047580afb25feb70c77a574580c36 (diff) |
[UITest] Added support for taking screenshots in the tests
Add screenshot functionality specific to Mac. Windows+Linux still pending
Diffstat (limited to 'main/tests/UserInterfaceTests/Ide.cs')
-rw-r--r-- | main/tests/UserInterfaceTests/Ide.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/tests/UserInterfaceTests/Ide.cs b/main/tests/UserInterfaceTests/Ide.cs index cda3a353ad..7c06fa7b83 100644 --- a/main/tests/UserInterfaceTests/Ide.cs +++ b/main/tests/UserInterfaceTests/Ide.cs @@ -91,7 +91,7 @@ namespace UserInterfaceTests Thread.Sleep (pollStep); } while (timeout > 0); - throw new Exception ("Timed out waiting for event"); + throw new TimeoutException ("Timed out waiting for Function: "+done.Method.Name); } //no saner way to do this |