396397398399400401402
* found, or the base statement */ private Statement withTestRules(FrameworkMethod method, List<TestRule> testRules, Statement statement) { return testRules.isEmpty() ? statement : new RunRules(statement, testRules, describeChild(method)); }
241242243244245246247
* found, or the base statement */ private Statement withClassRules(Statement statement) { List<TestRule> classRules = classRules(); return classRules.isEmpty() ? statement : new RunRules(statement, classRules, getDescription()); }
384385386387388389390
372373374375376377378
*/ private Statement withTestRules(FrameworkMethod method, Object target, Statement statement) { List<TestRule> testRules= getTestRules(target); return testRules.isEmpty() ? statement : new RunRules(statement, testRules, describeChild(method)); }
197198199200201202203
* found, or the base statement */ private Statement withClassRules(Statement statement) { List<TestRule> classRules= classRules(); return classRules.isEmpty() ? statement : new RunRules(statement, classRules, getDescription()); }
146147148149150151152153154155156
return withTestRules( testRules ); } private Statement withTestRules(Collection<TestRule> testRules) { return testRules.isEmpty() ? this : new RunRules( this, testRules, getDescription() ); }
363364365366367368369
390391392393394395396
200201202203204205206