Ejemplo n.º 1
0
		public static void StartSession (string monoDevelopBinPath = null, string profilePath = null)
		{
			Session = new AutoTestClientSession ();

			Session.StartApplication (file: monoDevelopBinPath, environment: new Dictionary<string,string> {
				{ "MONODEVELOP_TEST_PROFILE", profilePath ?? Util.CreateTmpDir ("profile") }
			});

			Session.SetGlobalValue ("MonoDevelop.Core.Instrumentation.InstrumentationService.Enabled", true);
			Session.GlobalInvoke ("MonoDevelop.Ide.IdeApp.Workbench.GrabDesktopFocus");
		}
Ejemplo n.º 2
0
        public static void StartSession()
        {
            Console.WriteLine ("Starting application");

            Session = new AutoTestClientSession ();

            //TODO: support for testing the installed app

            Session.StartApplication (environment: new Dictionary<string,string> {
                { "MONODEVELOP_TEST_PROFILE", Util.CreateTmpDir ("profile") }
            });

            Session.SetGlobalValue ("MonoDevelop.Core.Instrumentation.InstrumentationService.Enabled", true);
            Session.GlobalInvoke ("MonoDevelop.Ide.IdeApp.Workbench.GrabDesktopFocus");
        }