1 write to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
HtmlGenerationTest.cs (1)
27
Client
= Factory.CreateDefaultClient();
46 references to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (46)
HtmlGenerationTest.cs (46)
91
var response = await
Client
.GetStringAsync("http://localhost/HtmlGeneration_Home/Enum");
109
var response = await
Client
.GetAsync("http://localhost/HtmlGeneration_Home/" + action);
135
var response = await
Client
.GetAsync("HtmlGeneration_Home/image");
305
var response = await
Client
.GetAsync("http://localhost/CheckViewData/" + action);
336
var response = await
Client
.SendAsync(request);
353
var response = await
Client
.SendAsync(request);
389
var response = await
Client
.SendAsync(request);
431
var response1 = await (await
Client
.SendAsync(request)).Content.ReadAsStringAsync();
433
var response2 = await (await
Client
.SendAsync(request)).Content.ReadAsStringAsync();
447
var response3 = await (await
Client
.SendAsync(request)).Content.ReadAsStringAsync();
449
var response4 = await (await
Client
.SendAsync(request)).Content.ReadAsStringAsync();
462
var response5 = await (await
Client
.SendAsync(request)).Content.ReadAsStringAsync();
464
var response6 = await (await
Client
.SendAsync(request)).Content.ReadAsStringAsync();
478
var response1 = await
Client
.GetStringAsync("/catalog/2");
486
var response2 = await
Client
.GetStringAsync("/catalog/3");
497
var response1 = await
Client
.GetStringAsync("/catalog/cart?correlationid=1");
506
var response2 = await (await
Client
.SendAsync(request)).Content.ReadAsStringAsync();
514
var response3 = await
Client
.GetStringAsync("/catalog/cart?correlationid=3");
524
var response1 = await
Client
.GetStringAsync(
532
var response2 = await
Client
.GetStringAsync(
540
var response3 = await
Client
.GetStringAsync(
547
var response4 = await
Client
.GetStringAsync(
555
response1 = await
Client
.GetStringAsync(
557
response2 = await
Client
.GetStringAsync(
559
response3 = await
Client
.GetStringAsync(
561
response4 = await
Client
.GetStringAsync(
575
var response1 = await
Client
.GetStringAsync("/catalog/past-purchases/test1?correlationid=1");
576
var response2 = await
Client
.GetStringAsync("/catalog/past-purchases/test1?correlationid=2");
584
var response3 = await
Client
.GetStringAsync("/catalog/past-purchases/test2?correlationid=3");
585
var response4 = await
Client
.GetStringAsync("/catalog/past-purchases/test2?correlationid=4");
597
var response1 = await
Client
.GetStringAsync("/categories/Books?correlationId=1");
606
var response2 = await
Client
.GetStringAsync("/categories/Electronics?correlationId=2");
619
(await
Client
.SendAsync(requestMessage)).EnsureSuccessStatusCode();
621
var response3 = await
Client
.GetStringAsync("/categories/Electronics?correlationId=3");
634
var response1 = await
Client
.GetStringAsync("/catalog/GetDealPercentage/20?isEnabled=true");
635
var response2 = await
Client
.GetStringAsync("/catalog/GetDealPercentage/40?isEnabled=true");
636
var response3 = await
Client
.GetStringAsync("/catalog/GetDealPercentage/30?isEnabled=false");
656
var response = await
Client
.GetStringAsync("http://localhost/HtmlGeneration_Home/ItemUsingSharedEditorTemplate");
670
var response = await
Client
.GetStringAsync("http://localhost/HtmlGeneration_Home/ItemUsingModelSpecificEditorTemplate");
694
var response = await
Client
.GetStringAsync(url);
709
var document = await
Client
.GetHtmlDocumentAsync(url);
724
var document = await
Client
.GetHtmlDocumentAsync(url);
738
var document = await
Client
.GetHtmlDocumentAsync(url);
752
var document = await
Client
.GetHtmlDocumentAsync(url);
763
var document = await
Client
.GetHtmlDocumentAsync("HtmlGeneration_Home/ValidationProviderAttribute");
793
var response = await
Client
.SendAsync(request);