16 references to GetStringContent
Microsoft.AspNetCore.Components.Endpoints.Tests (16)
RazorComponentResultTest.cs (16)
64
Assert.Equal("<h1>Hello from SimpleComponent</h1>",
GetStringContent
(responseBody));
86
Assert.Equal("<h1>Hello from SimpleComponent</h1>",
GetStringContent
(responseBody));
107
MaskComponentIds(
GetStringContent
(responseBody)));
119
MaskComponentIds(
GetStringContent
(responseBody)));
138
MaskComponentIds(
GetStringContent
(responseBody)));
146
MaskComponentIds(
GetStringContent
(responseBody)));
170
MaskComponentIds(
GetStringContent
(responseBody)));
178
MaskComponentIds(
GetStringContent
(responseBody)));
205
MaskComponentIds(
GetStringContent
(responseBody)));
220
Assert.Equal($"[TestParentLayout with content: [TestLayout with content: Page\n]\n]\n",
GetStringContent
(responseBody));
270
var markup = MaskComponentIds(
GetStringContent
(responseBody));
331
MaskComponentIds(
GetStringContent
(responseBody)));
352
var html = MaskComponentIds(
GetStringContent
(testContext.ResponseBody));
361
html =
GetStringContent
(testContext.ResponseBody);
385
var html = MaskComponentIds(
GetStringContent
(testContext.ResponseBody));
396
html =
GetStringContent
(testContext.ResponseBody);