コード例 #1
0
        public WebApplicationProxyFixture(PrecompiledWebConfiguration fixture, ITestOutputHelper helper)
        {
            _Fixture = fixture;

            _testHelper = helper;
            _testHelper.WriteLine("Target folder: " + WebApplicationProxy.WebRootFolder);
        }
コード例 #2
0
        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);
        }
コード例 #3
0
 public Postback_Simple_Fixture(ITestOutputHelper output, PrecompiledWebConfiguration precompiler)
 {
     this.output = output;
 }
コード例 #4
0
 public RunToEventFixture(PrecompiledWebConfiguration precompiler)
 {
 }