Launch() public method

public Launch ( string program ) : void
program string
return void
Ejemplo n.º 1
0
		protected override void LaunchSample ()
		{
			string browser = Environment.GetEnvironmentVariable ("MOON_A11Y_BROWSER");
			if (browser == null) {
				browser = "firefox";
				Console.WriteLine ("** MOON_A11Y_BROWSER environment variable not found. Defaulting to {0}.", browser);
			}

			string profile = Environment.GetEnvironmentVariable ("MOON_A11Y_BROWSER_PROFILE");
			if (profile == null) {
				profile = "default";
				Console.WriteLine ("** MOON_A11Y_BROWSER_PROFILE environment variable not found. Defaulting to {0}.", profile);
			}

			//string uri = string.Format ("samples/{0}/{0}.html", Sample);

			application = new Application (Sample);
			application.Launch (browser, "-no-remote", "-P", profile, Uri);
		}
Ejemplo n.º 2
0
		protected override void LaunchSample ()
		{
			SingleInstance ("DockPattern Test");
			app = new Application ("DockPatternProvider");
			app.Launch ("mono", "DockPatternProvider.exe");
		}
Ejemplo n.º 3
0
 protected override void LaunchSample()
 {
     string sample = Path.Combine (System.AppDomain.CurrentDomain.BaseDirectory, "DockPatternProvider.exe");
     Application app = new Application (sample);
     app.Launch ();
 }
Ejemplo n.º 4
0
		protected override void LaunchSample ()
		{
			SingleInstance("WindowPattern and TransformPattern Test");
			app = new Application ("WindowAndTransformPatternProvider");
			app.Launch ("mono", "WindowAndTransformPatternProvider.exe");
		}
Ejemplo n.º 5
0
		protected override void LaunchSample ()
		{
			//SingleInstance ("KeePass Password Safe");
			app = new Application ("KeePass");
			app.Launch ("mono", "KeePass.exe");
		}
Ejemplo n.º 6
0
		protected override void LaunchSample ()
		{
			// Log the filename.
			app = new Application ("GtkFspotTests");
			app.Launch ("f-spot");
		}