Пример #1
0
 public void AssemblyCompleted(AssemblyInfo assembly, AssemblyResult result)
 {
     log.Info(result.Summary);
 }
Пример #2
0
 public void AssemblyStarted(AssemblyInfo assembly)
 {
 }
Пример #3
0
 public void AssemblyStarted(AssemblyInfo assembly)
 {
     Message("testSuiteStarted name='{0}'", SuiteName(assembly));
 }
Пример #4
0
 static string SuiteName(AssemblyInfo assembly)
 {
     return Path.GetFileName(assembly.Location);
 }
Пример #5
0
 public void AssemblyCompleted(AssemblyInfo assembly, AssemblyResult result)
 {
 }
Пример #6
0
 public void AssemblyCompleted(AssemblyInfo assembly, AssemblyResult result)
 {
     Message("testSuiteFinished name='{0}'", SuiteName(assembly));
 }
Пример #7
0
 public void AssemblyStarted(AssemblyInfo assembly)
 {
     fileName = Path.GetFileName(assembly.Location);
 }
Пример #8
0
 public void AssemblyStarted(AssemblyInfo assembly)
 {
     Console.WriteLine("------ Testing Assembly {0} ------", Path.GetFileName(assembly.Location));
     Console.WriteLine();
 }
Пример #9
0
 public void AssemblyCompleted(AssemblyInfo assembly, AssemblyResult result)
 {
     Console.WriteLine(result.Summary);
     Console.WriteLine();
 }
Пример #10
0
        AssemblyResult Run(Assembly assembly, IEnumerable<Convention> conventions, params Type[] candidateTypes)
        {
            var assemblyResult = new AssemblyResult(assembly.Location);
            var assemblyInfo = new AssemblyInfo(assembly);

            listener.AssemblyStarted(assemblyInfo);

            foreach (var convention in conventions)
            {
                var conventionResult = Run(convention, candidateTypes);

                assemblyResult.Add(conventionResult);
            }

            listener.AssemblyCompleted(assemblyInfo, assemblyResult);

            return assemblyResult;
        }
Пример #11
0
 public void AssemblyStarted(AssemblyInfo assembly)
 {
    _assembly = assembly;
 }