File tree 1 file changed +3
-3
lines changed
src/test/java/org/junit/internal/runners/statements
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ public void sendUpExceptionThrownByStatement() {
81
81
@ Test
82
82
public void throwExceptionIfTheSecondCallToEvaluateNeedsTooMuchTime ()
83
83
throws Throwable {
84
- DelegateStatement statement = new DelegateStatement ();
84
+ DelegatingStatement statement = new DelegatingStatement ();
85
85
FailOnTimeout failOnTimeout = failAfter50Ms (statement );
86
86
87
87
statement .delegate = new FastStatement ();
@@ -95,7 +95,7 @@ public void throwExceptionIfTheSecondCallToEvaluateNeedsTooMuchTime()
95
95
96
96
@ Test
97
97
public void throwTimeoutExceptionOnSecondCallAlthoughFirstCallThrowsException () {
98
- DelegateStatement statement = new DelegateStatement ();
98
+ DelegatingStatement statement = new DelegatingStatement ();
99
99
FailOnTimeout failOnTimeout = failAfter50Ms (statement );
100
100
101
101
statement .delegate = new Fail (new AssertionError ("first execution failed" ));
@@ -249,7 +249,7 @@ public void run() throws Throwable {
249
249
};
250
250
}
251
251
252
- private static class DelegateStatement extends Statement {
252
+ private static class DelegatingStatement extends Statement {
253
253
Statement delegate ;
254
254
255
255
@ Override
You can’t perform that action at this time.
0 commit comments