Exemple #1
0
        public void OnTestFixtureSetUp()
        {
            _appHost = new OperationTestsAppHost();
            _appHost.Init();

            _operationControl = new OperationControl
            {
                HttpRequest = new MockHttpRequest {PathInfo = "", RawUrl = "http://localhost:4444/metadata"},
                MetadataConfig = ServiceEndpointsMetadataConfig.Create(""),
                Format = Format.Json,
                HostName = "localhost",
                RequestMessage = "(string)",
                ResponseMessage = "(HttpWebResponse)",
                Title = "Metadata page",
                OperationName = "operationname",
                MetadataHtml = "<p>Operation</p>"
            };
        }
Exemple #2
0
        public void OnTestFixtureSetUp()
        {
            _appHost = new OperationTestsAppHost();
            _appHost.Init();

            _operationControl = new OperationControl
            {
                HttpRequest = new MockHttpRequest {
                    PathInfo = "", RawUrl = "http://localhost:4444/metadata"
                },
                MetadataConfig  = ServiceEndpointsMetadataConfig.Create(""),
                Format          = Format.Json,
                HostName        = "localhost",
                RequestMessage  = "(string)",
                ResponseMessage = "(HttpWebResponse)",
                Title           = "Metadata page",
                OperationName   = "operationname",
                MetadataHtml    = "<p>Operation</p>"
            };
        }