This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-imaging.git
commit eb7e44d7762cda773af7db9dba4ac1ffc617505d Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sat May 20 12:17:29 2023 -0400 Format tweak --- .../apache/commons/imaging/common/bytesource/ByteSourceDataTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/java/org/apache/commons/imaging/common/bytesource/ByteSourceDataTest.java b/src/test/java/org/apache/commons/imaging/common/bytesource/ByteSourceDataTest.java index 2ccd5d1c..394a40be 100644 --- a/src/test/java/org/apache/commons/imaging/common/bytesource/ByteSourceDataTest.java +++ b/src/test/java/org/apache/commons/imaging/common/bytesource/ByteSourceDataTest.java @@ -87,11 +87,13 @@ public class ByteSourceDataTest extends ByteSourceTest { public void testByteSourceInputStreamFileFactory(final byte[] testByteArray) throws Exception { writeAndReadBytes(new ByteSourceInputStreamFileFactory(), testByteArray); } + @ParameterizedTest @MethodSource("data") public void testByteSourceInputStreamRawFactory(final byte[] testByteArray) throws Exception { writeAndReadBytes(new ByteSourceInputStreamRawFactory(), testByteArray); } + protected void writeAndReadBytes(final ByteSourceFactory byteSourceFactory, final byte[] src) throws IOException { final ByteSource byteSource = byteSourceFactory.getByteSource(src);