예제 #1
0
 public nTestResultSet(Type target)
 {
     Target = target;
       var methods = Target.GetMethods ();
       foreach (var m in methods) {
     var testAttribs = from a in m.GetCustomAttributes(typeof(nTest), false) select a;
     if (testAttribs.Any()) {
       var r = new nTestResult(m);
       Results.Add(r);
     }
       }
 }
예제 #2
0
 public nTestLogWriter(nTestResult results)
 {
     _results = results;
 }