Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManish Sinha <manish.sinha@xamarin.com>2015-07-27 20:57:13 +0300
committerManish Sinha <manish.sinha@xamarin.com>2015-07-27 20:57:41 +0300
commit3d31f4e4064fe7c2d3a9ef0158be7fa09a604a1d (patch)
treeaa3c201532ea5057daa7c00fdbe6df8723eaf768 /main/tests/UserInterfaceTests/Workbench.cs
parent6c1907d16025872a4fa6edd52daa4341a1312ddf (diff)
[UITests] Fix TestLocalCopyPreservedUpdate test and add ability to change Configuration
Diffstat (limited to 'main/tests/UserInterfaceTests/Workbench.cs')
-rw-r--r--main/tests/UserInterfaceTests/Workbench.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/tests/UserInterfaceTests/Workbench.cs b/main/tests/UserInterfaceTests/Workbench.cs
index abcd5e91a3..9c2a5195e5 100644
--- a/main/tests/UserInterfaceTests/Workbench.cs
+++ b/main/tests/UserInterfaceTests/Workbench.cs
@@ -92,5 +92,17 @@ namespace UserInterfaceTests
return true;
}
}
+
+ public static string Configuration
+ {
+ get {
+ var configId = Session.GetGlobalValue ("MonoDevelop.Ide.IdeApp.Workspace.ActiveConfigurationId");
+ return configId != null ? (string)configId : null;
+ }
+ set {
+ Session.SetGlobalValue ("MonoDevelop.Ide.IdeApp.Workspace.ActiveConfigurationId", value);
+ Ide.WaitUntil (() => Workbench.Configuration == value);
+ }
+ }
}
}