Skip to content

Commit 1f80529

Browse files
committed
Replace JUnit @DisplayName to make Maven output meaningful
1 parent a053988 commit 1f80529

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/test/java/org/apache/commons/io/input/QueueInputStreamTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
import org.apache.commons.io.output.QueueOutputStream;
5151
import org.apache.commons.io.output.QueueOutputStreamTest;
5252
import org.apache.commons.lang3.StringUtils;
53-
import org.junit.jupiter.api.DisplayName;
5453
import org.junit.jupiter.api.DynamicTest;
5554
import org.junit.jupiter.api.Test;
5655
import org.junit.jupiter.api.TestFactory;
@@ -312,7 +311,7 @@ void testResetArguments() throws IOException {
312311
}
313312

314313
@Test
315-
@DisplayName("If read is interrupted while waiting, then exception is thrown")
314+
/** If read is interrupted while waiting, then exception is thrown */
316315
void testTimeoutInterrupted() throws Exception {
317316
try (QueueInputStream inputStream = QueueInputStream.builder().setTimeout(Duration.ofMinutes(2)).get();
318317
QueueOutputStream outputStream = inputStream.newQueueOutputStream()) {
@@ -338,7 +337,7 @@ void testTimeoutInterrupted() throws Exception {
338337
}
339338

340339
@Test
341-
@DisplayName("If data is not available in queue, then read will wait until wait time elapses")
340+
/** If data is not available in queue, then read will wait until wait time elapses */
342341
void testTimeoutUnavailableData() throws IOException {
343342
try (QueueInputStream inputStream = QueueInputStream.builder().setTimeout(Duration.ofMillis(500)).get();
344343
QueueOutputStream outputStream = inputStream.newQueueOutputStream()) {

0 commit comments

Comments
 (0)