Пример #1
0
    public static Request classes(Computer computer, params Class[] classes)
    {
      Request request;
      try
      {
        AllDefaultPossibilitiesBuilder possibilitiesBuilder = new AllDefaultPossibilitiesBuilder(true);
        request = Request.runner(computer.getSuite((RunnerBuilder) possibilitiesBuilder, classes));
      }
      catch (InitializationError ex)
      {
        goto label_3;
      }
      return request;
label_3:
      string str = "Bug in saff's brain: Suite constructor, called as above, should always complete";
      Throwable.__\u003CsuppressFillInStackTrace\u003E();
      throw new RuntimeException(str);
    }
Пример #2
0
 public static Result runClasses(Computer computer, params Class[] classes)
 {
   return new JUnitCore().run(computer, classes);
 }
Пример #3
0
 public virtual Result run(Computer computer, params Class[] classes)
 {
   return this.run(Request.classes(computer, classes));
 }