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 2024/08/15 12:52:33 UTC
(commons-compress) branch master updated: Rename test parameter
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
The following commit(s) were added to refs/heads/master by this push:
new b6be91e15 Rename test parameter
b6be91e15 is described below
commit b6be91e15223dc2ff3eeaa8a8495dafa9381d5bc
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Aug 15 08:52:28 2024 -0400
Rename test parameter
---
.../apache/commons/compress/compressors/bzip2/Compress686Test.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test/java/org/apache/commons/compress/compressors/bzip2/Compress686Test.java b/src/test/java/org/apache/commons/compress/compressors/bzip2/Compress686Test.java
index 22129413c..fcf50c4c6 100644
--- a/src/test/java/org/apache/commons/compress/compressors/bzip2/Compress686Test.java
+++ b/src/test/java/org/apache/commons/compress/compressors/bzip2/Compress686Test.java
@@ -70,13 +70,13 @@ public class Compress686Test {
// TODO
// @ValueSource(booleans = { true, false })
@ValueSource(booleans = { false })
- public void testRoundtrip(final boolean bufferOutput) throws Exception {
+ public void testRoundtrip(final boolean bufferCompressOutput) throws Exception {
final Path file = tempDir.resolve("test.txt");
final String contents = "random contents";
try (Writer w = Files.newBufferedWriter(file, StandardCharsets.UTF_8)) {
IOUtils.write(contents, w);
}
- final Path compressedFile = compressFile(file, bufferOutput);
+ final Path compressedFile = compressFile(file, bufferCompressOutput);
decompressBzip2File(compressedFile);
assertEquals(contents, IOUtils.toString(file.toUri(), StandardCharsets.UTF_8));
}