Exemplo n.º 1
0
        /// <summary>
        /// 获取结果
        /// </summary>
        private string GetResult(TabLink component)
        {
            component.WriteTo(new StringWriter(), HtmlEncoder.Default);
            var result = component.ToString();

            _output.WriteLine(result);
            return(result);
        }
Exemplo n.º 2
0
 /// <summary>
 /// 测试初始化
 /// </summary>
 public TabLinkTest(ITestOutputHelper output)
 {
     _output    = output;
     _component = new TabLink();
     Id.SetId("id");
 }