File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/java/org/junit/internal/runners/statements Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ public void sendUpExceptionThrownByStatement() {
8181 @ Test
8282 public void throwExceptionIfTheSecondCallToEvaluateNeedsTooMuchTime ()
8383 throws Throwable {
84- DelegateStatement statement = new DelegateStatement ();
84+ DelegatingStatement statement = new DelegatingStatement ();
8585 FailOnTimeout failOnTimeout = failAfter50Ms (statement );
8686
8787 statement .delegate = new FastStatement ();
@@ -95,7 +95,7 @@ public void throwExceptionIfTheSecondCallToEvaluateNeedsTooMuchTime()
9595
9696 @ Test
9797 public void throwTimeoutExceptionOnSecondCallAlthoughFirstCallThrowsException () {
98- DelegateStatement statement = new DelegateStatement ();
98+ DelegatingStatement statement = new DelegatingStatement ();
9999 FailOnTimeout failOnTimeout = failAfter50Ms (statement );
100100
101101 statement .delegate = new Fail (new AssertionError ("first execution failed" ));
@@ -249,7 +249,7 @@ public void run() throws Throwable {
249249 };
250250 }
251251
252- private static class DelegateStatement extends Statement {
252+ private static class DelegatingStatement extends Statement {
253253 Statement delegate ;
254254
255255 @ Override
You can’t perform that action at this time.
0 commit comments