Esempio n. 1
0
		public override bool FinishedLaunching(UIApplication app, NSDictionary options)
		{
			window = new UIWindow(UIScreen.MainScreen.Bounds);

			viewController = new MyViewController();
			window.RootViewController = viewController;

			window.MakeKeyAndVisible();

			var conn = new SqliteConnection(); // we need a reference in order to stop the linker

			var dbPath = Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal), "test.db");
			NuGetTestClass.RunTests(dbPath);

			return true;
		}
Esempio n. 2
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            window = new UIWindow(UIScreen.MainScreen.Bounds);

            viewController            = new MyViewController();
            window.RootViewController = viewController;

            window.MakeKeyAndVisible();

            var conn = new SqliteConnection();             // we need a reference in order to stop the linker

            var dbPath = Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal), "test.db");

            NuGetTestClass.RunTests(dbPath);

            return(true);
        }