TestRunner.AppDelegate.FinishedLaunching C# (CSharp) Method

FinishedLaunching() public method

public FinishedLaunching ( UIApplication app, NSDictionary options ) : bool
app UIApplication
options NSDictionary
return bool
        public override bool FinishedLaunching(UIApplication app, NSDictionary options) {
            // create a new window instance based on the screen size
            window = new UIWindow(UIScreen.MainScreen.Bounds);
            runner = new TouchRunner(window);

            // register every tests included in the main application/assembly
            //runner.Add(System.Reflection.Assembly.GetExecutingAssembly());

            runner.Add(typeof(CoreTest).Assembly);
            runner.Add(typeof(EncryptorDecryptorTest).Assembly);  


            window.RootViewController = new UINavigationController(runner.GetViewController());

            // make the window visible
            window.MakeKeyAndVisible();

            return true;
        }
    }