diff options
author | iain holmes <iain@xamarin.com> | 2015-04-14 16:33:07 +0300 |
---|---|---|
committer | iain holmes <iain@xamarin.com> | 2015-04-14 16:39:10 +0300 |
commit | 3b20780899d7da0c6c1024e3c23d8441d6a5fc1c (patch) | |
tree | 7fb9c7027dab2971921397ca5c1ca3378a70e8f9 /main/tests/UserInterfaceTests/Ide.cs | |
parent | 101ddcb9dcfd940950af9d52a1e8ffc7d5d213ae (diff) |
[UI Tests] Use the counter IDs for project open and project build
Diffstat (limited to 'main/tests/UserInterfaceTests/Ide.cs')
-rw-r--r-- | main/tests/UserInterfaceTests/Ide.cs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/main/tests/UserInterfaceTests/Ide.cs b/main/tests/UserInterfaceTests/Ide.cs index 2f0699da8f..256c4d88b9 100644 --- a/main/tests/UserInterfaceTests/Ide.cs +++ b/main/tests/UserInterfaceTests/Ide.cs @@ -76,11 +76,7 @@ namespace UserInterfaceTests public static bool BuildSolution (bool isPass = true) { - RunAndWaitForTimer ( - () => Session.ExecuteCommand (ProjectCommands.BuildSolution), - "MonoDevelop.Ide.Counters.BuildItemTimer" - ); - + Session.RunAndWaitForTimer (() => Session.ExecuteCommand (ProjectCommands.BuildSolution), "Ide.Shell.ProjectBuilt"); var status = IsBuildSuccessful (); return isPass == status; } @@ -117,7 +113,6 @@ namespace UserInterfaceTests public static bool IsBuildSuccessful (int timeout = 3000) { - Thread.Sleep (timeout); return Session.IsBuildSuccessful (); } |