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 2025/02/04 15:24:05 UTC
(commons-compress) 01/02: Rename test
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 58941d330fcfdfaca31fd5e059ea4f6982708878
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Feb 4 09:54:13 2025 -0500
Rename test
---
.../zip/{ZstdCompressorTest.java => ZipCompressMethodZstdTest.java} | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/ZstdCompressorTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/ZipCompressMethodZstdTest.java
similarity index 96%
rename from src/test/java/org/apache/commons/compress/archivers/zip/ZstdCompressorTest.java
rename to src/test/java/org/apache/commons/compress/archivers/zip/ZipCompressMethodZstdTest.java
index f5df7b707..28f7ada70 100644
--- a/src/test/java/org/apache/commons/compress/archivers/zip/ZstdCompressorTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/zip/ZipCompressMethodZstdTest.java
@@ -39,7 +39,7 @@
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.EnumSource;
-public class ZstdCompressorTest extends AbstractTest {
+public class ZipCompressMethodZstdTest extends AbstractTest {
private static final int DEFAULT_LEVEL = 3;
@@ -69,7 +69,7 @@ public void testZstdMethod(final ZipMethod zipMethod) throws IOException {
archiveEntry.setMethod(zipMethod.getCode());
archiveEntry.setSize(simpleText.length);
zipOutputStream.putArchiveEntry(archiveEntry);
- ZstdCompressorTest.compress(new ByteArrayInputStream(simpleText), zipOutputStream);
+ ZipCompressMethodZstdTest.compress(new ByteArrayInputStream(simpleText), zipOutputStream);
zipOutputStream.closeArchiveEntry();
}
// Read the Zip File
@@ -115,7 +115,7 @@ public void testZstdMethodInZipFile(final ZipMethod zipMethod) throws IOExceptio
archiveEntry.setMethod(zipMethod.getCode());
archiveEntry.setSize(simpleText.length);
zipOutputStream.putArchiveEntry(archiveEntry);
- ZstdCompressorTest.compress(new ByteArrayInputStream(simpleText), zipOutputStream);
+ ZipCompressMethodZstdTest.compress(new ByteArrayInputStream(simpleText), zipOutputStream);
zipOutputStream.closeArchiveEntry();
}
// Read the Zip File