Esempio n. 1
0
        public void OnTestFixtureTearDown()
        {
            appHost.Dispose();
            appHost = null;

            //Clear the logs so other tests dont inherit log entries
            TestLogger.GetLogs().Clear();
        }
		public void OnTestFixtureStartUp() 
		{
			appHost = new SimpleAppHostHttpListener();
			appHost.Init();
			appHost.Start(ListeningOn);

			System.Console.WriteLine("ExampleAppHost Created at {0}, listening on {1}",
			                         DateTime.Now, ListeningOn);
		}
Esempio n. 3
0
        public void OnTestFixtureStartUp()
        {
            appHost = new SimpleAppHostHttpListener();
            appHost.Init();
            appHost.Start(ListeningOn);

            System.Console.WriteLine("ExampleAppHost Created at {0}, listening on {1}",
                                     DateTime.Now, ListeningOn);
        }
Esempio n. 4
0
        public void TestFixtureStartUp()
        {
            LogManager.LogFactory = new TestLogFactory();
            appHost = new SimpleAppHostHttpListener();
            appHost.Init();
            appHost.Start(ListeningOn);

            System.Console.WriteLine("ExampleAppHost Created at {0}, listening on {1}",
                                     appHost.CreatedAt, ListeningOn);
        }
		public void OnTestFixtureTearDown()
		{
			appHost.Dispose();
			appHost = null;

            //Clear the logs so other tests dont inherit log entries
            TestLogger.GetLogs().Clear();
		}