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

Main.cs « MacTestRunner « Testing - github.com/mono/xwt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8292df2050ce8e111f039f987382169eec18b6de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using System;
using Xwt;
using System.IO;
using System.Collections.Generic;
using System.Linq;

namespace MacTest
{
	class MainClass
	{
		static void Main (string [] args)
		{
			Xwt.Application.Initialize (Xwt.ToolkitType.Cocoa);
			ReferenceImageManager.Init ("MacTestRunner");

			var list = new List<string> (args);
			list.Add ("-domain=None");
			list.Add ("-noshadow");
			list.Add ("-nothread");
			//			if (!list.Contains (typeof (MainClass).Assembly.Location))
			//	list.Add (typeof (MainClass).Assembly.Location);
			NUnit.ConsoleRunner.Runner.Main (list.ToArray ());
			ReferenceImageManager.ShowImageVerifier ();
		}
	}
}