You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/11/14 14:12:30 UTC

(commons-compress) 03/03: Move new test fixture

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-compress.git

commit 7c346840e9982293055c9e3ee0f000faee27152f
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Nov 14 09:12:20 2023 -0500

    Move new test fixture
---
 .../compress/archivers/arj/ArjArchiveInputStreamTest.java   |   2 +-
 .../apache/commons/compress}/arj/zero_sized_headers.arj     | Bin
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/compress/archivers/arj/ArjArchiveInputStreamTest.java b/src/test/java/org/apache/commons/compress/archivers/arj/ArjArchiveInputStreamTest.java
index a3747b910..4229a8665 100644
--- a/src/test/java/org/apache/commons/compress/archivers/arj/ArjArchiveInputStreamTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/arj/ArjArchiveInputStreamTest.java
@@ -62,7 +62,7 @@ public class ArjArchiveInputStreamTest extends AbstractTest {
 
     @Test
     public void testFirstHeaderSizeSetToZero() throws Exception {
-        try (InputStream in = newInputStream("arj/zero_sized_headers.arj")) {
+        try (InputStream in = newInputStream("org/apache/commons/compress/arj/zero_sized_headers.arj")) {
             final ArchiveException ex = assertThrows(ArchiveException.class, () -> {
                 try (ArjArchiveInputStream archive = new ArjArchiveInputStream(in)) {
                     // empty
diff --git a/src/test/resources/arj/zero_sized_headers.arj b/src/test/resources/org/apache/commons/compress/arj/zero_sized_headers.arj
similarity index 100%
rename from src/test/resources/arj/zero_sized_headers.arj
rename to src/test/resources/org/apache/commons/compress/arj/zero_sized_headers.arj