Esempio n. 1
0
 public void AssemblyCompleted(AssemblyInfo assembly, AssemblyResult result)
 {
     log.Info(result.Summary);
 }
Esempio n. 2
0
 public void AssemblyStarted(AssemblyInfo assembly)
 {
 }
Esempio n. 3
0
 public void AssemblyStarted(AssemblyInfo assembly)
 {
     Message("testSuiteStarted name='{0}'", SuiteName(assembly));
 }
Esempio n. 4
0
 static string SuiteName(AssemblyInfo assembly)
 {
     return Path.GetFileName(assembly.Location);
 }
 public void AssemblyCompleted(AssemblyInfo assembly, AssemblyResult result)
 {
 }
Esempio n. 6
0
 public void AssemblyCompleted(AssemblyInfo assembly, AssemblyResult result)
 {
     Message("testSuiteFinished name='{0}'", SuiteName(assembly));
 }
Esempio n. 7
0
 public void AssemblyStarted(AssemblyInfo assembly)
 {
     fileName = Path.GetFileName(assembly.Location);
 }
Esempio n. 8
0
 public void AssemblyStarted(AssemblyInfo assembly)
 {
     Console.WriteLine("------ Testing Assembly {0} ------", Path.GetFileName(assembly.Location));
     Console.WriteLine();
 }
Esempio n. 9
0
 public void AssemblyCompleted(AssemblyInfo assembly, AssemblyResult result)
 {
     Console.WriteLine(result.Summary);
     Console.WriteLine();
 }
Esempio n. 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;
        }
 public void AssemblyStarted(AssemblyInfo assembly)
 {
    _assembly = assembly;
 }