Beispiel #1
0
        protected void Application_Start(object sender, EventArgs e)
        {
            using (MooDB db = new MooDB())
            {
                if (!db.DatabaseExists())
                {
                    DatabaseInstaller.Install(db);
                    MooTestData.AddTestData(db);
                }
            }

            TestDaemon.Instance.TestComplete += (o, record) =>
            {
                WebSockets.WebSocketsAPIHandler.NotifyTestComplete(record);
            };
            Daemon.StartAll();
        }