diff options
author | Manish Sinha <manish.sinha@xamarin.com> | 2015-05-27 18:36:07 +0300 |
---|---|---|
committer | Manish Sinha <manish.sinha@xamarin.com> | 2015-05-27 21:35:54 +0300 |
commit | abbdf232b394510eeea9263e166a08b972fbf8e4 (patch) | |
tree | 59069b2cb6c14e4e3708a816e1e6e17b60a7f828 /main/tests/UserInterfaceTests/Ide.cs | |
parent | 9ca61301c03830efdb8818d871ee4e2e347b9b51 (diff) |
[UITest] Cleanup unncessary code in UITest project
Diffstat (limited to 'main/tests/UserInterfaceTests/Ide.cs')
-rw-r--r-- | main/tests/UserInterfaceTests/Ide.cs | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/main/tests/UserInterfaceTests/Ide.cs b/main/tests/UserInterfaceTests/Ide.cs index 7c06fa7b83..0a1586033c 100644 --- a/main/tests/UserInterfaceTests/Ide.cs +++ b/main/tests/UserInterfaceTests/Ide.cs @@ -47,20 +47,8 @@ namespace UserInterfaceTests public static void OpenFile (FilePath file) { - Session.GlobalInvoke ("MonoDevelop.Ide.IdeApp.Workbench.OpenDocument", (FilePath) file, true); - Assert.AreEqual (file, Ide.GetActiveDocumentFilename ()); - } - - public static FilePath OpenTestSolution (string solution) - { - FilePath path = Util.GetSampleProject (solution); - - RunAndWaitForTimer ( - () => Session.GlobalInvoke ("MonoDevelop.Ide.IdeApp.Workspace.OpenWorkspaceItem", (string)path), - "MonoDevelop.Ide.Counters.OpenWorkspaceItemTimer" - ); - - return path; + Session.GlobalInvoke ("MonoDevelop.Ide.IdeApp.Workbench.OpenDocument", (string) file, true); + Assert.AreEqual (file, GetActiveDocumentFilename ()); } public static void CloseAll () |