File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
src/test/java/org/junit/tests/experimental/rules Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -391,8 +391,6 @@ public void methodRuleIsIntroducedAndEvaluatedOnSubclass() {
391
391
assertTrue (wasRun );
392
392
}
393
393
394
- // private static int runCount;
395
-
396
394
public static class MethodMultipleRuleTest {
397
395
private static class Increment implements TestRule {
398
396
public Statement apply (final Statement base , Description description ) {
@@ -676,8 +674,6 @@ public void evaluate() throws Throwable {
676
674
}
677
675
}
678
676
679
- ;
680
-
681
677
public static class UsesFieldAndMethodRule {
682
678
@ Rule
683
679
public OrderTestRule orderMethod () {
@@ -700,15 +696,6 @@ public void usesFieldAndMethodRule() {
700
696
assertThat (testResult (UsesFieldAndMethodRule .class ), isSuccessful ());
701
697
}
702
698
703
- public static class MultipleCallsTest implements TestRule {
704
- public int applications = 0 ;
705
-
706
- public Statement apply (Statement base , Description description ) {
707
- applications ++;
708
- return base ;
709
- }
710
- }
711
-
712
699
public static class CallMethodOnlyOnceRule {
713
700
int countOfMethodCalls = 0 ;
714
701
You can’t perform that action at this time.
0 commit comments