public bool WasEventAlreadyClosed(TestExecutionMethod message)
 {
     return _completedMessage.Any(a =>
                                  a.NamespaceName == message.NamespaceName
                                  && a.ClassName == message.ClassName
                                  && a.MethodName == message.MethodName);
 }
Example #2
0
 private static TestExecutionMethod PopulateCoreInfo(TestExecutionMethod testExecutionMethod, MethodInfo method)
 {
     testExecutionMethod.NamespaceName = method.ReflectedType.Namespace;
     testExecutionMethod.ClassName = method.ReflectedType.ClassNameIncludingParentsIfNested();
     testExecutionMethod.MethodName = method.Name;
     return testExecutionMethod;
 }