示例#1
0
        public void Process_TestData_ReturnsExpectedHtml(
            TagHelper tagHelper)
        {
            // Act
            var html = tagHelper.GetHtml(OgTitleTagHelper.Tag);

            // Assert
            Assert.Equal(string.Empty, html);
        }
        public void Process_TestData_ReturnsExpectedHtml(
            string expected,
            TagHelper tagHelper)
        {
            // Act
            var html = tagHelper.GetHtml("document-title");

            // Assert
            Assert.Equal(expected, html);
        }
示例#3
0
        public void Process_TestData_ReturnsExpectedHtml(
            string expected,
            TagHelper tagHelper)
        {
            // Act
            var html = tagHelper.GetHtml("meta-robots");

            // Assert
            Assert.Equal(expected, html);
        }
示例#4
0
        public void Process_TestData_ReturnsExpectedHtml(
            string expected,
            TagHelper tagHelper,
            string tagName)
        {
            // Act
            var html = tagHelper.GetHtml(tagName);

            // Assert
            Assert.Equal(expected, html);
        }