Used to integrate with the ASP.Net Runtime
Inheritance: System.Web.Hosting.SimpleWorkerRequest
Beispiel #1
0
        public TestResponse Process(TestRequest request, TextWriter writer)
        {
            MonoRailTestWorkerRequest workerRequest =
                new MonoRailTestWorkerRequest(request, appVirtualPath, appPhysicalPath, writer);

            workerRequest.Prepare();

            HttpRuntime.ProcessRequest(workerRequest);

            return(workerRequest.Response);
        }
Beispiel #2
0
		public TestResponse Process(TestRequest request, TextWriter writer)
		{
			MonoRailTestWorkerRequest workerRequest = 
				new MonoRailTestWorkerRequest(request, appVirtualPath, appPhysicalPath, writer);

			workerRequest.Prepare();

			HttpRuntime.ProcessRequest(workerRequest);

			return workerRequest.Response;
		}