Skip to content

Commit c563b30

Browse files
Migrate tests to JUnit5 (#142)
* Migrate annotations and imports * Migrate assertions * Remove public visibility for test classes and methods * Minor code cleanup
1 parent 407f92a commit c563b30

15 files changed

+350
-396
lines changed

src/test/java/hudson/plugins/build_timeout/BuildStepWithTimeoutTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
@WithJenkins
2121
class BuildStepWithTimeoutTest {
2222

23-
private final static long TINY_DELAY = 100L;
24-
private final static long HUGE_DELAY = 5000L;
23+
private static final long TINY_DELAY = 100L;
24+
private static final long HUGE_DELAY = 5000L;
2525

2626
@BeforeEach
27-
public void before() {
27+
void before() {
2828
// this allows timeout shorter than 3 minutes.
2929
BuildTimeoutWrapper.MINIMUM_TIMEOUT_MILLISECONDS = 100;
3030
}

0 commit comments

Comments
 (0)