예제 #1
0
        public void Should_render_div_wrapper()
        {
            IHtmlNode tag = builder.TreeViewTag();

            Assert.Equal("div", tag.TagName);
            Assert.Equal(treeView.Id, tag.Attribute("id"));
            Assert.Equal("t-widget t-treeview t-reset", tag.Attribute("class"));
        }
예제 #2
0
        public void TreeViewStart_should_output_start_tag()
        {
            IHtmlNode tag = renderer.TreeViewTag();

            Assert.Equal("div", tag.TagName);
        }