diff options
author | Manish Sinha <manish.sinha@xamarin.com> | 2015-07-24 18:09:15 +0300 |
---|---|---|
committer | Manish Sinha <manish.sinha@xamarin.com> | 2015-07-24 23:07:52 +0300 |
commit | 0e8c6072df5f15b20b3c36911a0a214dd4334175 (patch) | |
tree | 12f8f7b4b684d41b89742bb5238efbf9c98e1d7d /main/tests/UserInterfaceTests/Controllers | |
parent | 7115b8963ac774beda184032fe41841cc6d7563f (diff) |
[UITests] When the NuGet package is updated, the Local Copy flag should be preserved
Also some fixes to StashManage
Diffstat (limited to 'main/tests/UserInterfaceTests/Controllers')
-rw-r--r-- | main/tests/UserInterfaceTests/Controllers/NuGetController.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/main/tests/UserInterfaceTests/Controllers/NuGetController.cs b/main/tests/UserInterfaceTests/Controllers/NuGetController.cs index 58ba85c698..1a938a3cff 100644 --- a/main/tests/UserInterfaceTests/Controllers/NuGetController.cs +++ b/main/tests/UserInterfaceTests/Controllers/NuGetController.cs @@ -66,6 +66,14 @@ namespace UserInterfaceTests AddUpdatePackage (packageOptions, takeScreenshot, true); } + public static void UpdateAllNuGetPackages (Action<string> takeScreenshot = null) + { + Session.ExecuteCommand ("MonoDevelop.PackageManagement.Commands.UpdateAllPackagesInSolution"); + Ide.WaitForStatusMessage (new [] { "Updating packages in solution..." }); + Ide.WaitForPackageUpdate (); + takeScreenshot ("All-NuGet-Packages-Updated"); + } + static void AddUpdatePackage (NuGetPackageOptions packageOptions, Action<string> takeScreenshot, bool isUpdate) { var nuget = new NuGetController (takeScreenshot, isUpdate); |