12 instantiations of TestHtmlContent
Microsoft.AspNetCore.Html.Abstractions.Tests (12)
HtmlContentBuilderTest.cs (12)
67
content.AppendHtml(new
TestHtmlContent
("Hello"));
84
content.AppendHtml(new
TestHtmlContent
("hello"));
100
content.AppendHtml(new
TestHtmlContent
("hello"));
116
source.AppendHtml(new
TestHtmlContent
("hello"));
131
entry => Assert.Equal(new
TestHtmlContent
("hello"), Assert.IsType<TestHtmlContent>(entry)),
143
nested.AppendHtml(new
TestHtmlContent
("hello"));
159
entry => Assert.Equal(new
TestHtmlContent
("hello"), Assert.IsType<TestHtmlContent>(entry)),
168
source.AppendHtml(new
TestHtmlContent
("hello"));
183
entry => Assert.Equal(new
TestHtmlContent
("hello"), Assert.IsType<TestHtmlContent>(entry)),
195
nested.AppendHtml(new
TestHtmlContent
("hello"));
211
entry => Assert.Equal(new
TestHtmlContent
("hello"), Assert.IsType<TestHtmlContent>(entry)),
221
content.AppendHtml(new
TestHtmlContent
("Hello"));
10 references to TestHtmlContent
Microsoft.AspNetCore.Html.Abstractions.Tests (10)
HtmlContentBuilderTest.cs (10)
72
var
testHtmlContent = Assert.IsType<
TestHtmlContent
>(result);
131
entry => Assert.Equal(new TestHtmlContent("hello"), Assert.IsType<
TestHtmlContent
>(entry)),
159
entry => Assert.Equal(new TestHtmlContent("hello"), Assert.IsType<
TestHtmlContent
>(entry)),
183
entry => Assert.Equal(new TestHtmlContent("hello"), Assert.IsType<
TestHtmlContent
>(entry)),
211
entry => Assert.Equal(new TestHtmlContent("hello"), Assert.IsType<
TestHtmlContent
>(entry)),
232
private class TestHtmlContent : IHtmlContent, IEquatable<
TestHtmlContent
>
258
var
other = obj as
TestHtmlContent
;
267
public bool Equals(
TestHtmlContent
? other)