Exemplo n.º 1
0
        /// <summary>
        /// 获取结果
        /// </summary>
        private string GetResult(TabNav component)
        {
            component.Begin();
            var result = component.ToString();

            _output.WriteLine(result);
            return(result);
        }
Exemplo n.º 2
0
 /// <summary>
 /// 初始化导航选项卡包装器
 /// </summary>
 /// <param name="tabs">导航选项卡</param>
 public TabNavWrapper(TabNav tabs)
 {
     _container = tabs;
 }
Exemplo n.º 3
0
 /// <summary>
 /// 测试初始化
 /// </summary>
 public TabNavTest(ITestOutputHelper output)
 {
     _output    = output;
     _component = new TabNav(new StringWriter());
 }