Exemplo n.º 1
0
        public WebApplicationProxyFixture(PrecompilerFixture fixture, ITestOutputHelper helper)
        {
            _Fixture = fixture;

            _testHelper = helper;
            _testHelper.WriteLine("Target folder: " + WebApplicationProxy.WebRootFolder);
        }
        public AutoEventFixture(PrecompilerFixture 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);
        }
Exemplo n.º 3
0
 public Postback_Auto_Fixture(ITestOutputHelper output, PrecompilerFixture precompiler)
 {
     this.output = output;
 }
 public RunToEventFixture(PrecompilerFixture precompiler)
 {
 }