public HttpRequestFactory(NameValueCollection requestParameters)
        {
            var urlBuilder = new UrlBuilder(new UnixClock());

            DataProvider = new HttpDataProvider(urlBuilder);

            RequestParameters = requestParameters;
        }
        public override void InitializeTest()
        {
            base.InitializeTest();
            var urlBuilder = new UrlBuilder(new UnixClock());
            DataProvider = new HttpDataProvider(urlBuilder);

            //WebRequest.RegisterPrefix("test", new TestWebRequestCreate());
            //TestWebRequestCreate.CreateTestRequest("lol?");
        }
 public override void InitializeTest()
 {
     base.InitializeTest();
     Clock = new UnixClockStub();
     UrlBuilder = new UrlBuilder(Clock);
 }
예제 #4
0
 public HttpDataProvider(UrlBuilder urlBuilder)
     : base()
 {
     log.Debug("Initialize new HttpDataProvider.");
     UrlBuilder = urlBuilder;
 }
 public HttpDataProvider(UrlBuilder urlBuilder) 
     : base()
 {
     log.Debug("Initialize new HttpDataProvider.");
     UrlBuilder = urlBuilder;
 }