Exemple #1
0
        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");
            NUnit.ConsoleRunner.Runner.Main(list.ToArray());
            ReferenceImageManager.ShowImageVerifier();
        }
Exemple #2
0
        static void Main(string[] args)
        {
            Xwt.Application.Initialize(Xwt.ToolkitType.Wpf);
            ReferenceImageManager.Init("GtkTestRunner");

            var list = new List <string> (args);

            list.Add("-domain=None");
            list.Add("-noshadow");
            list.Add("-nothread");
            list.Add("-xml=result.xml");
//			list.Add ("-fixture=Xwt.WindowTests");
//			list.Add ("-run=Xwt.WindowTests.DefaultSize");
            list.Add(typeof(Program).Assembly.Location);
            NUnit.ConsoleRunner.Runner.Main(list.ToArray());
            ReferenceImageManager.ShowImageVerifier();
        }
Exemple #3
0
        public static void Main(string[] args)
        {
            Xwt.Application.Initialize(Xwt.ToolkitType.Gtk);
            ReferenceImageManager.Init("GtkTestRunner");

            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();
        }