예제 #1
0
 public virtual Request sortRequest(Request request)
 {
   if (request is SortingRequest)
     return request;
   List leaves = this.findLeaves(request);
   Collections.sort(leaves, this.fHistory.testComparator());
   return this.constructLeafRequest(leaves);
 }
예제 #2
0
 public virtual Result run(Request request, JUnitCore core)
 {
   core.addListener(this.fHistory.listener());
   return core.run(this.sortRequest(request).getRunner());
 }
예제 #3
0
 public virtual Result run(Request request)
 {
   return this.run(request, new JUnitCore());
 }
예제 #4
0
 public virtual List sortedLeavesForTest(Request request)
 {
   return this.findLeaves(this.sortRequest(request));
 }
예제 #5
0
 public virtual Result run(Request request)
 {
   return this.run(request.getRunner());
 }
예제 #6
0
 public FilterRequest(Request classRequest, org.junit.runner.manipulation.Filter filter)
 {
   FilterRequest filterRequest = this;
   this.fRequest = classRequest;
   this.fFilter = filter;
 }
예제 #7
0
 public SortingRequest(Request request, Comparator comparator)
 {
   SortingRequest sortingRequest = this;
   this.fRequest = request;
   this.fComparator = comparator;
 }