public WebApplicationProxyFixture(PrecompiledWebConfiguration fixture, ITestOutputHelper helper)
        {
            _Fixture = fixture;

            _testHelper = helper;
            _testHelper.WriteLine("Target folder: " + WebApplicationProxy.WebRootFolder);
        }
        public AutoEventFixture(PrecompiledWebConfiguration precompiler)
        {
            this.Precompiler = precompiler;

            _Mockery = new MockRepository(MockBehavior.Loose);

            context = _Mockery.Create <HttpContextBase>();

            response = _Mockery.Create <HttpResponseBase>();
            context.SetupGet(c => c.Response).Returns(response.Object);
            context.SetupGet(c => c.IsDebuggingEnabled).Returns(true);

            request = _Mockery.Create <HttpRequestBase>();
            context.SetupGet(c => c.Request).Returns(request.Object);
        }
Beispiel #3
0
 public Postback_Simple_Fixture(ITestOutputHelper output, PrecompiledWebConfiguration precompiler)
 {
     this.output = output;
 }
 public RunToEventFixture(PrecompiledWebConfiguration precompiler)
 {
 }