This is an automated email from the ASF dual-hosted git repository.

garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git


The following commit(s) were added to refs/heads/master by this push:
     new 38a9220cf Add missing @Test annotations
38a9220cf is described below

commit 38a9220cfd7e11011fbb0b64feedb0d451d6978f
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Oct 30 08:32:45 2026 -0400

    Add missing @Test annotations
---
 src/test/java/org/apache/commons/io/build/WriterStreamOriginTest.java    | 1 +
 .../commons/io/channels/ByteArraySeekableByteChannelCompressTest.java    | 1 +
 2 files changed, 2 insertions(+)

diff --git 
a/src/test/java/org/apache/commons/io/build/WriterStreamOriginTest.java 
b/src/test/java/org/apache/commons/io/build/WriterStreamOriginTest.java
index 9d1f2339b..af48a574a 100644
--- a/src/test/java/org/apache/commons/io/build/WriterStreamOriginTest.java
+++ b/src/test/java/org/apache/commons/io/build/WriterStreamOriginTest.java
@@ -120,6 +120,7 @@ void testGetRandomAccessFile(final OpenOption openOption) {
     }
 
     @Override
+    @Test
     void testGetReadableByteChannel() throws IOException {
         // Cannot convert a Writer to a ReadableByteChannel.
         assertThrows(UnsupportedOperationException.class, 
super::testGetReadableByteChannel);
diff --git 
a/src/test/java/org/apache/commons/io/channels/ByteArraySeekableByteChannelCompressTest.java
 
b/src/test/java/org/apache/commons/io/channels/ByteArraySeekableByteChannelCompressTest.java
index 26281d4e0..e91a37f89 100644
--- 
a/src/test/java/org/apache/commons/io/channels/ByteArraySeekableByteChannelCompressTest.java
+++ 
b/src/test/java/org/apache/commons/io/channels/ByteArraySeekableByteChannelCompressTest.java
@@ -388,6 +388,7 @@ public void 
throwsClosedChannelExceptionWhenTruncateIsCalledOnClosedChannel() th
      * bytes at such a position will cause the entity to grow to accommodate 
the new bytes; the values of any bytes between the previous end-of-file and the
      * newly-written bytes are unspecified.</q>
      */
+    @Test
     public void writingToAPositionAfterEndGrowsChannel() throws Exception {
         try (SeekableByteChannel c = new ByteArraySeekableByteChannel()) {
             c.position(2);

Reply via email to