Project

General

Profile

Bug #1971

Updated by Henning Blohm about 7 years ago

in Testexecutor, the test description based filtering  
 <pre> 
 <code> 
 {code} 
				 // filter by description 
 
				 r = r.filterWith(new Filter() { 
   
					 @Override 
   
					 public boolean shouldRun(Description d) { 
	 
						 return description.equals(d) || children.containsKey(d); 
   
					 } 
   
					
					 @Override 
   
					 public String describe() { 
     
						 return description.toString(); 
   
					 } 
 
				 }); 
 </code> 
 </pre> 

 {code} 
 is removing all test methods.

Back