コード例 #1
0
    public void FooTest()
    {
        var parent = new ParentTest <string, Test <int>, int>("tester");
        var child  = new Test <int>(1234);

        parent.Child = child;
    }
コード例 #2
0
ファイル: ExtentReporter.cs プロジェクト: mstru/Testing
 public void AddMetaData(IEnumerable <object> categories, string author)
 {
     try
     {
         if (categories.Count() > 0 && !string.IsNullOrEmpty(author))
         {
             ParentTest.AssignCategory(categories.Cast <string>().ToArray());
             ParentTest.AssignAuthor(author);
         }
     }
     catch (Exception ex)
     {
         Debug.WriteLine(ex);
     }
 }