Пример #1
0
        protected TestHttpContext()
            : base()
        {
            //  When overridden in a derived class, gets an array of errors (if any) that
            //     accumulated when an HTTP request was being processed.

            TestRequest  = null;
            TestResponse = null;
            TestServer   = new TestHttpServer();
            TestSession  = null;
            trace        = new TraceContext(HttpContext.Current);
        }
Пример #2
0
        protected TestHttpContext()
            : base()
        {
            //  When overridden in a derived class, gets an array of errors (if any) that
            //     accumulated when an HTTP request was being processed.

            TestRequest = null;
            TestResponse = null;
            TestServer = new TestHttpServer();
            TestSession = null;
            trace = new TraceContext(HttpContext.Current);
        }