Changeset 18551 in josm for trunk/test
- Timestamp:
- 2022-09-08T01:44:00+02:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/testutils/JOSMTestRules.java
r17693 r18551 27 27 import java.util.logging.Level; 28 28 29 import mockit.internal.state.SavePoint; 29 30 import org.awaitility.Awaitility; 30 31 import org.junit.jupiter.api.extension.AfterAllCallback; … … 729 730 @Override 730 731 public void evaluate() throws Throwable { 732 // Needed since JMockit doesn't clean up JUnit4 vintage tests. We really shouldn't have to touch JMockit internal classes. :( 733 SavePoint savePoint = new SavePoint(); 731 734 before(); 732 735 try { … … 735 738 if (!junit5) { 736 739 after(); 740 savePoint.rollback(); 737 741 } 738 742 }
Note:
See TracChangeset
for help on using the changeset viewer.